Medium severity · published Sep 12, 2025
CVE-2025-39795
block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
5.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 6% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.10 before 5.10.241; 5.11 before 5.15.190; 5.16 before 6.1.149; 6.2 before 6.6.103; 6.7 before 6.12.43; 6.13 before 6.15.11; +1 more · source: NVD
LI
Linux · Linux
22ada802ede89829dd010a317d9b812b7df7111a before 418751910044649baa2b424ea31cce3fc4dcc253; 22ada802ede89829dd010a317d9b812b7df7111a before 8b3ce085b52e674290cbfdd07034e7653ffbe4dc; 22ada802ede89829dd010a317d9b812b7df7111a before 31f2f080898e50cbf2bae62d35f9f2a997547b38; 22ada802ede89829dd010a317d9b812b7df7111a before 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9; 22ada802ede89829dd010a317d9b812b7df7111a before 46aa80ef49594ed7de685ecbc673b291e9a2c159; 22ada802ede89829dd010a317d9b812b7df7111a before 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2; +3 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD
SC
SIMATIC CN 4100 · Siemens
before V5.0 · source: CISA
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5; V3.1.6; V3.1.7; V3.1.5; V3.1.6; V3.1.7 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.5; V3.1.6; V3.1.7; V3.1.5; V3.1.6; V3.1.7 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5; V3.1.6; V3.1.7 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-39795
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-39795
Patch
https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f
Patch
https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38
Patch
https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9
Patch
https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253
Patch
https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8
Patch
https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
