CVE-2023-52458: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: block: add check that partition length needs to be aligned with block size Before calling add partition or resize partition, there is no check on whether the length is aligned with the logical block size. If the logical block size of the disk is larger than 512 bytes, then the partition size maybe not the multiple of the logical block size, and when the last sector is read, bio_truncate() will adjust the bio size, resulting in an IO error if the size of the read command is smaller than the logical block size.If integrity data is supported, this will also result in a null pointer dereference when calling bio_integrity_free.
Affected products
- Linux Linux Kernel: before 5.10.215 (fixed in 5.10.215); from 5.11.0, before 5.15.148 (fixed in 5.15.148); from 5.16.0, before 6.1.75 (fixed in 6.1.75); from 6.2.0, before 6.6.14 (fixed in 6.6.14); from 6.7.0, before 6.7.2 (fixed in 6.7.2)
Published 2024-02-23. Last modified 2026-06-17.