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.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.3%top 81.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-abi-stablelists4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-core4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-cross-headers4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-core4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-modules4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-modules-extra4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-doc4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-headers4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-modules4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-modules-extra4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-rt4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-core4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-core4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-devel4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-kvm4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-modules4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-modules-extra4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-devel4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-kvm4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-modules4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-modules-extra4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-tools4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-tools-libs4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-tools-libs-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-core4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-modules4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-modules-extra4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8perf4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8python3-perf4.18.0-553.8.1.el8_10ALSA-2024:4211
Debian:12linux6.1.76-1DEBIAN-CVE-2023-52464
Debian:13linux6.6.15-1DEBIAN-CVE-2023-52464
Debian:14linux6.6.15-1DEBIAN-CVE-2023-52464
Rocky Linux:8kernel0:4.18.0-553.8.1.el8_10RLSA-2024:4211
Rocky Linux:8kernel-rt0:4.18.0-553.8.1.rt7.349.el8_10RLSA-2024:4352
Ubuntu:22.04:LTSlinux5.15.0-102.112USN-6725-1
Ubuntu:22.04:LTSlinux5.15.0-102.112UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-aws5.15.0-1057.63USN-6725-2
Ubuntu:22.04:LTSlinux-aws5.15.0-1057.63UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-azure5.15.0-1060.69USN-6725-1
Ubuntu:22.04:LTSlinux-azure5.15.0-1060.69UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-azure-6.56.5.0-1022.23~22.04.1UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-azure-6.56.5.0-1022.23~22.04.1USN-6819-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1060.69.1USN-6725-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1060.69.1UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-gcp5.15.0-1055.63USN-6725-1
Ubuntu:22.04:LTSlinux-gcp5.15.0-1055.63UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-gcp-6.56.5.0-1022.24~22.04.1USN-6818-1
Ubuntu:22.04:LTSlinux-gcp-6.56.5.0-1022.24~22.04.1UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-gke5.15.0-1054.59USN-6725-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1054.59UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1040.46UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1040.46USN-6725-1
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-hwe-6.56.5.0-41.41~22.04.2UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-hwe-6.56.5.0-41.41~22.04.2USN-6818-4
Ubuntu:22.04:LTSlinux-ibm5.15.0-1050.53USN-6725-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1050.53UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1052.58UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1052.58USN-6725-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1054.59USN-6725-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1054.59UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-102.112UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-102.112USN-6725-1
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.56.5.0-41.41.1~22.04.1UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.56.5.0-41.41.1~22.04.1USN-6818-1
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1048.48UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1048.48USN-6725-1
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-nvidia-6.56.5.0-1021.22UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-nvidia-6.56.5.0-1021.22USN-6818-3
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1025.25UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1012.12UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1035.35USN-6688-1
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1035.35UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-oem-6.56.5.0-1024.25UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-oem-6.56.5.0-1024.25USN-6819-3
Ubuntu:22.04:LTSlinux-oracle5.15.0-1055.61USN-6725-1
Ubuntu:22.04:LTSlinux-oracle5.15.0-1055.61UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-oracle-6.56.5.0-1024.24~22.04.1USN-6819-4
Ubuntu:22.04:LTSlinux-oracle-6.56.5.0-1024.24~22.04.1UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-raspi5.15.0-1050.53USN-6725-1
Ubuntu:22.04:LTSlinux-raspi5.15.0-1050.53UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-riscv-6.56.5.0-40.40.1~22.04.1UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-starfive-6.56.5.0-1015.16~22.04.1USN-6819-1
Ubuntu:22.04:LTSlinux-starfive-6.56.5.0-1015.16~22.04.1UBUNTU-CVE-2023-52464
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1030.34UBUNTU-CVE-2023-52464

Affected products (as reported)

VendorProductVersions
Linux Linux 41003396f932d7f027725c7acebb6a7caa41dc3e – before 71c17ee02538802ceafc830f0736aa35b564e60141003396f932d7f027725c7acebb6a7caa41dc3e – before 5da3b6e7196f0b4f3728e4e25eb20233a9ddfaf641003396f932d7f027725c7acebb6a7caa41dc3e – before 6aa7865ba7ff7f0ede0035180fb3b9400ceb405a41003396f932d7f027725c7acebb6a7caa41dc3e – before 700cf4bead80fac994dcc43ae1ca5d86d8959b2141003396f932d7f027725c7acebb6a7caa41dc3e – before 9dbac9fdae6e3b411fc4c3fca3bf48f70609c39841003396f932d7f027725c7acebb6a7caa41dc3e – before e1c86511241588efffaa49556196f09a498d505741003396f932d7f027725c7acebb6a7caa41dc3e – before 426fae93c01dffa379225eb2bd4d3cdc42c6eec541003396f932d7f027725c7acebb6a7caa41dc3e – before 475c58e1a471e9b873e3e39958c64a2d278275c8
Linux Linux 4.12

References