NULL pointer dereference in Linux
CVE-2023-52458
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 14.1th percentile
- Published
- 2024-02-23
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 14.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 633395b67bb222f85bb8f825c7751a54b9ec84ee, 4.10, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62 (Patch)
- git.kernel.org/stable/c/5010c27120962c85d2f421d2cf211791c9603503 (Patch)
- git.kernel.org/stable/c/ef31cc87794731ffcb578a195a2c47d744e25fb8 (Patch)
- git.kernel.org/stable/c/cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8 (Patch)
- git.kernel.org/stable/c/bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5 (Patch)
- git.kernel.org/stable/c/6f64f866aa1ae6975c95d805ed51d7e9433a0016 (Patch)
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html