CVE-2025-39795

block: avoid possible overflow for chunk_sectors check in blk_stack_limits()

MEDIUM
5.5
CVSS Score
Published: September 12, 2025 at 03:59 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
6 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions5.10 ≤ v < 5.10.2415.11 ≤ v < 5.15.1905.16 ≤ v < 6.1.1496.13 ≤ v < 6.15.116.16 ≤ v < 6.16.26.2 ≤ v < 6.6.1036.7 ≤ v < 6.12.4322ada802ede89829dd010a317d9b812b7df7111a5.10
Vendor states this is fixed in 14beeef4aafecc8a41de534e31fb5be94739392f (fixed)
Vendor states this is fixed in 31f2f080898e50cbf2bae62d35f9f2a997547b38 (fixed)
Vendor states this is fixed in 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9 (fixed)
Vendor states this is fixed in 418751910044649baa2b424ea31cce3fc4dcc253 (fixed)
Vendor states this is fixed in 448dfecc7ff807822ecd47a5c052acedca7d09e8 (fixed)
Vendor states this is fixed in 46aa80ef49594ed7de685ecbc673b291e9a2c159 (fixed)
Vendor states this is fixed in 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2 (fixed)
Vendor states this is fixed in 8b3ce085b52e674290cbfdd07034e7653ffbe4dc (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 6.1.149 (unaffected)
Vendor states this is fixed in 6.12.43 (unaffected)
Vendor states this is fixed in 6.15.11 (unaffected)
Vendor states this is fixed in 6.16.2 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.103 (unaffected)
v < V5.0
Affected range stops below V5.0, so it looks safe — our inference, not a vendor statement

References (14)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-674

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card