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.
History

Mon, 15 Sep 2025 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Vendors & Products Linux
Linux linux Kernel

Fri, 12 Sep 2025 16:15:00 +0000

Type Values Removed Values Added
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.
Title block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-09-12T15:59:32.037Z

Updated: 2025-09-12T15:59:32.037Z

Reserved: 2025-04-16T07:20:57.132Z

Link: CVE-2025-39795

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-09-12T16:15:33.850

Modified: 2025-09-15T15:21:42.937

Link: CVE-2025-39795

cve-icon Redhat

No data.