------------[ cut here ]------------
WARNING: CPU: 0 PID: 5903 at kernel/softirq.c:376 __local_bh_enable_ip+0x1b3/0x1f0
Modules linked in:
CPU: 0 PID: 5903 Comm: syz-executor.3 Not tainted 6.1.84-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
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:ffffc90000007600 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 1ffff92000000ec4 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff88981ad0
RBP: ffffc900000076c0 R08: dffffc0000000000 R09: ffffed1003c35802
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000004 R14: ffffc90000007640 R15: 0000000000000201
FS: 0000555556d9e480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d223000 CR3: 0000000022e0e000 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
dummy_timer+0x838/0x3200 drivers/usb/gadget/udc/dummy_hcd.c:1982
call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
expire_timers kernel/time/timer.c:1549 [inline]
__run_timers+0x67c/0x890 kernel/time/timer.c:1820
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
__do_softirq+0x2e9/0xa4c kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:59 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x4a/0x290 mm/kasan/generic.c:189
Code: 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 47 02 00 00 48 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 ff <49> c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c
RSP: 0018:ffffc9000cd3f518 EFLAGS: 00000a02
RAX: 0000000000000001 RBX: 1ffffffff1ce6d45 RCX: ffffffff816a7a37
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e736a28
RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff1ce6d45
R10: ffffffff8e736a2f R11: dffffc0000000001 R12: 1ffff920019a7eb4
R13: ffffffff8197a5c2 R14: 0000000000000000 R15: dffffc0000000000
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:444 [inline]
cpu_online include/linux/cpumask.h:1030 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xc7/0xa20 kernel/locking/lockdep.c:5673
rcu_lock_release include/linux/rcupdate.h:355 [inline]
rcu_read_unlock include/linux/rcupdate.h:824 [inline]
is_bpf_text_address+0x289/0x2a0 kernel/bpf/core.c:733
kernel_text_address+0x9f/0xd0 kernel/extable.c:125
__kernel_text_address+0x9/0x40 kernel/extable.c:79
unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1724 [inline]
slab_free_freelist_hook mm/slub.c:1750 [inline]
slab_free mm/slub.c:3661 [inline]
__kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674
kobject_uevent_env+0x54a/0x8c0 lib/kobject_uevent.c:626
device_remove drivers/base/dd.c:548 [inline]
__device_release_driver drivers/base/dd.c:1260 [inline]
device_release_driver_internal+0x4f3/0x880 drivers/base/dd.c:1286
driver_detach+0x1f7/0x2d0 drivers/base/dd.c:1349
bus_remove_driver+0xf9/0x250 drivers/base/bus.c:677
usb_gadget_unregister_driver+0x4a/0x70 drivers/usb/gadget/udc/core.c:1708
raw_release+0xf5/0x1e0 drivers/usb/gadget/legacy/raw_gadget.c:415
__fput+0x3b7/0x890 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fcce6e7cd5a
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007ffd7b836cd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fcce6e7cd5a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000226 R08: 0000001b2d620000 R09: 00000000000000b4
R10: 00000000813293fa R11: 0000000000000293 R12: 00007fcce6a01fc0
R13: ffffffffffffffff R14: 00007fcce6a00000 R15: 000000000002a390
----------------
Code disassembly (best guess):
0: 48 c1 ed 2f shr $0x2f,%rbp
4: 81 fd ff ff 01 00 cmp $0x1ffff,%ebp
a: 0f 82 47 02 00 00 jb 0x257
10: 48 89 fb mov %rdi,%rbx
13: 48 c1 eb 03 shr $0x3,%rbx
17: 49 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%r8
1e: fc ff df
21: 4e 8d 0c 03 lea (%rbx,%r8,1),%r9
25: 4c 8d 54 37 ff lea -0x1(%rdi,%rsi,1),%r10
* 2a: 49 c1 ea 03 shr $0x3,%r10 <-- trapping instruction
2e: 49 bb 01 00 00 00 00 movabs $0xdffffc0000000001,%r11
35: fc ff df
38: 4f 8d 34 1a lea (%r10,%r11,1),%r14
3c: 4c 89 f5 mov %r14,%rbp
3f: 4c rex.WR