Skip to main content
← All vulnerabilities
CVE-2022-49743

ovl: Use "buf" flexible array for memcpy() destination

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.248, 5.15.93, 6.1.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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)

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 · fixed in 012cdef22000f3104e4fa8224ad29fde509b8caf; From cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 · fixed in a77141a06367825d639ac51b04703d551163e36c; From cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 · fixed in 07a96977b2f462337a9121302de64277b8747ab1; From cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 · fixed in cf8aa9bf97cadf85745506c6a3e244b22c268d63

  • Linux Linux

    5.5

  • KernelLinux

    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

References 4

git.kernel.org