CVE-2023-52464

High

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

Package Linux Kernel
Published 2024-02-23
Last modified 2024-11-21
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-119

CVE-2023-52464 is a Buffer Overflow vulnerability

What is Buffer Overflow?

The product performs operations on a memory buffer but reads or writes outside its intended boundaries. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.12 and later are affected. Fixed in 4.19.306, 5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2, 6.8 and their respective stable series.

Affected from
≥ 4.12
Fixed in
✓ 4.19.306 4.19.x ✓ 5.4.268 5.4.x ✓ 5.10.209 5.10.x ✓ 5.15.148 5.15.x ✓ 6.1.75 6.1.x ✓ 6.6.14 6.6.x ✓ 6.7.2 6.7.x ✓ 6.8

Frequently asked questions

  • What is CVE-2023-52464?

    CVE-2023-52464 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as a Buffer Overflow flaw (CWE-119) . It affects Linux kernel versions from 4.12 onward and has been patched in 4.19.306, 5.4.268, 5.10.209 and others. CVE-2023-52464 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2023-52464?

    CVE-2023-52464 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2023-52464?

    Yes. CVE-2023-52464 has been patched. Fixed versions include 4.19.306, 5.4.268, 5.10.209 and others. If you are running Linux kernel 4.12 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2023-52464 actively exploited?

    No. CVE-2023-52464 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.