WARNING: CPU: 0 PID: 3644 at kernel/softirq.c:376 __local_bh_enable_ip+0x1b3/0x1f0 Modules linked in: CPU: 0 PID: 3644 Comm: kworker/u4:6 Not tainted 6.1.84-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: netns cleanup_net RIP: 0010:__local_bh_enable_ip+0x1b3/0x1f0 kernel/softirq.c:376 Code: 04 25 28 00 00 00 48 3b 44 24 60 75 4a 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b e9 d0 fe ff ff e8 3f 00 00 00 eb a2 <0f> 0b e9 02 ff ff ff 48 c7 c1 e4 9e 73 8e 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90004c2f600 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 1ffff92000985ec4 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff88981ad0 RBP: ffffc90004c2f6c0 R08: dffffc0000000000 R09: ffffed100f9f267a R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000004 R14: ffffc90004c2f640 R15: 0000000000000201 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e1bbc1d000 CR3: 0000000027ef2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sock_hash_delete_elem+0x1a0/0x2f0 net/core/sock_map.c:940 bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x1fd/0x410 kernel/trace/bpf_trace.c:2312 __bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:94 trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0xf6/0x190 mm/slab_common.c:994 ref_tracker_dir_exit+0x19e/0x4b0 lib/ref_tracker.c:27 free_netdev+0x2b2/0x4d0 net/core/dev.c:10749 netdev_run_todo+0xdbe/0xf40 net/core/dev.c:10406 default_device_exit_batch+0x95b/0x9d0 net/core/dev.c:11395 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:601 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:307