CVE-2025-39795
block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
Reported by linux · Published September 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 22ada802ede89829dd010a317d9b812b7df7111a, 22ada802ede89829dd010a317d9b812b7df7111a, 22ada802ede89829dd010a317d9b812b7df7111a |
| Linux | Linux | 5.10, 0, 5.10.241 |
| amazon:2023 | bpftool | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.7, 3.1.5, 3.1.6 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| Siemens | SIMATIC CN 4100 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Linux | Linux | 6.17, 22ada802ede89829dd010a317d9b812b7df7111a, 22ada802ede89829dd010a317d9b812b7df7111a |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.5, 3.1.6 |
…and 21 more
Timeline
- Sep 12, 2025 CVE Published
- Sep 13, 2025 EPSS Score (30 in total, the first dated here)
- Dec 18, 2025 PoC Published (3 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (88 in total, the first dated here)
- Mar 29, 2026 Security Advisory (96 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-39795
vulnetix vdb fixes CVE-2025-39795
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39795/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html url
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html url
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html url
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html url
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html url
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html url