Vulnerability · Published Feb 23, 2024 · Assigned by Linux
CVE-2023-52464EDAC/thunderx: Fix possible out-of-bounds string access
High 7.8
In plain English
A high-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.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: EDAC/thunderx: Fix possible out-of-bounds string access Enabling -Wstringop-overflow globally exposes a warning for a common bug in the usage of strncat(): drivers/edac/thunderx_edac.c: In function 'thunderx_ocx_com_threaded_isr': drivers/edac/thunderx_edac.c:1136:17: error: 'strncat' specified bound 1024 equals destination size [-Werror=stringop-overflow=] 1136 | strncat(msg, other, OCX_MESSAGE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... 1145 | strncat(msg, other, OCX_MESSAGE_SIZE); ... 1150 | strncat(msg, other, OCX_MESSAGE_SIZE); ... Apparently the author of this driver expected strncat() to behave the way that strlcat() does, which uses the size of the destination buffer as its third argument rather than the length of the source buffer. The result is that there is no check on the size of the allocated buffer. Change it to strlcat(). [ bp: Trim compiler output, fixup commit message. ]
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-kvm | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | perf | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| Debian:12 | linux | 6.1.76-1 | DEBIAN-CVE-2023-52464 |
| Debian:13 | linux | 6.6.15-1 | DEBIAN-CVE-2023-52464 |
| Debian:14 | linux | 6.6.15-1 | DEBIAN-CVE-2023-52464 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.8.1.el8_10 | RLSA-2024:4211 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.8.1.rt7.349.el8_10 | RLSA-2024:4352 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1060.69 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1060.69 | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1022.23~22.04.1 | UBUNTU-CVE-2023-52464 |
| 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-fde | 5.15.0-1060.69.1 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1060.69.1 | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1055.63 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1055.63 | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | USN-6818-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1040.46 | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-41.41~22.04.2 | UBUNTU-CVE-2023-52464 |
| 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 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1050.53 | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1052.58 | UBUNTU-CVE-2023-52464 |
| 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 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1054.59 | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-102.112 | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-41.41.1~22.04.1 | UBUNTU-CVE-2023-52464 |
| 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-nvidia | 5.15.0-1048.48 | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1021.22 | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1012.12 | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1024.25 | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| 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-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | 6.5.0-40.40.1~22.04.1 | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-52464 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-52464 |
| 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-52464 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1030.34 | UBUNTU-CVE-2023-52464 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 41003396f932d7f027725c7acebb6a7caa41dc3e – before 71c17ee02538802ceafc830f0736aa35b564e60141003396f932d7f027725c7acebb6a7caa41dc3e – before 5da3b6e7196f0b4f3728e4e25eb20233a9ddfaf641003396f932d7f027725c7acebb6a7caa41dc3e – before 6aa7865ba7ff7f0ede0035180fb3b9400ceb405a41003396f932d7f027725c7acebb6a7caa41dc3e – before 700cf4bead80fac994dcc43ae1ca5d86d8959b2141003396f932d7f027725c7acebb6a7caa41dc3e – before 9dbac9fdae6e3b411fc4c3fca3bf48f70609c39841003396f932d7f027725c7acebb6a7caa41dc3e – before e1c86511241588efffaa49556196f09a498d505741003396f932d7f027725c7acebb6a7caa41dc3e – before 426fae93c01dffa379225eb2bd4d3cdc42c6eec541003396f932d7f027725c7acebb6a7caa41dc3e – before 475c58e1a471e9b873e3e39958c64a2d278275c8 |
| Linux | Linux | 4.12 |
References
- https://git.kernel.org/stable/c/71c17ee02538802ceafc830f0736aa35b564e601
- https://git.kernel.org/stable/c/5da3b6e7196f0b4f3728e4e25eb20233a9ddfaf6
- https://git.kernel.org/stable/c/6aa7865ba7ff7f0ede0035180fb3b9400ceb405a
- https://git.kernel.org/stable/c/700cf4bead80fac994dcc43ae1ca5d86d8959b21
- https://git.kernel.org/stable/c/9dbac9fdae6e3b411fc4c3fca3bf48f70609c398
- https://git.kernel.org/stable/c/e1c86511241588efffaa49556196f09a498d5057
- https://git.kernel.org/stable/c/426fae93c01dffa379225eb2bd4d3cdc42c6eec5
- https://git.kernel.org/stable/c/475c58e1a471e9b873e3e39958c64a2d278275c8
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html