CVE-2025-38256
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38256 is a vulnerability discovered in the Linux kernel's iouring subsystem, specifically related to folio unpinning. The issue was disclosed on July 9, 2025, affecting the Linux kernel's memory management functionality. The vulnerability occurs when iouring attempts to unpin the head page of a folio while a tail page is pinned, triggering debug warnings in the memory management subsystem (NVD, RedHat).

Technical details

The vulnerability manifests as a kernel BUG at mm/gup.c:71, resulting in an internal error (Oops - BUG: 00000000f2000800). The issue has been assigned a CVSS v3.1 base score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating a moderate severity level. The technical root cause involves improper handling of folio unpinning operations in the io_uring subsystem, where the system attempts to unpin the head page of a folio while its tail page remains pinned (RedHat).

Impact

While the vulnerability doesn't pose immediate security risks to confidentiality or integrity, it can lead to system stability issues and potential denial of service conditions. The bug triggers kernel warnings and can cause system crashes, particularly affecting systems that heavily utilize the io_uring subsystem (RedHat).

Mitigation and workarounds

The issue has been resolved by replacing unpinuserpage with unpinuserfolio() in the affected code. Several Linux distributions have released fixes, including Debian which has addressed the vulnerability in various versions: bullseye (5.10.237-1), bookworm (6.1.140-1), and sid (6.12.38-1) (Debian).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management