CVE-2023-52458

MEDIUM

Linux Kernel < 5.10.215 - NULL Pointer Dereference in Block Partition Handling

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0023
EPSS Percentile 14.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (15)
Linux/Linux < 4.10
Linux/Linux 4.10
Linux/Linux 5.10.215 - 5.10.*
Linux/Linux 5.15.148 - 5.15.*
Linux/Linux 6.1.75 - 6.1.*
Linux/Linux 6.6.14 - 6.6.*
Linux/Linux 6.7.2 - 6.7.*
Linux/Linux 6.8
Linux/Linux 633395b67bb222f85bb8f825c7751a54b9ec84ee - 5010c27120962c85d2f421d2cf211791c9603503
Linux/Linux 633395b67bb222f85bb8f825c7751a54b9ec84ee - 6f64f866aa1ae6975c95d805ed51d7e9433a0016
... and 5 more
Published Feb 23, 2024
Tracked Since Feb 18, 2026