------------[ cut here ]------------ WARNING: CPU: 0 PID: 3644 at kernel/softirq.c:376 __local_bh_enable_ip+0x1b3/0x1f0 Modules linked in: CPU: 0 PID: 3644 Comm: udevd 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:ffffc90000007620 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 1ffff92000000ec8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff8897f1fb RBP: ffffc900000076d8 R08: dffffc0000000000 R09: ffffed100f032646 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8880587b2400 R14: ffffc90000007660 R15: 0000000000000201 FS: 00007efd628aac80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75103abc70 CR3: 0000000019a68000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sock_map_delete net/core/sock_map.c:426 [inline] sock_map_delete_elem+0xcb/0x130 net/core/sock_map.c:448 bpf_prog_184aba92259941ce+0x3f/0x43 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: f1 bc f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 7e 1e d6 f6 48 89 df e8 e6 5b d7 f6 e8 81 ec fc f6 fb bf 01 00 00 00 96 e8 c9 f6 65 8b 05 37 14 6e 75 85 c0 74 02 5b c3 e8 74 32 6c RSP: 0018:ffffc90003b3f7d8 EFLAGS: 00000286 RAX: 10f32a56cb53cd00 RBX: ffff888050dfc290 RCX: ffffffff816ac11a RDX: dffffc0000000000 RSI: ffffffff8aebeec0 RDI: 0000000000000001 RBP: 1ffff1100a1bf851 R08: dffffc0000000000 R09: fffffbfff2093046 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001563bc0 R13: 0000000000000006 R14: ffffea0001563bc0 R15: ffff888050dfc288 spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0x10d/0x2e0 mm/filemap.c:256 truncate_inode_folio+0x59/0x70 mm/truncate.c:195 shmem_undo_range+0x570/0x2390 mm/shmem.c:942 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x265/0xa60 mm/shmem.c:1171 evict+0x2a4/0x620 fs/inode.c:666 __dentry_kill+0x436/0x650 fs/dcache.c:607 dentry_kill+0xbb/0x290 dput+0xfb/0x1d0 fs/dcache.c:914 __fput+0x5e4/0x890 fs/file_table.c:328 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:0x7efd625170a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffce7d369b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007efd628aaae0 RCX: 00007efd625170a8 RDX: 0000559d1588f466 RSI: 00007ffce7d361b8 RDI: 0000000000000008 RBP: 000055984c0c0cf0 R08: 0000000000000006 R09: a52546675edc3e5c R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 000055984c0a8af0 R14: 0000000000000008 R15: 000055984c09f910 ---------------- Code disassembly (best guess): 0: f1 int1 1: bc f5 ff 90 53 mov $0x5390fff5,%esp 6: 48 89 fb mov %rdi,%rbx 9: 48 83 c7 18 add $0x18,%rdi d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 12: e8 7e 1e d6 f6 call 0xf6d61e95 17: 48 89 df mov %rbx,%rdi 1a: e8 e6 5b d7 f6 call 0xf6d75c05 1f: e8 81 ec fc f6 call 0xf6fceca5 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 96 e8 c9 f6 call 0xf6c9e8c5 <-- trapping instruction 2f: 65 8b 05 37 14 6e 75 mov %gs:0x756e1437(%rip),%eax # 0x756e146d 36: 85 c0 test %eax,%eax 38: 74 02 je 0x3c 3a: 5b pop %rbx 3b: c3 ret 3c: e8 .byte 0xe8 3d: 74 32 je 0x71 3f: 6c insb (%dx),%es:(%rdi)