CVE Catalog

CVE-2023-52458

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

13th percentile - higher than 13% of all known CVEs

Summary

In the Linux kernel, there is no check that partition length is aligned with the logical block size before adding or resizing a partition. If the disk's logical block size is larger than 512 bytes, the partition size may not be a multiple of the logical block size, leading to I/O errors and, if integrity data is supported, a null pointer dereference in bio_integrity_free.

Risk Assessment

May cause I/O errors and potential kernel crashes (null pointer dereference), leading to data loss or system unavailability.

Recommendation

Update the Linux kernel to a version containing the fix that adds the required partition length alignment check.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS