# CVE-2025-39795: block: avoid possible overflow for chunk\_sectors check in blk\_stack\_limits()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-674
- **Published:** 2025-09-12T15:59:32.037Z
- **Modified:** 2026-11-10T13:17:51.127Z

## Who should check

- Anyone running Linux \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 418751910044649baa2b424ea31cce3fc4dcc253; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 8b3ce085b52e674290cbfdd07034e7653ffbe4dc; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 31f2f080898e50cbf2bae62d35f9f2a997547b38; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 46aa80ef49594ed7de685ecbc673b291e9a2c159; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 14beeef4aafecc8a41de534e31fb5be94739392f; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 448dfecc7ff807822ecd47a5c052acedca7d09e8
- Anyone running Linux 5.10

## Description

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

block: avoid possible overflow for chunk\_sectors check in blk\_stack\_limits()

In blk\_stack\_limits(), we check that the t-\>chunk\_sectors value is a
multiple of the t-\>physical\_block\_size value.

However, by finding the chunk\_sectors value in bytes, we may overflow
the unsigned int which holds chunk\_sectors, so change the check to be
based on sectors.

## Affected and fixed versions

- Linux: \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 418751910044649baa2b424ea31cce3fc4dcc253; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 8b3ce085b52e674290cbfdd07034e7653ffbe4dc; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 31f2f080898e50cbf2bae62d35f9f2a997547b38; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 46aa80ef49594ed7de685ecbc673b291e9a2c159; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 14beeef4aafecc8a41de534e31fb5be94739392f; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 448dfecc7ff807822ecd47a5c052acedca7d09e8 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 448dfecc7ff807822ecd47a5c052acedca7d09e8 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-39795.md
Affected: Linux >= 22ada802ede89829dd010a317d9b812b7df7111a, < 418751910044649baa2b424ea31cce3fc4dcc253; >= 22ada802ede89829dd010a317d9b812b7df7111a, < 8b3ce085b52e674290cbfdd07034e7653ffbe4dc; >= 22ada802ede89829dd010a317d9b812b7df7111a, < 31f2f080898e50cbf2bae62d35f9f2a997547b38; >= 22ada802ede89829dd010a3…
Fixed in: Linux 418751910044649baa2b424ea31cce3fc4dcc253, Linux 8b3ce085b52e674290cbfdd07034e7653ffbe4dc, Linux 31f2f080898e50cbf2bae62d35f9f2a997547b38, Linux 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9, Linux 46aa80ef49594ed7de685ecbc673b291e9a2c159, Linux 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2, Linux 14bee…

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-39795 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 418751910044649baa2b424ea31cce3fc4dcc253; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 8b3ce085b52e674290cbfdd07034e7653ffbe4dc; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 31f2f080898e50cbf2bae62d35f9f2a997547b38; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 46aa80ef49594ed7de685ecbc673b291e9a2c159; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 14beeef4aafecc8a41de534e31fb5be94739392f; \>= 22ada802ede89829dd010a317d9b812b7df7111a, \< 448dfecc7ff807822ecd47a5c052acedca7d09e8; Linux 5.10.

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

Yes. Fixed in Linux 418751910044649baa2b424ea31cce3fc4dcc253, Linux 8b3ce085b52e674290cbfdd07034e7653ffbe4dc, Linux 31f2f080898e50cbf2bae62d35f9f2a997547b38, Linux 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9, Linux 46aa80ef49594ed7de685ecbc673b291e9a2c159, Linux 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2, Linux 14beeef4aafecc8a41de534e31fb5be94739392f, Linux 448dfecc7ff807822ecd47a5c052acedca7d09e8. Upgrade Linux to 448dfecc7ff807822ecd47a5c052acedca7d09e8 or later.

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

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

- patch: <https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253>
- patch: <https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc>
- patch: <https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38>
- patch: <https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9>
- patch: <https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159>
- patch: <https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2>
- patch: <https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f>
- patch: <https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## 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-39795>

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