# CVE-2023-54145: bpf: drop unnecessary user-triggerable WARN\_ONCE in verifierl log

> 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.27% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T13:06:58.227Z
- **Modified:** 2026-06-17T06:46:53.077Z

## Who should check

- Anyone running Linux \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< 40c88c429a598006f91ad7a2b89856cd50b3a008; \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< 926a175026fed5d534f587ea4ec3ec49265cd3c5; \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< cff36398bd4c7d322d424433db437f3c3391c491
- Anyone running Linux 4.15

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

## Affected and fixed versions

- Linux: \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< 40c88c429a598006f91ad7a2b89856cd50b3a008; \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< 926a175026fed5d534f587ea4ec3ec49265cd3c5; \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< cff36398bd4c7d322d424433db437f3c3391c491 (cvelist)
- Linux: 4.15 (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-54145. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54145.md
Affected: Linux >= a2a7d5701052542cd2260e7659b12443e0a74733, < 40c88c429a598006f91ad7a2b89856cd50b3a008; >= a2a7d5701052542cd2260e7659b12443e0a74733, < 926a175026fed5d534f587ea4ec3ec49265cd3c5; >= a2a7d5701052542cd2260e7659b12443e0a74733, < cff36398bd4c7d322d424433db437f3c3391c491; Linux 4.15
Fixed in: Linux 40c88c429a598006f91ad7a2b89856cd50b3a008, Linux 926a175026fed5d534f587ea4ec3ec49265cd3c5

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-54145 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< 40c88c429a598006f91ad7a2b89856cd50b3a008; \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< 926a175026fed5d534f587ea4ec3ec49265cd3c5; \>= a2a7d5701052542cd2260e7659b12443e0a74733, \< cff36398bd4c7d322d424433db437f3c3391c491; Linux 4.15.

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

Yes. Fixed in Linux 40c88c429a598006f91ad7a2b89856cd50b3a008, Linux 926a175026fed5d534f587ea4ec3ec49265cd3c5. No fix listed yet: follow the vendor advisory.

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

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/40c88c429a598006f91ad7a2b89856cd50b3a008>
- other: <https://git.kernel.org/stable/c/926a175026fed5d534f587ea4ec3ec49265cd3c5>
- other: <https://git.kernel.org/stable/c/cff36398bd4c7d322d424433db437f3c3391c491>

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

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