CVE-2023-52458
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52458 is a vulnerability in the Linux kernel's block subsystem that was discovered and disclosed in February 2024. The vulnerability affects multiple versions of the Linux kernel up to versions 5.10.215, 5.15.148, 6.1.75, 6.6.14, and 6.7.2. This issue occurs in the partition management functionality where there was no proper alignment check for partition lengths with block sizes (NVD).

Technical details

The vulnerability stems from a missing validation check in the block subsystem. Before calling add partition or resize partition operations, the code did not verify whether the partition length was aligned with the logical block size. When the logical block size of the disk is larger than 512 bytes, the partition size might not be a multiple of the logical block size. This can lead to bio_truncate() adjusting the bio size, resulting in an IO error if the read command size becomes smaller than the logical block size. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can result in two types of issues: an IO error when reading the last sector if the read command size becomes smaller than the logical block size, and a null pointer dereference when calling bio_integrity_free if integrity data is supported. This can lead to system instability and potential denial of service conditions (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed in multiple Linux kernel versions through a patch that adds proper alignment checks for partition lengths. The fix includes additional validation to ensure that partition lengths are aligned with the logical block size before performing partition operations. Various Linux distributions have released updates incorporating this fix, including Ubuntu and Debian (Debian Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management