Subject bpf: Fix a struct_ops use-after-free behind a flaky assoc_in_timer test
Author odys.yuan@gmail.com
Date 2026-10-16 02:59:05 +0000 UTC
Version
Cc ameryhung@gmail.com andrii@kernel.org ast@kernel.org bpf@vger.kernel.org daniel@iogearbox.net eddyz87@gmail.com emil@etsalapatis.com ihor.solodrai@linux.dev jolsa@kernel.org linux-kernel@vger.kernel.org linux-kselftest@vger.kernel.org martin.lau@linux.dev memxor@gmail.com odys.yuan@gmail.com shuah@kernel.org song@kernel.org yonghong.song@linux.dev
Patches (4)
Name Content [All]
[PATCH bpf-next v4 1/4] bpf: Protect the struct_ops association with a spinlock [Body]
[PATCH bpf-next v4 2/4] bpf: Dissociate struct_ops progs before the grace period of the map [Body]
[PATCH bpf-next v4 3/4] selftests/bpf: Test freeing a struct_ops map under a running prog [Body]
[PATCH bpf-next v4 4/4] selftests/bpf: Wait for the struct_ops map to be freed in assoc_in_timer [Body]
Series Summary
Passed
✓ All tests passed. No findings.
Sessions
Session 2026-10-16
Passed
ID (for dev) ea3fa710-60d6-4b43-a745-e6cceb02dd33
Status finished
Triaged OK [Log] [Trajectory]
Execution Log [Link]
Test Base Patched Verdict
[KASAN] Build Base 15b578b1715d9a318c804350d98af87c203672bc [Config] passed [Log]
[KASAN] Boot test: Base 15b578b1715d9a318c804350d98af87c203672bc [Config] passed [Log]
[KASAN] Build Patched 15b578b1715d9a318c804350d98af87c203672bc [Config] [patched] passed [Log]
[KASAN] Boot test: Patched 15b578b1715d9a318c804350d98af87c203672bc [Config] [patched] passed [Log]
[KASAN] Fuzz 15b578b1715d9a318c804350d98af87c203672bc [Config] 15b578b1715d9a318c804350d98af87c203672bc [Config] [patched] passed [Log] [Artifacts]