{"id":"CVE-2023-54145","state":"PUBLISHED","title":"bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log\n\nIt's trivial for user to trigger \"verifier log line truncated\" warning,\nas verifier has a fixed-sized buffer of 1024 bytes (as of now), and there are at\nleast two pieces of user-provided information that can be output through\nthis buffer, and both can be arbitrarily sized by user:\n  - BTF names;\n  - BTF.ext source code lines strings.\n\nVerifier log buffer should be properly sized for typical verifier state\noutput. But it's sort-of expected that this buffer won't be long enough\nin some circumstances. So let's drop the check. In any case code will\nwork correctly, at worst truncating a part of a single line output.","publishedAt":"2025-12-24T13:06:58.227Z","updatedAt":"2026-05-11T19:56:21.424Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a2a7d5701052542cd2260e7659b12443e0a74733","status":"affected","lessThan":"40c88c429a598006f91ad7a2b89856cd50b3a008","versionType":"git"},{"version":"a2a7d5701052542cd2260e7659b12443e0a74733","status":"affected","lessThan":"926a175026fed5d534f587ea4ec3ec49265cd3c5","versionType":"git"},{"version":"a2a7d5701052542cd2260e7659b12443e0a74733","status":"affected","lessThan":"cff36398bd4c7d322d424433db437f3c3391c491","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/log.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.15","versionType":"semver"},{"version":"6.1.107","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.7","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/log.c"]}],"references":["https://git.kernel.org/stable/c/40c88c429a598006f91ad7a2b89856cd50b3a008","https://git.kernel.org/stable/c/926a175026fed5d534f587ea4ec3ec49265cd3c5","https://git.kernel.org/stable/c/cff36398bd4c7d322d424433db437f3c3391c491"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/54xxx/CVE-2023-54145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54145","state":"PUBLISHED","datePublished":"2025-12-24T13:06:58.227Z","dateUpdated":"2026-05-11T19:56:21.424Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-24T13:02:52.523Z"},"containers":{"cna":{"title":"bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log\n\nIt's trivial for user to trigger \"verifier log line truncated\" warning,\nas verifier has a fixed-sized buffer of 1024 bytes (as of now), and there are at\nleast two pieces of user-provided information that can be output through\nthis buffer, and both can be arbitrarily sized by user:\n  - BTF names;\n  - BTF.ext source code lines strings.\n\nVerifier log buffer should be properly sized for typical verifier state\noutput. But it's sort-of expected that this buffer won't be long enough\nin some circumstances. So let's drop the check. In any case code will\nwork correctly, at worst truncating a part of a single line output."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a2a7d5701052542cd2260e7659b12443e0a74733","status":"affected","lessThan":"40c88c429a598006f91ad7a2b89856cd50b3a008","versionType":"git"},{"version":"a2a7d5701052542cd2260e7659b12443e0a74733","status":"affected","lessThan":"926a175026fed5d534f587ea4ec3ec49265cd3c5","versionType":"git"},{"version":"a2a7d5701052542cd2260e7659b12443e0a74733","status":"affected","lessThan":"cff36398bd4c7d322d424433db437f3c3391c491","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/log.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.15","versionType":"semver"},{"version":"6.1.107","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.7","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/log.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/40c88c429a598006f91ad7a2b89856cd50b3a008"},{"url":"https://git.kernel.org/stable/c/926a175026fed5d534f587ea4ec3ec49265cd3c5"},{"url":"https://git.kernel.org/stable/c/cff36398bd4c7d322d424433db437f3c3391c491"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:56:21.424Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.1.107"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.4.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}