7.5high
ovl: Use "buf" flexible array for memcpy() destination
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.69% (higher than 48% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before 012cdef22000f3104e4fa8224ad29fde509b8caf, from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before a77141a06367825d639ac51b04703d551163e36c, from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before 07a96977b2f462337a9121302de64277b8747ab1, from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 before cf8aa9bf97cadf85745506c6a3e244b22c268d63, 5.5 Not affected: before 5.5, from 5.10.248 up to 5.10.*, from 5.15.93 up to 5.15.*, from 6.1.11 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | before 5.15.93, from 5.16 before 6.1.11 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ovl: Usar la matriz flexible "buf" para el destino de memcpy() La matriz flexible "buf" debe ser el destino de memcpy() para evitar una advertencia de tiempo de ejecución de falsos positivos del reciente endurecimiento de FORTIFY_SOURCE: memcpy: se detectó una escritura que abarca el campo (tamaño 93) de un solo campo "&fh->fb" en fs/overlayfs/export.c:799 (tamaño 21)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49743 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2022-49743 changed 2026-10-15 | Public domain |