Skip to main content

Linux Kernel CVE-2025-40147

2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Vulnerability Assessment

Impact

This vulnerability presents a localized denial-of-service risk with minimal real-world exploitation probability. The EPSS score of 0.03% (10th percentile) indicates very low automated exploitability, reflecting several mitigating factors: the crash occurs sporadically during cold boot in a narrow initialization window, requires no privilege escalation or attacker interaction, and manifests as a kernel oops (denial of service) rather than privilege elevation or data exfiltration. CVSS vector data is unavailable, but the vulnerability class (CWE) maps to improper synchronization or resource initialization in kernel space. No CISA KEV status is provided, and no public exploit code has been identified. Under a SSVC decision framework, this vulnerability rates as low-priority: technical impact is moderate (system crash/DoS), but exploitability is severely constrained by timing and boot-phase dependencies. Organizations should prioritize patching based on empirical incident frequency and uptime requirements rather than CVSS inflations; systems rarely encounter the vulnerable initialization window in production.

Exploit ScenarioDerived

A system administrator or automated deployment process triggers repeated cold boots (e.g., during firmware updates, hypervisor resets, or cluster initialization). During the brief window between block device initialization and completion of the throttle policy activation, a storage I/O workload (such as F2FS filesystem readahead, device-mapper verity validation, or DM I/O submission) issues a bio (block I/O request) to the queue. This I/O races with throttle policy setup and queries blk_should_throtl() before the policy bit is set, causing blkg_to_tg() to return NULL and trigger a kernel NULL pointer dereference at address 0x156 in submit_bio_noacct(). The system crashes with an oops, failing the boot or I/O operation. No exploit code or active weaponization has been publicly identified; the crash is a stochastic race condition exploitable only through timing on susceptible hardware and kernel versions.

Monitor Track and reassess. Why: No CVSS yet + weak signal (CWE or non-zero EPSS).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 25, 2026

Linux kernel block I/O throttling subsystem crashes with a NULL pointer dereference when I/O operations are submitted during early initialization before throttle policy is fully activated, causing denial of service on affected systems. The vulnerability affects the block layer's throttle policy initialization sequence and is triggered sporadically on cold boots when blk_should_throtl() accesses uninitialized throttle group state. With an EPSS score of 0.03% (10th percentile) and no public exploit identified, this is a low-probability but high-impact local crash condition requiring a kernel patch to fully resolve.

RemediationAI

Upgrade to a Linux kernel version that includes the block throttle initialization fix (commits 6a0c394300a7b0c05504596685de8a46707171fc, 7b4bfd02c934dbbb18814ed012ecb90b58db6935, or bd9fd5be6bc0836820500f68fff144609fbd85a9 or later). Consult your Linux distribution's security advisories and kernel release notes to identify the earliest stable release that incorporates this patch. Alternatively, apply the patch directly to your kernel tree from the stable Linux repository (git.kernel.org/stable). Until patching is feasible, mitigate cold-boot crashes by reducing frequency of system reboots and monitoring kernel logs for blk-throttle initialization oopses; however, no robust workaround eliminates the race window at runtime. Vendors using embedded Linux or custom kernels should prioritize patching their build pipelines to include the upstream fix in subsequent releases.

Affected ProductsAI

The Linux kernel in all versions using the block I/O throttling subsystem (blk-throttle) prior to application of the fix are affected. The vulnerability has been patched via three commits referenced in the kernel stable tree: 6a0c394300a7b0c05504596685de8a46707171fc, 7b4bfd02c934dbbb18814ed012ecb90b58db6935, and bd9fd5be6bc0836820500f68fff144609fbd85a9. No specific kernel version numbers are provided in the advisory data; affected versions span the range in which block throttling is active and cold-boot initialization races can occur. Users should verify patch incorporation in their kernel release notes or consult their distribution's security advisories. The vulnerability affects ARM64 systems (evidenced by the ARM call trace in the description) and likely x86_64 and other architectures with similar block I/O initialization sequences.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Linux kernel's block I/O throttling subsystem (blk-throttle), specifically in the blk_throtl_activated() function which determines whether throttle policy is ready for use. The root cause is a time-of-check-time-of-use (TOCTOU) race condition in the initialization path: the code checks only whether q->td (throttle data structure) is non-NULL, but this check is insufficient because the throttle policy bit may not yet be set in the queue's active policy bitmap (q->blkcg_pols). Consequently, blkg_to_pd() and blkg_to_tg() can return NULL pointers during a narrow window when the queue descriptor exists but policy activation is incomplete. When submit_bio_noacct() or verity_map() subsequently calls blk_should_throtl(), it dereferences a NULL throttle group pointer at offset 0x156, triggering an oops. The fix tightens the activation check to require both q->td != NULL AND test_bit(blkcg_policy_throtl.plid, q->blkcg_pols), eliminating the race window by serializing policy visibility with bit-level attestation.

