# block: avoid possible overflow for chunk_sectors check in blk_stack_limits()

CVE record · `CVE-2025-39795`

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

Published by the CVE Program (CNA: Linux) at 12 Sept 2025, 15:59 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: `22ada802ede89829dd010a317d9b812b7df7111a to before 418751910044649baa2b424ea31cce3fc4dcc253` (git)
  - affected: `22ada802ede89829dd010a317d9b812b7df7111a to before 8b3ce085b52e674290cbfdd07034e7653ffbe4dc` (git)
  - affected: `22ada802ede89829dd010a317d9b812b7df7111a to before 31f2f080898e50cbf2bae62d35f9f2a997547b38` (git)
  - affected: `22ada802ede89829dd010a317d9b812b7df7111a to before 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9` (git)
  - affected: `22ada802ede89829dd010a317d9b812b7df7111a to before 46aa80ef49594ed7de685ecbc673b291e9a2c159` (git)
  - affected: `22ada802ede89829dd010a317d9b812b7df7111a to before 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2` (git)
  - affected: `22ada802ede89829dd010a317d9b812b7df7111a to before 14beeef4aafecc8a41de534e31fb5be94739392f` (git)
  - affected: `22ada802ede89829dd010a317d9b812b7df7111a to before 448dfecc7ff807822ecd47a5c052acedca7d09e8` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.10`
  - unaffected: `before 5.10` (semver)
  - unaffected: `5.10.241 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.149 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.103 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.43 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.11 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16.2 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel block layer's blk_stack_limits() can overflow an unsigned int in its chunk_sectors check, because the check converts the value to bytes. The source gives few details on what an attacker needs or what impact results. Upgrade to Linux 5.10.241, 5.15.190, 6.1.149, or 6.6.103 or later in the matching series.

Written 16 Nov 2026.

## 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.0018, the 7th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 12 Sept 2025, 15:59 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-39795)
- 12 Sept 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-39795)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253>
- <https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc>
- <https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38>
- <https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9>
- <https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159>
- <https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2>
- <https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f>
- <https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8>

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

---

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