# hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits()

CVE record · `CVE-2025-40243`

- **Identifiers:** `CVE-2025-40243`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Dec 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Dec 2025, 15:31 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: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fc56548fca732f3d3692c83b40db796259a03887` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bf1683078fbdd09a7f7f9b74121ebaa03432bd00` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2a112cdd66f5a132da5235ca31a320528c86bf33` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e148ed5cda8fd96d4620c4622fb02f552a2d166a` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before cfafefcb0e1fc60135f7040f4aed0a4aef4f76ca` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3b447fd401824e1ccf0b769188edefe866a1e676` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 502fa92a71f344611101bd04ef1a595b8b6014f5` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2048ec5b98dbdfe0b929d2e42dc7a54c389c53dd` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.196 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.158 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.115 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.56 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.6 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 5th 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 4 Dec 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/fc56548fca732f3d3692c83b40db796259a03887>
- <https://git.kernel.org/stable/c/bf1683078fbdd09a7f7f9b74121ebaa03432bd00>
- <https://git.kernel.org/stable/c/2a112cdd66f5a132da5235ca31a320528c86bf33>
- <https://git.kernel.org/stable/c/e148ed5cda8fd96d4620c4622fb02f552a2d166a>
- <https://git.kernel.org/stable/c/cfafefcb0e1fc60135f7040f4aed0a4aef4f76ca>
- <https://git.kernel.org/stable/c/3b447fd401824e1ccf0b769188edefe866a1e676>
- <https://git.kernel.org/stable/c/502fa92a71f344611101bd04ef1a595b8b6014f5>
- <https://git.kernel.org/stable/c/2048ec5b98dbdfe0b929d2e42dc7a54c389c53dd>

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-40243>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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