Know when Linux Kernel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

blk-throttle: fix access race during throttle policy activation

On repeated cold boots we occasionally hit a NULL pointer crash in blk_should_throtl() when throttling is consulted before the throttle policy is fully enabled for the queue. Checking only q->td != NULL is insufficient during early initialization, so blkg_to_pd() for the throttle policy can still return NULL and blkg_to_tg() becomes NULL, which later gets dereferenced.

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000156 ... pc : submit_bio_noacct+0x14c/0x4c8 lr : submit_bio_noacct+0x48/0x4c8 sp : ffff800087f0b690 x29: ffff800087f0b690 x28: 0000000000005f90 x27: ffff00068af393c0 x26: 0000000000080000 x25: 000000000002fbc0 x24: ffff000684ddcc70 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000080000 x19: ffff000684ddcd08 x18: ffffffffffffffff x17: 0000000000000000 x16: ffff80008132a550 x15: 0000ffff98020fff x14: 0000000000000000 x13: 1fffe000d11d7021 x12: ffff000688eb810c x11: ffff00077ec4bb80 x10: ffff000688dcb720 x9 : ffff80008068ef60 x8 : 00000a6fb8a86e85 x7 : 000000000000111e x6 : 0000000000000002 x5 : 0000000000000246 x4 : 0000000000015cff x3 : 0000000000394500 x2 : ffff000682e35e40 x1 : 0000000000364940 x0 : 000000000000001a Call trace: submit_bio_noacct+0x14c/0x4c8 verity_map+0x178/0x2c8 __map_bio+0x228/0x250 dm_submit_bio+0x1c4/0x678 __submit_bio+0x170/0x230 submit_bio_noacct_nocheck+0x16c/0x388 submit_bio_noacct+0x16c/0x4c8 submit_bio+0xb4/0x210 f2fs_submit_read_bio+0x4c/0xf0 f2fs_mpage_readpages+0x3b0/0x5f0 f2fs_readahead+0x90/0xe8

Tighten blk_throtl_activated() to also require that the throttle policy bit is set on the queue:

return q->td != NULL && test_bit(blkcg_policy_throtl.plid, q->blkcg_pols);

This prevents blk_should_throtl() from accessing throttle group state until policy data has been attached to blkgs.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity Not scored yet
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
No CVSS yet + weak signal (CWE or non-zero EPSS)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2022-0847 HIGH POC
7.8 Mar 10

Linux kernel contains a flaw known as 'Dirty Pipe' where improper pipe buffer flag initialization allows unprivileged lo

CVE-2015-1328 HIGH POC
7.8 Nov 28

The overlayfs implementation in the linux (aka Linux kernel) package before 3.19.0-21.21 in Ubuntu through 15.04 does no

CVE-2017-7308 HIGH POC
7.8 Mar 29

The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate cer

CVE-2017-16995 HIGH POC
7.8 Dec 27

The check_alu_op function in kernel/bpf/verifier.c in the Linux kernel through 4.4 allows local users to cause a denial

CVE-2017-1000112 HIGH POC
7.0 Oct 05

Linux kernel: Exploitable memory corruption due to UFO to non-UFO path switch. Rated high severity (CVSS 7.0). Public ex

CVE-2015-8660 MEDIUM POC
6.7 Dec 28

The ovl_setattr function in fs/overlayfs/inode.c in the Linux kernel through 4.3.3 attempts to merge distinct setattr op

CVE-2012-0056 MEDIUM POC
6.9 Jan 27

The mem_write function in the Linux kernel before 3.2.2, when ASLR is disabled, does not properly check permissions when

CVE-2014-0038 MEDIUM POC
6.9 Feb 06

The compat_sys_recvmmsg function in net/compat.c in the Linux kernel before 3.13.2, when CONFIG_X86_X32 is enabled, allo

CVE-2016-8655 HIGH POC
7.8 Dec 08

Race condition in net/packet/af_packet.c in the Linux kernel through 4.8.12 allows local users to gain privileges or cau

CVE-2016-0728 HIGH POC
7.8 Feb 08

The join_session_keyring function in security/keys/process_keys.c in the Linux kernel before 4.4.1 mishandles object ref

CVE-2017-0561 CRITICAL POC
9.8 Apr 07

A remote code execution vulnerability in the Broadcom Wi-Fi firmware could enable a remote attacker to execute arbitrary

CVE-2016-10277 HIGH POC
7.8 May 12

An elevation of privilege vulnerability in the Motorola bootloader could enable a local malicious application to execute

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy