CVE-2023-52458

Source
https://cve.org/CVERecord?id=CVE-2023-52458
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52458.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52458
Downstream
Related
Published
2024-02-23T14:46:20.397Z
Modified
2026-03-14T12:23:11.727046Z
Summary
block: add check that partition length needs to be aligned with block size
Details

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, 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 biointegrity_free.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52458.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
633395b67bb222f85bb8f825c7751a54b9ec84ee
Fixed
8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62
Fixed
5010c27120962c85d2f421d2cf211791c9603503
Fixed
ef31cc87794731ffcb578a195a2c47d744e25fb8
Fixed
cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8
Fixed
bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5
Fixed
6f64f866aa1ae6975c95d805ed51d7e9433a0016

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52458.json"