VDB

CVE-2023-52464

CVE-2023-52464 PUBLISHED

EDAC/thunderx: Fix possible out-of-bounds string access

Reported by linux · Published February 23, 2024

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. ]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux4.14.343-259.562.amzn2
kernel-tools-develAmazon Linux4.14.343-259.562.amzn2
kernelAmazon Linux4.14.343-259.562.amzn2
kernel-toolsAmazon Linux4.14.343-259.562.amzn2
kernel-livepatch-4.14.343-259.562Amazon Linux1.0-0.amzn2
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
linux_kernellinux6.7.2, 6.6.14, 6.1.75, 5.15.148, 5.10.209, 5.4.268, 4.19.306

Affected products

VendorProductVersions
LinuxLinux41003396f932d7f027725c7acebb6a7caa41dc3e, 41003396f932d7f027725c7acebb6a7caa41dc3e, 41003396f932d7f027725c7acebb6a7caa41dc3e
LinuxLinux4.12, 0, 4.19.306
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2kernel-headers0
amazon:2kernel-tools-devel0
amazon:2kernel0
amazon:2kernel-tools0
amazon:2kernel-livepatch-4.14.343-259.5620
linuxlinux_kernel4.12, 4.12, 4.12
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2python-perf0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
LinuxLinux41003396f932d7f027725c7acebb6a7caa41dc3e, 6.8, 41003396f932d7f027725c7acebb6a7caa41dc3e
amazon:2perf0
amazon:2kernel-devel0

Timeline

  • Feb 23, 2024 CVE Published
  • Feb 24, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (5 in total, the first dated here)
  • Jun 3, 2025 CVE Updated
  • Dec 16, 2025 PoC Published
  • Jan 25, 2026 Security Advisory (144 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (132 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52464
vulnetix vdb fixes CVE-2023-52464

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52464/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›