CVE-2025-22122 Details
Description
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.
A vulnerability in the Linux kernel's handling of folios in the block I/O layer has been addressed. On certain architectures like AArch64, where 16GB hugepages are supported, a folio larger than 4GB can cause the 'offset' to exceed the limits of an unsigned integer. This discrepancy leads to warnings in the 'bio_add_folio_nofail()' function and results in I/O failures. The issue has been resolved by adjusting the 'page' and trimming the 'offset' to prevent overflow, allowing the folio to be added to the bio successfully.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0c60158ff14df04c92792dd9b1809372b095040f | kernel.org | Patch |
| https://git.kernel.org/stable/c/26064d3e2b4d9a14df1072980e558c636fb023ea | kernel.org | Patch |
| https://git.kernel.org/stable/c/b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.12, < 6.12.33 >= 6.13, < 6.14.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | Initial Analysis | [email protected] |
| Jun 10, 2025 | CVE Modified | kernel.org |
| Apr 16, 2025 | New CVE Received | kernel.org |