# CVE-2023-54056: kheaders: Use array declaration instead of char

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2025-12-24T12:23:04.559Z
- **Modified:** 2026-06-17T06:46:43.437Z

## Who should check

- Anyone running Linux \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 719459877d58c8aced5845c1e5b98d8d87d09197; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< fcd2da2e6bf2640a31a2a5b118b50dc3635c707b; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 4a07d2d511e2703efd4387891d49e0326f1157f3; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< b9f6845a492de20679b84bda6b08be347c5819da; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< d6d1af6b8611801b585c53c0cc63626c8d339e96; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 82d2e01b95c439fe55fab5e04fc83387c42d3a48; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< b69edab47f1da8edd8e7bfdf8c70f51a2a5d89fb
- Anyone running Linux 5.2

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

## Affected and fixed versions

- Linux: \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 719459877d58c8aced5845c1e5b98d8d87d09197; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< fcd2da2e6bf2640a31a2a5b118b50dc3635c707b; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 4a07d2d511e2703efd4387891d49e0326f1157f3; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< b9f6845a492de20679b84bda6b08be347c5819da; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< d6d1af6b8611801b585c53c0cc63626c8d339e96; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 82d2e01b95c439fe55fab5e04fc83387c42d3a48; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< b69edab47f1da8edd8e7bfdf8c70f51a2a5d89fb (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54056. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54056.md
Affected: Linux >= 43d8ce9d65a54846d378545770991e65838981e0, < 719459877d58c8aced5845c1e5b98d8d87d09197; >= 43d8ce9d65a54846d378545770991e65838981e0, < fcd2da2e6bf2640a31a2a5b118b50dc3635c707b; >= 43d8ce9d65a54846d378545770991e65838981e0, < 4a07d2d511e2703efd4387891d49e0326f1157f3; >= 43d8ce9d65a54846d378545…
Fixed in: Linux 719459877d58c8aced5845c1e5b98d8d87d09197, Linux 4a07d2d511e2703efd4387891d49e0326f1157f3, Linux 82d2e01b95c439fe55fab5e04fc83387c42d3a48

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54056 being exploited?

There is no confirmed exploitation: CVE-2023-54056 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54056?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54056?

Linux \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 719459877d58c8aced5845c1e5b98d8d87d09197; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< fcd2da2e6bf2640a31a2a5b118b50dc3635c707b; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 4a07d2d511e2703efd4387891d49e0326f1157f3; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< b9f6845a492de20679b84bda6b08be347c5819da; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< d6d1af6b8611801b585c53c0cc63626c8d339e96; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< 82d2e01b95c439fe55fab5e04fc83387c42d3a48; \>= 43d8ce9d65a54846d378545770991e65838981e0, \< b69edab47f1da8edd8e7bfdf8c70f51a2a5d89fb; Linux 5.2.

### Is there a fix for CVE-2023-54056?

Yes. Fixed in Linux 719459877d58c8aced5845c1e5b98d8d87d09197, Linux 4a07d2d511e2703efd4387891d49e0326f1157f3, Linux 82d2e01b95c439fe55fab5e04fc83387c42d3a48. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54056?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/719459877d58c8aced5845c1e5b98d8d87d09197>
- other: <https://git.kernel.org/stable/c/fcd2da2e6bf2640a31a2a5b118b50dc3635c707b>
- other: <https://git.kernel.org/stable/c/4a07d2d511e2703efd4387891d49e0326f1157f3>
- other: <https://git.kernel.org/stable/c/b9f6845a492de20679b84bda6b08be347c5819da>
- other: <https://git.kernel.org/stable/c/d6d1af6b8611801b585c53c0cc63626c8d339e96>
- other: <https://git.kernel.org/stable/c/82d2e01b95c439fe55fab5e04fc83387c42d3a48>
- other: <https://git.kernel.org/stable/c/b69edab47f1da8edd8e7bfdf8c70f51a2a5d89fb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54056>

HTML: <https://flawdb.com/CVE-2023-54056> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54056>
