CVE-2023-52464
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-tools-devel | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-tools | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-livepatch-4.14.343-259.562 | Amazon Linux | 1.0-0.amzn2 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| linux_kernel | linux | 6.7.2, 6.6.14, 6.1.75, 5.15.148, 5.10.209, 5.4.268, 4.19.306 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 41003396f932d7f027725c7acebb6a7caa41dc3e, 41003396f932d7f027725c7acebb6a7caa41dc3e, 41003396f932d7f027725c7acebb6a7caa41dc3e |
| Linux | Linux | 4.12, 0, 4.19.306 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-livepatch-4.14.343-259.562 | 0 |
| linux | linux_kernel | 4.12, 4.12, 4.12 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | python-perf | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Linux | Linux | 41003396f932d7f027725c7acebb6a7caa41dc3e, 6.8, 41003396f932d7f027725c7acebb6a7caa41dc3e |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-devel | 0 |
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