bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.107, 6.4.7
- CVEs
- CVE-2023-54145
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 23:26 UTC · Revision 1
Source evidence
bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log
core-osv · Original sourcePublished 24 Dec 2025, 13:06 UTC
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.
osv:CVE-2023-54145
Kernel
Fixed versions: 6.1.107, 6.4.7
Complete source record
{
"id": "3da99c23bb94c99ec98d3212d73f5b4cbd3ba9ca258883c47d43d9cba6e74590",
"url": "https://osv.dev/vulnerability/CVE-2023-54145",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log",
"summary": "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.",
"evidence": "osv:CVE-2023-54145",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.107",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-54145",
"aliases": [
"CVE-2023-54145"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a2a7d5701052542cd2260e7659b12443e0a74733"
},
{
"fixed": "40c88c429a598006f91ad7a2b89856cd50b3a008"
},
{
"fixed": "926a175026fed5d534f587ea4ec3ec49265cd3c5"
},
{
"fixed": "cff36398bd4c7d322d424433db437f3c3391c491"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54145.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "6.1.107"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.4.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54145.json"
}
}
],
"modified": "2026-10-28T02:30:32.157092998Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/40c88c429a598006f91ad7a2b89856cd50b3a008",
"https://git.kernel.org/stable/c/926a175026fed5d534f587ea4ec3ec49265cd3c5",
"https://git.kernel.org/stable/c/cff36398bd4c7d322d424433db437f3c3391c491",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54145.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-54145",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54145.json"
}
},
"related_cves": [
{
"value": "CVE-2023-54145",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499250,
"published_at": "2025-12-24T13:06:58.227+00:00"
}