{"id":"CVE-2026-92515","state":"PUBLISHED","title":"bpf: Preserve unique-field state across nested structs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Preserve unique-field state across nested structs\n\nbtf_find_struct_field() initializes a fresh seen mask for every recursive\ndescent. Unique special fields in different levels of the same aggregate\ntherefore do not see one another. The duplicate fields can reach\nbtf_parse_fields(), where they trigger an invariant WARN_ON_ONCE(). A\ncrafted user BTF can consequently trigger the warning before map creation\nchecks capabilities.\n\nInitialize the seen mask once in btf_find_field() and pass the same pointer\nthrough struct, datasec, and nested-struct walks. This gives the entire field\ntraversal one shared uniqueness state.","publishedAt":"2026-09-17T16:10:24.159Z","updatedAt":"2026-10-19T09:04:21.819Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"cec97102d4147e18568c93946014c4c8ebf86fcf","versionType":"git"},{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"28d5f20ed022ade0fb0bfbf50b78fec782083175","versionType":"git"},{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"373a1e9366e711b89bc5e45bd6edf33ef62402cd","versionType":"git"},{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"f08619f060468076e4acbdc10e0713af20d60e65","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.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","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/cec97102d4147e18568c93946014c4c8ebf86fcf","https://git.kernel.org/stable/c/28d5f20ed022ade0fb0bfbf50b78fec782083175","https://git.kernel.org/stable/c/373a1e9366e711b89bc5e45bd6edf33ef62402cd","https://git.kernel.org/stable/c/f08619f060468076e4acbdc10e0713af20d60e65"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/92xxx/CVE-2026-92515.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-92515","state":"PUBLISHED","datePublished":"2026-09-17T16:10:24.159Z","dateUpdated":"2026-10-19T09:04:21.819Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-16T12:21:13.873Z"},"containers":{"cna":{"title":"bpf: Preserve unique-field state across nested structs","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Preserve unique-field state across nested structs\n\nbtf_find_struct_field() initializes a fresh seen mask for every recursive\ndescent. Unique special fields in different levels of the same aggregate\ntherefore do not see one another. The duplicate fields can reach\nbtf_parse_fields(), where they trigger an invariant WARN_ON_ONCE(). A\ncrafted user BTF can consequently trigger the warning before map creation\nchecks capabilities.\n\nInitialize the seen mask once in btf_find_field() and pass the same pointer\nthrough struct, datasec, and nested-struct walks. This gives the entire field\ntraversal one shared uniqueness state."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"cec97102d4147e18568c93946014c4c8ebf86fcf","versionType":"git"},{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"28d5f20ed022ade0fb0bfbf50b78fec782083175","versionType":"git"},{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"373a1e9366e711b89bc5e45bd6edf33ef62402cd","versionType":"git"},{"version":"64e8ee814819f21beeeda00d4119221443d77992","status":"affected","lessThan":"f08619f060468076e4acbdc10e0713af20d60e65","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.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","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/cec97102d4147e18568c93946014c4c8ebf86fcf"},{"url":"https://git.kernel.org/stable/c/28d5f20ed022ade0fb0bfbf50b78fec782083175"},{"url":"https://git.kernel.org/stable/c/373a1e9366e711b89bc5e45bd6edf33ef62402cd"},{"url":"https://git.kernel.org/stable/c/f08619f060468076e4acbdc10e0713af20d60e65"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:04:21.819Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}