Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2022-49743

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < 012cdef22000f3104e4fa8224ad29fde509b8cafaffected
  • cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < a77141a06367825d639ac51b04703d551163e36caffected
  • cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < 07a96977b2f462337a9121302de64277b8747ab1affected
  • cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < cf8aa9bf97cadf85745506c6a3e244b22c268d63affected

Linux Linux

Default version status: affected

  • 5.5affected
  • 0 to < 5.5unaffected
  • 5.10.248 to ≤ 5.10.*unaffected
  • 5.15.93 to ≤ 5.15.*unaffected
  • 6.1.11 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References