Linux kernel block layer chunk_sectors integer overflow
CVE-2025-39795Medium
The Linux kernel's blk_stack_limits() function checks whether chunk_sectors is a multiple of physical_block_size by converting chunk_sectors to bytes. This conversion can cause an integer overflow in the unsigned int variable holding chunk_sectors. An attacker with the ability to set block device parameters could trigger this overflow to bypass the validation check, potentially leading to memory corruption or other undefined behaviour.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 5.10, before 5.10.241
- linux linux kernel: from 5.11, before 5.15.190
- linux linux kernel: from 5.16, before 6.1.149
- linux linux kernel: from 6.2, before 6.6.103
- linux linux kernel: from 6.7, before 6.12.43
- linux linux kernel: from 6.13, before 6.15.11
- linux linux kernel: from 6.16, before 6.16.2
- debian debian linux: 11.0
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)