Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-22122

MEDIUM 5.5EPSS 13%

block: fix adding folio to bio

Mitigation

  • Upgrade Linux to 26064d3e2b4d9a14df1072980e558c636fb023ea or later.

Who should check

  • Anyone running Linux >= ed9832bc08db29874600eb066b74918fe6fc2060, < 0c60158ff14df04c92792dd9b1809372b095040f; >= ed9832bc08db29874600eb066b74918fe6fc2060, < b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e; >= ed9832bc08db29874600eb066b74918fe6fc2060, < 26064d3e2b4d9a14df1072980e558c636fb023ea
  • Anyone running Linux 6.12

Vulnerability facts

Affected
Linux >= ed9832bc08db29874600eb066b74918fe6fc2060, < 0c60158ff14df04c92792dd9b1809372b095040f; >= ed9832bc08db29874600eb066b74918fe6fc2060, < b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e; >= ed9832bc08db29874600eb066b74918fe6fc2060, < 26064d3e2b4d9a14df1072980e558c636fb023ea; Linux 6.12
Fixed in
Linux 0c60158ff14df04c92792dd9b1809372b095040f, Linux 26064d3e2b4d9a14df1072980e558c636fb023ea
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= ed9832bc08db29874600eb066b74918fe6fc2060, < 0c60158ff14df04c92792dd9b1809372b095040f; >= ed9832bc08db29874600eb066b74918fe6fc2060, < b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e; >= ed9832bc08db29874600eb066b74918fe6fc2060, < 26064d3e2b4d9a14df1072980e558c636fb023ea—cvelist
Linux6.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-22122. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22122.md
Affected: Linux >= ed9832bc08db29874600eb066b74918fe6fc2060, < 0c60158ff14df04c92792dd9b1809372b095040f; >= ed9832bc08db29874600eb066b74918fe6fc2060, < b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e; >= ed9832bc08db29874600eb066b74918fe6fc2060, < 26064d3e2b4d9a14df1072980e558c636fb023ea; Linux 6.12
Fixed in: Linux 0c60158ff14df04c92792dd9b1809372b095040f, Linux 26064d3e2b4d9a14df1072980e558c636fb023ea

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-22122 being exploited?

There is no confirmed exploitation: CVE-2025-22122 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-22122?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-22122?

Linux >= ed9832bc08db29874600eb066b74918fe6fc2060, < 0c60158ff14df04c92792dd9b1809372b095040f; >= ed9832bc08db29874600eb066b74918fe6fc2060, < b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e; >= ed9832bc08db29874600eb066b74918fe6fc2060, < 26064d3e2b4d9a14df1072980e558c636fb023ea; Linux 6.12.

Is there a fix for CVE-2025-22122?

Yes. Fixed in Linux 0c60158ff14df04c92792dd9b1809372b095040f, Linux 26064d3e2b4d9a14df1072980e558c636fb023ea. Upgrade Linux to 26064d3e2b4d9a14df1072980e558c636fb023ea or later.

How do I check if I'm affected by CVE-2025-22122?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors