VDB

CVE-2025-22122

CVE-2025-22122 PUBLISHED

block: fix adding folio to bio

Reported by linux · Published April 16, 2025

In the Linux kernel, the following vulnerability has been resolved: block: fix adding folio to bio >4GB folio is possible on some ARCHs, such as aarch64, 16GB hugepage is supported, then 'offset' of folio can't be held in 'unsigned int', cause warning in bio_add_folio_nofail() and IO failure. Fix it by adjusting 'page' & trimming 'offset' so that `->bi_offset` won't be overflow, and folio can be added to bio successfully.

EPSS 0.19% · 8.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpf-staticAmazon Linux6.12.35-55.103.amzn2023
kernel-headersAmazon Linux6.12.35-55.103.amzn2023
bpftoolAmazon Linux6.12.35-55.103.amzn2023
kernel-toolsAmazon Linux6.12.35-55.103.amzn2023
python3-perf6.12Amazon Linux6.12.35-55.103.amzn2023
linux_kernellinux6.15, 6.14.2, 6.12.33
LinuxLinuxb96e0af1b1c99cb7e6188b6fa4963a4e47beb01e, 6.12, 26064d3e2b4d9a14df1072980e558c636fb023ea, 0c60158ff14df04c92792dd9b1809372b095040f

Risk scores

EPSS Score
0.19%
8.6th percentile

Affected products

VendorProductVersions
LinuxLinuxed9832bc08db29874600eb066b74918fe6fc2060, ed9832bc08db29874600eb066b74918fe6fc2060, ed9832bc08db29874600eb066b74918fe6fc2060
LinuxLinux6.12, 0, 6.12.33
amazon:2023kernel-libbpf-static0
amazon:2023kernel-headers0
amazon:2023bpftool0
amazon:2023kernel-tools0
linuxlinux_kernel6.12, 6.12, 6.12
amazon:2023python3-perf6.120
LinuxLinux*, *, *
amazon:2023perf6.120
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.12.35-55.1030
amazon:2023kernel-libbpf0
amazon:2023kernel6.120

Timeline

  • Apr 16, 2025 CVE Published
  • Apr 17, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 13, 2025 Coalition ESS Score (15 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (264 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (257 in total, the first dated here)
  • Nov 2, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-22122
vulnetix vdb fixes CVE-2025-22122

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22122/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›