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

MEDIUM 5.5EPSS 11%

io_uring/rsrc: fix folio unpinning

Mitigation

  • Upgrade Linux to 5afb4bf9fc62d828647647ec31745083637132e4 or later.

Who should check

  • Anyone running Linux >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 53fd75f25b223878b5fff14932e3a22f42b54f77; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 11e7b7369e655e6131387b174218d7fa9557b3da; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 5afb4bf9fc62d828647647ec31745083637132e4
  • Anyone running Linux 6.12

Vulnerability facts

Affected
Linux >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 53fd75f25b223878b5fff14932e3a22f42b54f77; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 11e7b7369e655e6131387b174218d7fa9557b3da; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 5afb4bf9fc62d828647647ec31745083637132e4; Linux 6.12
Fixed in
Linux 53fd75f25b223878b5fff14932e3a22f42b54f77, Linux 11e7b7369e655e6131387b174218d7fa9557b3da, Linux 5afb4bf9fc62d828647647ec31745083637132e4
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.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/rsrc: fix folio unpinning syzbot complains about an unmapping failure: [ 108.070381][ T14] kernel BUG at mm/gup.c:71! [ 108.070502][ T14] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP [ 108.123672][ T14] Hardware name: QEMU KVM Virtual Machine, BIOS edk2-20250221-8.fc42 02/21/2025 [ 108.127458][ T14] Workqueue: iou_exit io_ring_exit_work [ 108.174205][ T14] Call trace: [ 108.175649][ T14] sanity_check_pinned_pages+0x7cc/0x7d0 (P) [ 108.178138][ T14] unpin_user_page+0x80/0x10c [ 108.180189][ T14] io_release_ubuf+0x84/0xf8 [ 108.182196][ T14] io_free_rsrc_node+0x250/0x57c [ 108.184345][ T14] io_rsrc_data_free+0x148/0x298 [ 108.186493][ T14] io_sqe_buffers_unregister+0x84/0xa0 [ 108.188991][ T14] io_ring_ctx_free+0x48/0x480 [ 108.191057][ T14] io_ring_exit_work+0x764/0x7d8 [ 108.193207][ T14] process_one_work+0x7e8/0x155c [ 108.195431][ T14] worker_thread+0x958/0xed8 [ 108.197561][ T14] kthread+0x5fc/0x75c [ 108.199362][ T14] ret_from_fork+0x10/0x20 We can pin a tail page of a folio, but then io_uring will try to unpin the head page of the folio. While it should be fine in terms of keeping the page actually alive, mm folks say it's wrong and triggers a debug warning. Use unpin_user_folio() instead of unpin_user_page*. [axboe: adapt to current tree, massage commit message]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 53fd75f25b223878b5fff14932e3a22f42b54f77; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 11e7b7369e655e6131387b174218d7fa9557b3da; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 5afb4bf9fc62d828647647ec31745083637132e4—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-38256. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38256.md
Affected: Linux >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 53fd75f25b223878b5fff14932e3a22f42b54f77; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 11e7b7369e655e6131387b174218d7fa9557b3da; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 5afb4bf9fc62d828647647ec31745083637132e4; Linux 6.12
Fixed in: Linux 53fd75f25b223878b5fff14932e3a22f42b54f77, Linux 11e7b7369e655e6131387b174218d7fa9557b3da, Linux 5afb4bf9fc62d828647647ec31745083637132e4

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

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

How serious is CVE-2025-38256?

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

Which versions are affected by CVE-2025-38256?

Linux >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 53fd75f25b223878b5fff14932e3a22f42b54f77; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 11e7b7369e655e6131387b174218d7fa9557b3da; >= a8edbb424b1391b077407c75d8f5d2ede77aa70d, < 5afb4bf9fc62d828647647ec31745083637132e4; Linux 6.12.

Is there a fix for CVE-2025-38256?

Yes. Fixed in Linux 53fd75f25b223878b5fff14932e3a22f42b54f77, Linux 11e7b7369e655e6131387b174218d7fa9557b3da, Linux 5afb4bf9fc62d828647647ec31745083637132e4. Upgrade Linux to 5afb4bf9fc62d828647647ec31745083637132e4 or later.

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

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