VDB

CVE-2025-39795

CVE-2025-39795 PUBLISHED

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.

PackageEcosystemFixed in
bpftoolAmazon Linux1:6.1.150-174.273.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.46-66.121.amzn2023

Affected products

VendorProductVersions
LinuxLinux22ada802ede89829dd010a317d9b812b7df7111a, 22ada802ede89829dd010a317d9b812b7df7111a, 22ada802ede89829dd010a317d9b812b7df7111a
LinuxLinux5.10, 0, 5.10.241
amazon:2023bpftool0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.7, 3.1.5, 3.1.6
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel5.10, 5.10, 5.10
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel-modules-extra0
amazon:2023perf6.120
SiemensSIMATIC CN 41000
amazon:2023kernel-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-modules-extra-common0
LinuxLinux6.17, 22ada802ede89829dd010a317d9b812b7df7111a, 22ada802ede89829dd010a317d9b812b7df7111a
amazon:2023kernel-headers0
amazon:2023kernel6.12-libbpf-static0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›