CVE-2025-39795

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

State
Published
Severity
Not scored
Published
Sep 12, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 418751910044649baa2b424ea31cce3fc4dcc253Affected
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 8b3ce085b52e674290cbfdd07034e7653ffbe4dcAffected
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 31f2f080898e50cbf2bae62d35f9f2a997547b38Affected
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9Affected
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 46aa80ef49594ed7de685ecbc673b291e9a2c159Affected
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2Affected
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 14beeef4aafecc8a41de534e31fb5be94739392fAffected
  • 22ada802ede89829dd010a317d9b812b7df7111a to before 448dfecc7ff807822ecd47a5c052acedca7d09e8Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.241 through 5.10.*Not affected
  • 5.15.190 through 5.15.*Not affected
  • 6.1.149 through 6.1.*Not affected
  • 6.6.103 through 6.6.*Not affected
  • 6.12.43 through 6.12.*Not affected
  • 6.15.11 through 6.15.*Not affected
  • 6.16.2 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.