CVE-2023-52458: block: add check that partition length needs to be aligned with block size
Vulnerability summary
CVE-2023-52458 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 40 · Related 37Timeline
- 23-02-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu116 products
- linuxAll versions (No fix recorded) | < 4.4.0-269.303 | < 4.15.0-237.249 | < 5.4.0-208.228 | < 5.15.0-102.112
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1144.150 | < 4.4.0-1182.197 | < 4.15.0-1180.193 | < 5.4.0-1140.150 | < 5.15.0-1057.63
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 633395b67bb222f85bb8f825c7751a54b9ec84ee, < 8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62 | ≥ 633395b67bb222f85bb8f825c7751a54b9ec84ee, < 5010c27120962c85d2f421d2cf211791c9603503 | ≥ 633395b67bb222f85bb8f825c7751a54b9ec84ee, < ef31cc87794731ffcb578a195a2c47d744e25fb8 | ≥ 633395b67bb222f85bb8f825c7751a54b9ec84ee, < cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8 | ≥ 633395b67bb222f85bb8f825c7751a54b9ec84ee, < bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5 | ≥ 633395b67bb222f85bb8f825c7751a54b9ec84ee, < 6f64f866aa1ae6975c95d805ed51d7e9433a0016 | 4.10
- linux_kernel< 5.10.215 | ≥ 5.11.0, < 5.15.148 | ≥ 5.16.0, < 6.1.75 | ≥ 6.2.0, < 6.6.14 | ≥ 6.7.0, < 6.7.2
Debian1 product
- linux< 6.1.76-1 | < 6.6.15-1
3 vendors · 119 products