# CVE-2025-39795: block: avoid possible overflow for chunk_sectors check in blk_stack_limits()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-09-12T15:59:32.037Z
- Modified: 2026-11-10T13:17:51.127Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 22ada802ede89829dd010a317d9b812b7df7111a before 418751910044649baa2b424ea31cce3fc4dcc253; from 22ada802ede89829dd010a317d9b812b7df7111a before 8b3ce085b52e674290cbfdd07034e7653ffbe4dc; from 22ada802ede89829dd010a317d9b812b7df7111a before 31f2f080898e50cbf2bae62d35f9f2a997547b38; from 22ada802ede89829dd010a317d9b812b7df7111a before 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9; from 22ada802ede89829dd010a317d9b812b7df7111a before 46aa80ef49594ed7de685ecbc673b291e9a2c159; from 22ada802ede89829dd010a317d9b812b7df7111a before 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2; from 22ada802ede89829dd010a317d9b812b7df7111a before 14beeef4aafecc8a41de534e31fb5be94739392f; from 22ada802ede89829dd010a317d9b812b7df7111a before 448dfecc7ff807822ecd47a5c052acedca7d09e8; 5.10 (not affected: before 5.10; from 5.10.241 up to 5.10.*; from 5.15.190 up to 5.15.*; from 6.1.149 up to 6.1.*; from 6.6.103 up to 6.6.*; from 6.12.43 up to 6.12.*; from 6.15.11 up to 6.15.*; from 6.16.2 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 5.10 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.149; from 6.2 before 6.6.103; from 6.7 before 6.12.43; from 6.13 before 6.15.11; from 6.16 before 6.16.2
- debian debian_linux: 11.0

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-39795](https://www.cve.org/CVERecord?id=CVE-2025-39795), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-39795](https://nvd.nist.gov/vuln/detail/CVE-2025-39795), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-39795 · Whole record: https://cve.day/CVE-2025-39795.json · Rebuilt by cve.day 2026-11-25T22:59:04.603Z
