CVE-2023-52458
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2024-4928.html
Vendor advisory: alma — https://bugzilla.redhat.com/2293412
Vendor advisory: alma — https://bugzilla.redhat.com/2293316
Vendor advisory: alma — https://bugzilla.redhat.com/2284598
Vendor advisory: alma — https://bugzilla.redhat.com/2284506
Vendor advisory: alma — https://bugzilla.redhat.com/2282898
Vendor advisory: alma — https://bugzilla.redhat.com/2282669
Vendor advisory: alma — https://bugzilla.redhat.com/2281700
Vendor advisory: alma — https://bugzilla.redhat.com/2281647
Vendor advisory: alma — https://bugzilla.redhat.com/2281247
Vendor advisory: alma — https://bugzilla.redhat.com/2278473
Vendor advisory: alma — https://bugzilla.redhat.com/2278435
Vendor advisory: alma — https://bugzilla.redhat.com/2278337
Vendor advisory: alma — https://bugzilla.redhat.com/2275761
Vendor advisory: alma — https://bugzilla.redhat.com/2275690
Vendor advisory: alma — https://bugzilla.redhat.com/2273274
Vendor advisory: alma — https://bugzilla.redhat.com/2273236
Vendor advisory: alma — https://bugzilla.redhat.com/2265794
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-52458
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2024:4928
Vendor advisory: rocky — https://errata.rockylinux.org/RXSA-2024:4928
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-52458.html
Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/ef31cc87794731ffcb578a195a2c47d744e25fb8
Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8
Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5
Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62
Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/6f64f866aa1ae6975c95d805ed51d7e9433a0016
Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/5010c27120962c85d2f421d2cf211791c9603503
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2024:4928
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| rocky | 9 | fixed | |
| debian | bookworm | fixed | 6.1.76-1 |
| debian | bullseye | fixed | 5.10.216-1 |
| debian | forky | fixed | 6.6.15-1 |
| debian | sid | fixed | 6.6.15-1 |
| debian | trixie | fixed | 6.6.15-1 |
| linux-kernel | affected | 5.10.215 |
References
- https://access.redhat.com/errata/RHSA-2024:4928
- https://git.kernel.org/stable/c/5010c27120962c85d2f421d2cf211791c9603503
- https://git.kernel.org/stable/c/6f64f866aa1ae6975c95d805ed51d7e9433a0016
- https://git.kernel.org/stable/c/8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62
- https://git.kernel.org/stable/c/bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5
- https://git.kernel.org/stable/c/cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8
- https://git.kernel.org/stable/c/ef31cc87794731ffcb578a195a2c47d744e25fb8
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://www.suse.com/security/cve/CVE-2023-52458.html
- https://errata.rockylinux.org/RXSA-2024:4928
- https://errata.rockylinux.org/RLSA-2024:4928
- https://security-tracker.debian.org/tracker/CVE-2023-52458
- https://bugzilla.redhat.com/2265794
- https://bugzilla.redhat.com/2273236
- https://bugzilla.redhat.com/2273274
- https://bugzilla.redhat.com/2275690
- https://bugzilla.redhat.com/2275761
- https://bugzilla.redhat.com/2278337
- https://bugzilla.redhat.com/2278435
- https://bugzilla.redhat.com/2278473
- https://bugzilla.redhat.com/2281247
- https://bugzilla.redhat.com/2281647
- https://bugzilla.redhat.com/2281700
- https://bugzilla.redhat.com/2282669
CWEs
CWE-476
Verify integrity in audit chain (admin only). AS-IS.