Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49743

published high CVSS 3.1 · 7.5

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

Published
27 Mar 2025, 16:42:54 UTC
Updated
15 Oct 2026, 21:21:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxcbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < 012cdef22000f3104e4fa8224ad29fde509b8caf · cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < a77141a06367825d639ac51b04703d551163e36c · cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < 07a96977b2f462337a9121302de64277b8747ab1 · cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < cf8aa9bf97cadf85745506c6a3e244b22c268d63 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 5.10.248 through 5.10.* (unaffected · semver) · 5.15.93 through 5.15.* (unaffected · semver) · 6.1.11 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-037 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-132 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.249-1 DLA-4475-1
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.15-2024-037
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.15-2024-037
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.15-2024-037
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.15-2024-037
Amazon Linux AL2023 kernelaarch64 Listed in advisory Not stated ALAS2023-2023-132
Amazon Linux AL2023 kernelsrc Listed in advisory Not stated ALAS2023-2023-132
Amazon Linux AL2023 kernelx86_64 Listed in advisory Not stated ALAS2023-2023-132

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)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - ovl_fid_to_fh() is reached via ovl_fh_to_dentry export_operations when an overlay is mounted with nfs_export=on and exported through nfsd; a remote NFS client triggers decode by sending a crafted OVL_FILEID_V0 (0xfb) filehandle. AC:L - The attacker fully controls the filehandle type and payload and can reliably force the V0 realignment memcpy path; no race or unpredictable victim state is required. PR:N - nfsd invokes exportfs_decode_fh during fh_verify before file permission checks; on common AUTH_SYS exports, any host permitted by the export list can send the crafted handle with no credentials. UI:N - Exploitation requires only sending an NFS request with a crafted filehandle; no victim user action is needed once the overlay is NFS-exported. S:U - Impact remains within the host kernel authority; this is not a VM escape, IOMMU bypass, or other cross-boundary breakout. C:N - The commit documents a FORTIFY_SOURCE false positive: kzalloc(buflen) correctly covers the memcpy of buflen-OVL_FH_WIRE_OFFSET, so there is no out-of-bounds read or information disclosure. I:N - There is no real buffer overflow or memory corruption—only a mis-typed memcpy destination (&fh->fb vs fh->buf)—so no write primitive or integrity impact exists. A:H - CONFIG_FORTIFY_SOURCE emits a kernel WARN_ONCE on the field-spanning write; with panic_on_warn (common on Android/hardened hosts) this becomes a kernel panic, matching DoS/crash severity.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < 012cdef22000f3104e4fa8224ad29fde509b8caf (affected · git)cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < a77141a06367825d639ac51b04703d551163e36c (affected · git)cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < 07a96977b2f462337a9121302de64277b8747ab1 (affected · git)cbe7fba8edfc8cb8e621599e376f8ac5c224fa72 to < cf8aa9bf97cadf85745506c6a3e244b22c268d63 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.5 (affected)0 to < 5.5 (unaffected · semver)5.10.248 through 5.10.* (unaffected · semver)5.15.93 through 5.15.* (unaffected · semver)6.1.11 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

2

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
69c7648229802e1841bfb1f3d3c8ec2acc74297a4a1222b701e3aec1aa3297dc
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected