# CVE-2023-54145: bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 12% of CVEs (2026-11-30)
- Published: 2025-12-24T13:06:58.227Z
- Modified: 2026-06-17T06:46:53.077Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log

It's trivial for user to trigger "verifier log line truncated" warning,
as verifier has a fixed-sized buffer of 1024 bytes (as of now), and there are at
least two pieces of user-provided information that can be output through
this buffer, and both can be arbitrarily sized by user:
  - BTF names;
  - BTF.ext source code lines strings.

Verifier log buffer should be properly sized for typical verifier state
output. But it's sort-of expected that this buffer won't be long enough
in some circumstances. So let's drop the check. In any case code will
work correctly, at worst truncating a part of a single line output.

(As written by CVE List.)

## Affected

- Linux Linux: from a2a7d5701052542cd2260e7659b12443e0a74733 before 40c88c429a598006f91ad7a2b89856cd50b3a008; from a2a7d5701052542cd2260e7659b12443e0a74733 before 926a175026fed5d534f587ea4ec3ec49265cd3c5; from a2a7d5701052542cd2260e7659b12443e0a74733 before cff36398bd4c7d322d424433db437f3c3391c491; 4.15 (not affected: before 4.15; from 6.1.107 up to 6.1.*; from 6.4.7 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/40c88c429a598006f91ad7a2b89856cd50b3a008>
- <https://git.kernel.org/stable/c/926a175026fed5d534f587ea4ec3ec49265cd3c5>
- <https://git.kernel.org/stable/c/cff36398bd4c7d322d424433db437f3c3391c491>

## Sources

- CVE List: [CVE-2023-54145](https://www.cve.org/CVERecord?id=CVE-2023-54145), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54145](https://nvd.nist.gov/vuln/detail/CVE-2023-54145), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54145 · Whole record: https://cve.day/CVE-2023-54145.json · Rebuilt by cve.day 2026-11-25T22:58:35.194Z
