← CVE Intelligence

CVE-2022-49743

ovl: Use "buf" flexible array for memcpy() destination PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ovl: Use "buf" flexible array for memcpy() destination The "buf" flexible array needs to be the memcpy() destination to avoid false positive run-time warning from the recent FORTIFY_SOURCE hardening: memcpy: detected field-spanning write (size 93) of single field "&fh->fb" at fs/overlayfs/export.c:799 (size 21)

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before 012cdef22000f3104e4fa8224ad29fde509b8caf; affected cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before a77141a06367825d639ac51b04703d551163e36c; affected cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before 07a96977b2f462337a9121302de64277b8747ab1; affected cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before cf8aa9bf97cadf85745506c6a3e244b22c268d63
Linux / Linuxaffected 5.5; unaffected 0 before 5.5; unaffected 5.10.248 through 5.10.*; unaffected 5.15.93 through 5.15.*; unaffected 6.1.11 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.