# blk-mq: check kobject state_in_sysfs before deleting in blk_mq_unregister_hctx

CVE record · `CVE-2025-40125`

- **Identifiers:** `CVE-2025-40125`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Nov 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Nov 2025, 10:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before a8c53553f1833cc2d14175d2d72cf37193a01898` (git)
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before cc14ea21c4e658814d737ed4dedde6cd626a15ad` (git)
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before 4b97e99b87a773d52699521d40864f3ec888e9a6` (git)
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before 6e7dadc5763c48eb3b9b91265a21f312599ebb2c` (git)
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before 06c4826b1d900611096e4621e93133db57e13911` (git)
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before babc634e9fe2803962dba98a07587e835dbc0731` (git)
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before d5ddd76ee52bdc16e9f8b1e7791291e785dab032` (git)
  - affected: `477e19dedc9d3e1f4443a1d4ae00572a988120ea to before 4c7ef92f6d4d08a27d676e4c348f4e2922cab3ed` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.20`
  - unaffected: `before 4.20` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.156 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.112 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.53 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.3 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 13th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Nov 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40125](https://www.cve.org/CVERecord?id=CVE-2025-40125)
- [NVD: CVE-2025-40125](https://nvd.nist.gov/vuln/detail/CVE-2025-40125)

### References from the CNA

- <https://git.kernel.org/stable/c/a8c53553f1833cc2d14175d2d72cf37193a01898>
- <https://git.kernel.org/stable/c/cc14ea21c4e658814d737ed4dedde6cd626a15ad>
- <https://git.kernel.org/stable/c/4b97e99b87a773d52699521d40864f3ec888e9a6>
- <https://git.kernel.org/stable/c/6e7dadc5763c48eb3b9b91265a21f312599ebb2c>
- <https://git.kernel.org/stable/c/06c4826b1d900611096e4621e93133db57e13911>
- <https://git.kernel.org/stable/c/babc634e9fe2803962dba98a07587e835dbc0731>
- <https://git.kernel.org/stable/c/d5ddd76ee52bdc16e9f8b1e7791291e785dab032>
- <https://git.kernel.org/stable/c/4c7ef92f6d4d08a27d676e4c348f4e2922cab3ed>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40125>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40125/>. Everything for agents: <https://agentprime.io/llms.txt>.
