CVE-2026-92515 bpf: Preserve unique-field state across nested structs
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.11
해결 버전
- 6.11 미만
- 6.12.110 이상
- 6.18.52 이상
- 7.2.6 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/28d5f20ed022ade0fb0bfbf50b78fec782083175 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/373a1e9366e711b89bc5e45bd6edf33ef62402cd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/cec97102d4147e18568c93946014c4c8ebf86fcf (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f08619f060468076e4acbdc10e0713af20d60e65 (새 창)