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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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:

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 : Received

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

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

Link: CVE-2025-39795

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.