CVE-2025-22122
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-static | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-headers | Amazon Linux | 6.12.35-55.103.amzn2023 |
| bpftool | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-tools | Amazon Linux | 6.12.35-55.103.amzn2023 |
| python3-perf6.12 | Amazon Linux | 6.12.35-55.103.amzn2023 |
| linux_kernel | linux | 6.15, 6.14.2, 6.12.33 |
| Linux | Linux | b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e, 6.12, 26064d3e2b4d9a14df1072980e558c636fb023ea, 0c60158ff14df04c92792dd9b1809372b095040f |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ed9832bc08db29874600eb066b74918fe6fc2060, ed9832bc08db29874600eb066b74918fe6fc2060, ed9832bc08db29874600eb066b74918fe6fc2060 |
| Linux | Linux | 6.12, 0, 6.12.33 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools | 0 |
| linux | linux_kernel | 6.12, 6.12, 6.12 |
| amazon:2023 | python3-perf6.12 | 0 |
| Linux | Linux | *, *, * |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.35-55.103 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel6.12 | 0 |
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