The first one is found by the syzkaller and needs to make a proper distinction between offloaded and dev-bound cases. The second one restores behavior where the offloaded/dev-bound programs with a dead netdev were not correctly skipped during BPF_PROG_GET_NEXT_ID. Stanislav Fomichev (2): netdevsim: don't accept device bound programs bpf: bring back removal of dev-bound id from idr drivers/net/netdevsim/bpf.c | 4 ++-- include/linux/bpf.h | 2 ++ kernel/bpf/offload.c | 3 +++ kernel/bpf/syscall.c | 15 +++++++++++---- 4 files changed, 18 insertions(+), 6 deletions(-) -- 2.42.0.869.gea05f2083d-goog