What’s Vulnerable › Vulnerabilities

CVE-2022-49743: ovl: Use "buf" flexible array for memcpy() destination

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.93, 6.1.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49743 or the next vulnerability affects your stack