# CVE-2025-40147: blk-throttle: fix access race during throttle policy activation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-11-12T10:23:26.556Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< 7b4bfd02c934dbbb18814ed012ecb90b58db6935; \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< 6a0c394300a7b0c05504596685de8a46707171fc; \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< bd9fd5be6bc0836820500f68fff144609fbd85a9
- Anyone running Linux 6.10

## Description

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.

## Affected and fixed versions

- Linux: \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< 7b4bfd02c934dbbb18814ed012ecb90b58db6935; \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< 6a0c394300a7b0c05504596685de8a46707171fc; \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< bd9fd5be6bc0836820500f68fff144609fbd85a9 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40147. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40147.md
Affected: Linux >= a3166c51702bb00b8f8b84022090cbab8f37be1a, < 7b4bfd02c934dbbb18814ed012ecb90b58db6935; >= a3166c51702bb00b8f8b84022090cbab8f37be1a, < 6a0c394300a7b0c05504596685de8a46707171fc; >= a3166c51702bb00b8f8b84022090cbab8f37be1a, < bd9fd5be6bc0836820500f68fff144609fbd85a9; Linux 6.10
Fixed in: Linux 7b4bfd02c934dbbb18814ed012ecb90b58db6935, Linux 6a0c394300a7b0c05504596685de8a46707171fc

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.
```

## FAQ

### Is CVE-2025-40147 being exploited?

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

### How serious is CVE-2025-40147?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40147?

Linux \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< 7b4bfd02c934dbbb18814ed012ecb90b58db6935; \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< 6a0c394300a7b0c05504596685de8a46707171fc; \>= a3166c51702bb00b8f8b84022090cbab8f37be1a, \< bd9fd5be6bc0836820500f68fff144609fbd85a9; Linux 6.10.

### Is there a fix for CVE-2025-40147?

Yes. Fixed in Linux 7b4bfd02c934dbbb18814ed012ecb90b58db6935, Linux 6a0c394300a7b0c05504596685de8a46707171fc. No fix listed yet: follow the vendor advisory.

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

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.

## References

- other: <https://git.kernel.org/stable/c/7b4bfd02c934dbbb18814ed012ecb90b58db6935>
- other: <https://git.kernel.org/stable/c/6a0c394300a7b0c05504596685de8a46707171fc>
- other: <https://git.kernel.org/stable/c/bd9fd5be6bc0836820500f68fff144609fbd85a9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40147>

HTML: <https://flawdb.com/CVE-2025-40147> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40147>
