{"id":"CVE-2026-92516","state":"PUBLISHED","title":"bpf: Fix offset warn check for bpf_res_spin_lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix offset warn check for bpf_res_spin_lock\n\nSashiko pointed out correctly that the case statement for\nBPF_RES_SPIN_LOCK incorrectly checks offset for BPF_SPIN_LOCK.\nFix it by checking res_spin_lock_off instead.","publishedAt":"2026-09-17T16:10:24.804Z","updatedAt":"2026-10-19T09:04:22.764Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0de2046137f976e7302d43ac01d9894d07ac1fff","status":"affected","lessThan":"dfdce1f20a7e5e826165c556fd3367c65387e966","versionType":"git"},{"version":"0de2046137f976e7302d43ac01d9894d07ac1fff","status":"affected","lessThan":"92356df4aa2b044b62bc7e45e0d99231af147f29","versionType":"git"},{"version":"0de2046137f976e7302d43ac01d9894d07ac1fff","status":"affected","lessThan":"04e19012efaec2bfd8c3b37fd8a6c3f1fe731ffc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/btf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/btf.c"]}],"references":["https://git.kernel.org/stable/c/dfdce1f20a7e5e826165c556fd3367c65387e966","https://git.kernel.org/stable/c/92356df4aa2b044b62bc7e45e0d99231af147f29","https://git.kernel.org/stable/c/04e19012efaec2bfd8c3b37fd8a6c3f1fe731ffc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/92xxx/CVE-2026-92516.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-92516","state":"PUBLISHED","datePublished":"2026-09-17T16:10:24.804Z","dateUpdated":"2026-10-19T09:04:22.764Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-16T12:21:13.873Z"},"containers":{"cna":{"title":"bpf: Fix offset warn check for bpf_res_spin_lock","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix offset warn check for bpf_res_spin_lock\n\nSashiko pointed out correctly that the case statement for\nBPF_RES_SPIN_LOCK incorrectly checks offset for BPF_SPIN_LOCK.\nFix it by checking res_spin_lock_off instead."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0de2046137f976e7302d43ac01d9894d07ac1fff","status":"affected","lessThan":"dfdce1f20a7e5e826165c556fd3367c65387e966","versionType":"git"},{"version":"0de2046137f976e7302d43ac01d9894d07ac1fff","status":"affected","lessThan":"92356df4aa2b044b62bc7e45e0d99231af147f29","versionType":"git"},{"version":"0de2046137f976e7302d43ac01d9894d07ac1fff","status":"affected","lessThan":"04e19012efaec2bfd8c3b37fd8a6c3f1fe731ffc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/btf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/btf.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/dfdce1f20a7e5e826165c556fd3367c65387e966"},{"url":"https://git.kernel.org/stable/c/92356df4aa2b044b62bc7e45e0d99231af147f29"},{"url":"https://git.kernel.org/stable/c/04e19012efaec2bfd8c3b37fd8a6c3f1fe731ffc"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:04:22.764Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}