CVE-2025-39795
block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
Check your servers for CVE-2025-39795
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39795 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 418751910044649baa2b424ea31cce3fc4dcc253 affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 8b3ce085b52e674290cbfdd07034e7653ffbe4dc affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 31f2f080898e50cbf2bae62d35f9f2a997547b38 affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9 affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 46aa80ef49594ed7de685ecbc673b291e9a2c159 affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2 affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 14beeef4aafecc8a41de534e31fb5be94739392f affected from 22ada802ede89829dd010a317d9b812b7df7111a, before 448dfecc7ff807822ecd47a5c052acedca7d09e8
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.149 up to and including 6.1.* unaffected from 6.6.103 up to and including 6.6.* unaffected from 6.12.43 up to and including 6.12.* unaffected from 6.15.11 up to and including 6.15.* unaffected from 6.16.2 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39795 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39795
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39795
trivy image --scanners vuln IMAGE | grep CVE-2025-39795
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253 git.kernel.org
- https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc git.kernel.org
- https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38 git.kernel.org
- https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9 git.kernel.org
- https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159 git.kernel.org
- https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2 git.kernel.org
- https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f git.kernel.org
- https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-39795 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse