Vulnerability · Published Feb 23, 2024 · Assigned by Linux
CVE-2023-52458block: add check that partition length needs to be aligned with block size
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | bpftool | 7.3.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-uki-virt | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-doc | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-headers | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-tools | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-uki-virt | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | libperf | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | perf | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | python3-perf | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | rtla | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | rv | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| Debian:12 | linux | 6.1.76-1 | DEBIAN-CVE-2023-52458 |
| Debian:13 | linux | 6.6.15-1 | DEBIAN-CVE-2023-52458 |
| Debian:14 | linux | 6.6.15-1 | DEBIAN-CVE-2023-52458 |
| Rocky Linux:9 | kernel | 0:5.14.0-427.28.1.el9_4.cloud.1.0 | RXSA-2024:4928 |
| Rocky Linux:9 | kernel | 0:5.14.0-427.28.1.el9_4 | RLSA-2024:4928 |
| Ubuntu:22.04:LTS | linux | 5.15.0-102.112 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-102.112 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1057.63 | USN-6725-2 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1057.63 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1060.69 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1060.69 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1022.23~22.04.1 | USN-6819-1 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1022.23~22.04.1 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1060.69.1 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1060.69.1 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1055.63 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1055.63 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | USN-6818-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1054.59 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1054.59 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1040.46 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1040.46 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-41.41~22.04.2 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-41.41~22.04.2 | USN-6818-4 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1050.53 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1050.53 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1052.58 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1052.58 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1054.59 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1054.59 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-102.112 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-102.112 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-41.41.1~22.04.1 | USN-6818-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-41.41.1~22.04.1 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1048.48 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1048.48 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1021.22 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1021.22 | USN-6818-3 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1025.25 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1012.12 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1035.35 | USN-6688-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1035.35 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1024.25 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1024.25 | USN-6819-3 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1055.61 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1055.61 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1024.24~22.04.1 | USN-6819-4 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1024.24~22.04.1 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1050.53 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1050.53 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | 6.5.0-40.40.1~22.04.1 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1015.16~22.04.1 | USN-6819-1 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1015.16~22.04.1 | UBUNTU-CVE-2023-52458 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1030.34 | UBUNTU-CVE-2023-52458 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 633395b67bb222f85bb8f825c7751a54b9ec84ee – before 8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62633395b67bb222f85bb8f825c7751a54b9ec84ee – before 5010c27120962c85d2f421d2cf211791c9603503633395b67bb222f85bb8f825c7751a54b9ec84ee – before ef31cc87794731ffcb578a195a2c47d744e25fb8633395b67bb222f85bb8f825c7751a54b9ec84ee – before cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8633395b67bb222f85bb8f825c7751a54b9ec84ee – before bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5633395b67bb222f85bb8f825c7751a54b9ec84ee – before 6f64f866aa1ae6975c95d805ed51d7e9433a0016 |
| Linux | Linux | 4.10 |
References
- https://git.kernel.org/stable/c/8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62
- https://git.kernel.org/stable/c/5010c27120962c85d2f421d2cf211791c9603503
- https://git.kernel.org/stable/c/ef31cc87794731ffcb578a195a2c47d744e25fb8
- https://git.kernel.org/stable/c/cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8
- https://git.kernel.org/stable/c/bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5
- https://git.kernel.org/stable/c/6f64f866aa1ae6975c95d805ed51d7e9433a0016
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html