CVE-2022-49743

Updated on 27 Mar 2025

Severity

5.5 Medium severity

Details

CVSS score
5.5
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Overview

About vulnerability

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)

Details

Affected packages:
kernel @ 2.6.32 (+16 more)

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)

Fixes