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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 48% of CVEs (2026-11-30)
- Published: 2025-03-27T16:42:54.289Z
- Modified: 2026-10-15T22:17:24.880Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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)

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: before 5.15.93; from 5.16 before 6.1.11

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/012cdef22000f3104e4fa8224ad29fde509b8caf>
- <https://git.kernel.org/stable/c/a77141a06367825d639ac51b04703d551163e36c> (patch)
- <https://git.kernel.org/stable/c/07a96977b2f462337a9121302de64277b8747ab1> (patch)
- <https://git.kernel.org/stable/c/cf8aa9bf97cadf85745506c6a3e244b22c268d63> (patch)

## Sources

- CVE List: [CVE-2022-49743](https://www.cve.org/CVERecord?id=CVE-2022-49743), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2022-49743](https://nvd.nist.gov/vuln/detail/CVE-2022-49743), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2022-49743 · Whole record: https://cve.day/CVE-2022-49743.json · Rebuilt by cve.day 2026-11-25T22:58:20.841Z
