CVE-2023-54056
publishedkheaders: Use array declaration instead of char
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux43d8ce9d65a54846d378545770991e65838981e0 to < 719459877d58c8aced5845c1e5b98d8d87d09197 · 43d8ce9d65a54846d378545770991e65838981e0 to < fcd2da2e6bf2640a31a2a5b118b50dc3635c707b · 43d8ce9d65a54846d378545770991e65838981e0 to < 4a07d2d511e2703efd4387891d49e0326f1157f3 · 43d8ce9d65a54846d378545770991e65838981e0 to < b9f6845a492de20679b84bda6b08be347c5819da · 43d8ce9d65a54846d378545770991e65838981e0 to < d6d1af6b8611801b585c53c0cc63626c8d339e96 · 43d8ce9d65a54846d378545770991e65838981e0 to < 82d2e01b95c439fe55fab5e04fc83387c42d3a48 · 43d8ce9d65a54846d378545770991e65838981e0 to < b69edab47f1da8edd8e7bfdf8c70f51a2a5d89fb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.2 (affected) · 0 to < 5.2 (unaffected · semver) · 5.4.243 through 5.4.* (unaffected · semver) · 5.10.180 through 5.10.* (unaffected · semver) · 5.15.111 through 5.15.* (unaffected · semver) · 6.1.28 through 6.1.* (unaffected · semver) · 6.2.15 through 6.2.* (unaffected · semver) · 6.3.2 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-034 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-021 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-047 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-184 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2023-184 |
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2023-184 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2023-184 |
Description
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 ...
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 43d8ce9d65a54846d378545770991e65838981e0 to < 719459877d58c8aced5845c1e5b98d8d87d09197 (affected · git)43d8ce9d65a54846d378545770991e65838981e0 to < fcd2da2e6bf2640a31a2a5b118b50dc3635c707b (affected · git)43d8ce9d65a54846d378545770991e65838981e0 to < 4a07d2d511e2703efd4387891d49e0326f1157f3 (affected · git)43d8ce9d65a54846d378545770991e65838981e0 to < b9f6845a492de20679b84bda6b08be347c5819da (affected · git)43d8ce9d65a54846d378545770991e65838981e0 to < d6d1af6b8611801b585c53c0cc63626c8d339e96 (affected · git)43d8ce9d65a54846d378545770991e65838981e0 to < 82d2e01b95c439fe55fab5e04fc83387c42d3a48 (affected · git)43d8ce9d65a54846d378545770991e65838981e0 to < b69edab47f1da8edd8e7bfdf8c70f51a2a5d89fb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.2 (affected)0 to < 5.2 (unaffected · semver)5.4.243 through 5.4.* (unaffected · semver)5.10.180 through 5.10.* (unaffected · semver)5.15.111 through 5.15.* (unaffected · semver)6.1.28 through 6.1.* (unaffected · semver)6.2.15 through 6.2.* (unaffected · semver)6.3.2 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/4a07d2d511e2703efd4387891d49e0326f1157f3
- https://git.kernel.org/stable/c/719459877d58c8aced5845c1e5b98d8d87d09197
- https://git.kernel.org/stable/c/82d2e01b95c439fe55fab5e04fc83387c42d3a48
- https://git.kernel.org/stable/c/b69edab47f1da8edd8e7bfdf8c70f51a2a5d89fb
- https://git.kernel.org/stable/c/b9f6845a492de20679b84bda6b08be347c5819da
- https://git.kernel.org/stable/c/d6d1af6b8611801b585c53c0cc63626c8d339e96
- https://git.kernel.org/stable/c/fcd2da2e6bf2640a31a2a5b118b50dc3635c707b
Provider assertions
1Linux · cna
kheaders: Use array declaration instead of char
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aaebd893f0b593720db7cf63a8278f5d33869952dc4cecd2c48f93cd700977df
- Ingested
- 23 Sep 2026, 08:15:07 UTC
- Source record
- Official CVE record