High · published March 27, 2025
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)
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 5.15.93 | 5.15.93 |
| linux/linux_kernel | ≥ 5.16, < 6.1.11 | 6.1.11 |