CVE-2023-54056
In the Linux kernel, the following vulnerability has been resolved: kheaders: Use array declaration instead of char Under CONFIG_FORTIFY_SOURCE, memcpy() will check the size of destination and source buffers. Defining kernel_headers_data as "char" would trip this check. Since these addresses are treated as byte arrays, define them as arrays (as done everywhere else). This was seen with: $ cat /sys/kernel/kheaders.tar.xz >> /dev/null detected buffer overflow in memcpy kernel BUG at lib/string_helpers.c:1027! ... RIP: 0010:fortify_panic+0xf/0x20 [...] Call Trace: <TASK> ikheaders_read+0x45/0x50 [kheaders] kernfs_fop_read_iter+0x1a4/0x2f0 ...
Affected versions
Linux kernel versions
5.2
and later are affected. Fixed in
5.4.243,
5.10.180,
5.15.111,
6.1.28,
6.2.15,
6.3.2,
6.4
and their respective stable series.
References
The following references provide additional information about CVE-2023-54056 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4a07d2d511e2703efd4387891d49e0326f1157f3
-
PatchKernel patch commithttps://git.kernel.org/stable/c/719459877d58c8aced5845c1e5b98d8d87d09197
-
PatchKernel patch commithttps://git.kernel.org/stable/c/82d2e01b95c439fe55fab5e04fc83387c42d3a48
Frequently asked questions
-
What is CVE-2023-54056?
CVE-2023-54056 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.2 onward and has been patched in 5.4.243, 5.10.180, 5.15.111 and others. CVE-2023-54056 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-54056?
Yes — CVE-2023-54056 has been patched. Fixed versions include 5.4.243, 5.10.180, 5.15.111 and others. If you are running Linux kernel 5.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-54056 actively exploited?
No — CVE-2023-54056 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.