CVE-2023-52458: block: add check that partition length needs to be aligned with block size

Published Feb 23, 2024
·
Updated

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, biotruncate() 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 biointegrityfree.

Affected Software

7 affected componentsFixes available
redhat/kernel<6.8
6.8
Linux Linux kernel<5.10.215
Linux Linux kernel>=5.11.0<5.15.148
Linux Linux kernel>=5.16.0<6.1.75
Linux Linux kernel>=6.2.0<6.6.14
Linux Linux kernel>=6.7.0<6.7.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Feb 23, 2024
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 24, 2024
Data Sourced
via Red Hat·11:20 AM
DescriptionSeverityAffected Software
May 2, 2024
Data Sourced
via Launchpad·10:02 PM
Description
May 9, 2025
Data Sourced
via Ubuntu·11:18 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52458?

CVE-2023-52458 has been classified with a severity level that indicates a potential risk during partition resizing and adding due to alignment issues with logical block sizes.

2

How do I fix CVE-2023-52458?

To mitigate CVE-2023-52458, update to the remedied versions provided by your distribution, specifically Red Hat kernel 6.8 or Debian Linux versions indicated.

3

What systems are affected by CVE-2023-52458?

CVE-2023-52458 affects multiple versions of the Linux kernel, specifically those that do not enforce checks on partition size alignment.

4

Is CVE-2023-52458 a denial of service risk?

CVE-2023-52458 does not explicitly state a denial of service vulnerability, but improper partition management may lead to unexpected behaviors.

5

Can CVE-2023-52458 be exploited remotely?

CVE-2023-52458 does not mention remote exploitation, suggesting that exploitation would require local access to the system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203