CVE-2026-92515
Not scored
bpf: Preserve unique-field state across nested structs
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Preserve unique-field state across nested structs btf_find_struct_field() initializes a fresh seen mask for every recursive descent. Unique special fields in different levels of the same aggregate therefore do not see one another. The duplicate fields can reach btf_parse_fields(), where they trigger an invariant WARN_ON_ONCE(). A crafted user BTF can consequently trigger the warning before map creation checks capabilities. Initialize the seen mask once in btf_find_field() and pass the same pointer through struct, datasec, and nested-struct walks. This gives the entire field traversal one shared uniqueness state.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 64e8ee814819f21beeeda00d4119221443d77992 before cec97102d4147e18568c93946014c4c8ebf86fcf, from 64e8ee814819f21beeeda00d4119221443d77992 before 28d5f20ed022ade0fb0bfbf50b78fec782083175, from 64e8ee814819f21beeeda00d4119221443d77992 before 373a1e9366e711b89bc5e45bd6edf33ef62402cd, from 64e8ee814819f21beeeda00d4119221443d77992 before f08619f060468076e4acbdc10e0713af20d60e65, 6.11 Not affected: before 6.11, from 6.12.110 up to 6.12.*, from 6.18.52 up to 6.18.*, from 7.2.6 up to 7.2.*, from 7.3 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-92515 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-92515 changed 2026-10-19 | Public domain |