CVE-2023-54145 Details
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.
A vulnerability in the Linux kernel's BPF verifier has been addressed, which involved an unnecessary user-triggerable warning about log buffer truncation. The verifier's log buffer is fixed at 1024 bytes, allowing users to generate warnings by providing arbitrarily sized BTF names and source code line strings. While the buffer may not always accommodate longer outputs, the verifier operates correctly, with any excess output simply being truncated. The warning has been removed to prevent user confusion.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/40c88c429a598006f91ad7a2b89856cd50b3a008 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/926a175026fed5d534f587ea4ec3ec49265cd3c5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cff36398bd4c7d322d424433db437f3c3391c491 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion