CVE-2025-38442
block: reject bs > ps block devices when THP is disabled
Mitigation
- Upgrade Linux to 4cdf1bdd45ac78a088773722f009883af30ad318 or later.
Who should check
- Anyone running Linux >= 47dd67532303803a87f43195e088b3b4bcf0454d, < b025d81b96bfe8a62b6e3e6ac776608206ccbf6d; >= 47dd67532303803a87f43195e088b3b4bcf0454d, < 4cdf1bdd45ac78a088773722f009883af30ad318
- Anyone running Linux 6.15
Vulnerability facts
- Affected
- Linux >= 47dd67532303803a87f43195e088b3b4bcf0454d, < b025d81b96bfe8a62b6e3e6ac776608206ccbf6d; >= 47dd67532303803a87f43195e088b3b4bcf0454d, < 4cdf1bdd45ac78a088773722f009883af30ad318; Linux 6.15
- Fixed in
- Linux 4cdf1bdd45ac78a088773722f009883af30ad318
- 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.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: block: reject bs > ps block devices when THP is disabled If THP is disabled and when a block device with logical block size > page size is present, the following null ptr deref panic happens during boot: [ [13.2 mK AOSAN: null-ptr-deref in range [0x0000000000000000-0x0000000000K0 0 0[07] [ 13.017749] RIP: 0010:create_empty_buffers+0x3b/0x380 <snip> [ 13.025448] Call Trace: [ 13.025692] <TASK> [ 13.025895] block_read_full_folio+0x610/0x780 [ 13.026379] ? __pfx_blkdev_get_block+0x10/0x10 [ 13.027008] ? __folio_batch_add_and_move+0x1fa/0x2b0 [ 13.027548] ? __pfx_blkdev_read_folio+0x10/0x10 [ 13.028080] filemap_read_folio+0x9b/0x200 [ 13.028526] ? __pfx_filemap_read_folio+0x10/0x10 [ 13.029030] ? __filemap_get_folio+0x43/0x620 [ 13.029497] do_read_cache_folio+0x155/0x3b0 [ 13.029962] ? __pfx_blkdev_read_folio+0x10/0x10 [ 13.030381] read_part_sector+0xb7/0x2a0 [ 13.030805] read_lba+0x174/0x2c0 <snip> [ 13.045348] nvme_scan_ns+0x684/0x850 [nvme_core] [ 13.045858] ? __pfx_nvme_scan_ns+0x10/0x10 [nvme_core] [ 13.046414] ? _raw_spin_unlock+0x15/0x40 [ 13.046843] ? __switch_to+0x523/0x10a0 [ 13.047253] ? kvm_clock_get_cycles+0x14/0x30 [ 13.047742] ? __pfx_nvme_scan_ns_async+0x10/0x10 [nvme_core] [ 13.048353] async_run_entry_fn+0x96/0x4f0 [ 13.048787] process_one_work+0x667/0x10a0 [ 13.049219] worker_thread+0x63c/0xf60 As large folio support depends on THP, only allow bs > ps block devices if THP is enabled.
Affected and fixed versions
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-38442. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38442.md Affected: Linux >= 47dd67532303803a87f43195e088b3b4bcf0454d, < b025d81b96bfe8a62b6e3e6ac776608206ccbf6d; >= 47dd67532303803a87f43195e088b3b4bcf0454d, < 4cdf1bdd45ac78a088773722f009883af30ad318; Linux 6.15 Fixed in: Linux 4cdf1bdd45ac78a088773722f009883af30ad318 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-38442 being exploited?
There is no confirmed exploitation: CVE-2025-38442 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-38442?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38442?
Linux >= 47dd67532303803a87f43195e088b3b4bcf0454d, < b025d81b96bfe8a62b6e3e6ac776608206ccbf6d; >= 47dd67532303803a87f43195e088b3b4bcf0454d, < 4cdf1bdd45ac78a088773722f009883af30ad318; Linux 6.15.
Is there a fix for CVE-2025-38442?
Yes. Fixed in Linux 4cdf1bdd45ac78a088773722f009883af30ad318. Upgrade Linux to 4cdf1bdd45ac78a088773722f009883af30ad318 or later.
How do I check if I'm affected by CVE-2025-38442?
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.