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-22036

HIGH 7.8EPSS 8%

exfat: fix random stack corruption after get_block

Mitigation

  • Upgrade Linux to 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca or later.

Who should check

  • Anyone running Linux >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f7447286363dc1e410bf30b87d75168f3519f9cc; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f807a6bf2005740fa26b4f59c4a003dc966b9afd; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca
  • Anyone running Linux 6.8

Vulnerability facts

Affected
Linux >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f7447286363dc1e410bf30b87d75168f3519f9cc; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f807a6bf2005740fa26b4f59c4a003dc966b9afd; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca; Linux 6.8
Fixed in
Linux 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2, Linux 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-362, CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: exfat: fix random stack corruption after get_block When get_block is called with a buffer_head allocated on the stack, such as do_mpage_readpage, stack corruption due to buffer_head UAF may occur in the following race condition situation. <CPU 0> <CPU 1> mpage_read_folio <<bh on stack>> do_mpage_readpage exfat_get_block bh_read __bh_read get_bh(bh) submit_bh wait_on_buffer ... end_buffer_read_sync __end_buffer_read_notouch unlock_buffer <<keep going>> ... ... ... ... <<bh is not valid out of mpage_read_folio>> . . another_function <<variable A on stack>> put_bh(bh) atomic_dec(bh->b_count) * stack corruption here * This patch returns -EAGAIN if a folio does not have buffers when bh_read needs to be called. By doing this, the caller can fallback to functions like block_read_full_folio(), create a buffer_head in the folio, and then call get_block again. Let's do not call bh_read() with on-stack buffer_head.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f7447286363dc1e410bf30b87d75168f3519f9cc; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f807a6bf2005740fa26b4f59c4a003dc966b9afd; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca—cvelist
Linux6.8—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-22036. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22036.md
Affected: Linux >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f7447286363dc1e410bf30b87d75168f3519f9cc; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f807a6bf2005740fa26b4f59c4a003dc966b9afd; >= 11a347fb6cef62ce47e84b9…
Fixed in: Linux 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2, Linux 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca

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-22036 being exploited?

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

How serious is CVE-2025-22036?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-22036?

Linux >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f7447286363dc1e410bf30b87d75168f3519f9cc; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < f807a6bf2005740fa26b4f59c4a003dc966b9afd; >= 11a347fb6cef62ce47e84b97c45f2b2497c7593b, < 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca; Linux 6.8.

Is there a fix for CVE-2025-22036?

Yes. Fixed in Linux 49b0a6ab8e528a0c1c50e37cef9b9c7c121365f2, Linux 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca. Upgrade Linux to 1bb7ff4204b6d4927e982cd256286c09ed4fd8ca or later.

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

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