{"id":"CVE-2026-45971","state":"PUBLISHED","title":"bpf: Limit bpf program signature size","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Limit bpf program signature size\n\nPractical BPF signatures are significantly smaller than\nKMALLOC_MAX_CACHE_SIZE\n\nAllowing larger sizes opens the door for abuse by passing excessive\nsize values and forcing the kernel into expensive allocation paths (via\nkmalloc_large or vmalloc).","publishedAt":"2026-05-27T12:18:30.651Z","updatedAt":"2026-05-27T12:18:30.651Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"349271568303695f0ac3563af153d2b4542f6986","status":"affected","lessThan":"5835a077c6f5c565d525eaca9fac01572b97a9b9","versionType":"git"},{"version":"349271568303695f0ac3563af153d2b4542f6986","status":"affected","lessThan":"eb8166c79097996396468a341de258a798789d36","versionType":"git"},{"version":"349271568303695f0ac3563af153d2b4542f6986","status":"affected","lessThan":"ea1535e28bb3773fc0b3cbd1f3842b808016990c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]}],"references":["https://git.kernel.org/stable/c/5835a077c6f5c565d525eaca9fac01572b97a9b9","https://git.kernel.org/stable/c/eb8166c79097996396468a341de258a798789d36","https://git.kernel.org/stable/c/ea1535e28bb3773fc0b3cbd1f3842b808016990c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45971.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45971","state":"PUBLISHED","datePublished":"2026-05-27T12:18:30.651Z","dateUpdated":"2026-05-27T12:18:30.651Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.089Z"},"containers":{"cna":{"title":"bpf: Limit bpf program signature size","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Limit bpf program signature size\n\nPractical BPF signatures are significantly smaller than\nKMALLOC_MAX_CACHE_SIZE\n\nAllowing larger sizes opens the door for abuse by passing excessive\nsize values and forcing the kernel into expensive allocation paths (via\nkmalloc_large or vmalloc)."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"349271568303695f0ac3563af153d2b4542f6986","status":"affected","lessThan":"5835a077c6f5c565d525eaca9fac01572b97a9b9","versionType":"git"},{"version":"349271568303695f0ac3563af153d2b4542f6986","status":"affected","lessThan":"eb8166c79097996396468a341de258a798789d36","versionType":"git"},{"version":"349271568303695f0ac3563af153d2b4542f6986","status":"affected","lessThan":"ea1535e28bb3773fc0b3cbd1f3842b808016990c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5835a077c6f5c565d525eaca9fac01572b97a9b9"},{"url":"https://git.kernel.org/stable/c/eb8166c79097996396468a341de258a798789d36"},{"url":"https://git.kernel.org/stable/c/ea1535e28bb3773fc0b3cbd1f3842b808016990c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-27T12:18:30.651Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}