What’s Vulnerable › Vulnerabilities

CVE-2025-39795: block: avoid possible overflow for chunk_sectors check in blk_stack_limits()

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.241, 5.15.190, 6.1.149, 6.12.43. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39795 or the next vulnerability affects your stack