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

High 7.5 Published Updated

A false positive FORTIFY_SOURCE warning in the Linux kernel overlayfs module could cause a runtime crash, requiring a patch to adjust memory handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49743?

CVE-2022-49743 is a high-severity vulnerability in Linux kernel, published on 27 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Which versions are affected by CVE-2022-49743?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49743?

Apply the vendor's patch.

Is CVE-2022-49743 being exploited?

There is no known exploitation of CVE-2022-49743 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49743, GHSA-83h3-pmwm-wj9j, ROOT-OS-DEBIAN-11-CVE-2022-49743, UBUNTU-CVE-2022-49743.

Is CVE-2022-49743 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free