===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected 6.1.84-syzkaller #0 Not tainted ----------------------------------------------------- syz-executor.3/17051 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire: ffff88801be42b68 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0xac/0x2f0 net/core/sock_map.c:932 and this task is already holding: ffff88804bc1a518 (&sighand->siglock){-.-.}-{2:2}, at: force_sig_info_to_task+0x69/0x470 kernel/signal.c:1333 which would create a new lock dependency: (&sighand->siglock){-.-.}-{2:2} -> (&htab->buckets[i].lock){+.-.}-{2:2} but this new dependency connects a HARDIRQ-irq-safe lock: (&sighand->siglock){-.-.}-{2:2} ... which became HARDIRQ-irq-safe at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 __lock_task_sighand+0x145/0x2d0 kernel/signal.c:1410 lock_task_sighand include/linux/sched/signal.h:745 [inline] send_sigqueue+0x1de/0x720 kernel/signal.c:1978 posix_timer_event kernel/time/posix-timers.c:354 [inline] posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:380 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] rmqueue_bulk mm/page_alloc.c:3146 [inline] __rmqueue_pcplist+0x2023/0x2310 mm/page_alloc.c:3749 rmqueue_pcplist mm/page_alloc.c:3791 [inline] rmqueue mm/page_alloc.c:3834 [inline] get_page_from_freelist+0x86c/0x3320 mm/page_alloc.c:4276 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5547 alloc_slab_page+0x6a/0x150 mm/slub.c:1794 allocate_slab mm/slub.c:1939 [inline] new_slab+0x84/0x2d0 mm/slub.c:1992 ___slab_alloc+0xc20/0x1270 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x1a5/0x2d0 mm/slub.c:3422 btrfs_add_delayed_tree_ref+0x248/0x1020 fs/btrfs/delayed-ref.c:930 btrfs_alloc_tree_block+0xf4c/0x1800 fs/btrfs/extent-tree.c:5055 __btrfs_cow_block+0x461/0x1970 fs/btrfs/ctree.c:433 btrfs_cow_block+0x355/0xa90 fs/btrfs/ctree.c:605 btrfs_search_slot+0xbe5/0x2f00 fs/btrfs/ctree.c:2067 btrfs_lookup_inode+0xd8/0x480 fs/btrfs/inode-item.c:406 __btrfs_update_delayed_inode+0x1ed/0xaa0 fs/btrfs/delayed-inode.c:1017 btrfs_update_delayed_inode fs/btrfs/delayed-inode.c:1098 [inline] __btrfs_commit_inode_delayed_items+0x2292/0x23e0 fs/btrfs/delayed-inode.c:1118 __btrfs_run_delayed_items+0x213/0x490 fs/btrfs/delayed-inode.c:1152 btrfs_commit_transaction+0xb39/0x3c70 fs/btrfs/transaction.c:2283 sync_filesystem+0x1bc/0x220 fs/sync.c:66 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_anon_super+0x37/0x60 fs/super.c:1117 btrfs_kill_super+0x3d/0x50 fs/btrfs/super.c:2449 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 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 to a HARDIRQ-irq-unsafe lock: (&htab->buckets[i].lock){+.-.}-{2:2} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 sock_hash_free+0x160/0x820 net/core/sock_map.c:1149 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 other info that might help us debug this: Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&htab->buckets[i].lock); local_irq_disable(); lock(&sighand->siglock); lock(&htab->buckets[i].lock); lock(&sighand->siglock); *** DEADLOCK *** 2 locks held by syz-executor.3/17051: #0: ffff88804bc1a518 (&sighand->siglock){-.-.}-{2:2}, at: force_sig_info_to_task+0x69/0x470 kernel/signal.c:1333 #1: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #1: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #1: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2272 [inline] #1: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 kernel/trace/bpf_trace.c:2314 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&sighand->siglock){-.-.}-{2:2} { IN-HARDIRQ-W at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 __lock_task_sighand+0x145/0x2d0 kernel/signal.c:1410 lock_task_sighand include/linux/sched/signal.h:745 [inline] send_sigqueue+0x1de/0x720 kernel/signal.c:1978 posix_timer_event kernel/time/posix-timers.c:354 [inline] posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:380 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] rmqueue_bulk mm/page_alloc.c:3146 [inline] __rmqueue_pcplist+0x2023/0x2310 mm/page_alloc.c:3749 rmqueue_pcplist mm/page_alloc.c:3791 [inline] rmqueue mm/page_alloc.c:3834 [inline] get_page_from_freelist+0x86c/0x3320 mm/page_alloc.c:4276 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5547 alloc_slab_page+0x6a/0x150 mm/slub.c:1794 allocate_slab mm/slub.c:1939 [inline] new_slab+0x84/0x2d0 mm/slub.c:1992 ___slab_alloc+0xc20/0x1270 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x1a5/0x2d0 mm/slub.c:3422 btrfs_add_delayed_tree_ref+0x248/0x1020 fs/btrfs/delayed-ref.c:930 btrfs_alloc_tree_block+0xf4c/0x1800 fs/btrfs/extent-tree.c:5055 __btrfs_cow_block+0x461/0x1970 fs/btrfs/ctree.c:433 btrfs_cow_block+0x355/0xa90 fs/btrfs/ctree.c:605 btrfs_search_slot+0xbe5/0x2f00 fs/btrfs/ctree.c:2067 btrfs_lookup_inode+0xd8/0x480 fs/btrfs/inode-item.c:406 __btrfs_update_delayed_inode+0x1ed/0xaa0 fs/btrfs/delayed-inode.c:1017 btrfs_update_delayed_inode fs/btrfs/delayed-inode.c:1098 [inline] __btrfs_commit_inode_delayed_items+0x2292/0x23e0 fs/btrfs/delayed-inode.c:1118 __btrfs_run_delayed_items+0x213/0x490 fs/btrfs/delayed-inode.c:1152 btrfs_commit_transaction+0xb39/0x3c70 fs/btrfs/transaction.c:2283 sync_filesystem+0x1bc/0x220 fs/sync.c:66 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_anon_super+0x37/0x60 fs/super.c:1117 btrfs_kill_super+0x3d/0x50 fs/btrfs/super.c:2449 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 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 IN-SOFTIRQ-W at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 __lock_task_sighand+0x145/0x2d0 kernel/signal.c:1410 lock_task_sighand include/linux/sched/signal.h:745 [inline] send_sigqueue+0x1de/0x720 kernel/signal.c:1978 posix_timer_event kernel/time/posix-timers.c:354 [inline] posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:380 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 arch_test_and_set_bit arch/x86/include/asm/bitops.h:138 [inline] test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:72 [inline] queue_work_on+0x1f4/0x250 kernel/workqueue.c:1547 wg_packet_receive+0xe2c/0x2390 drivers/net/wireguard/receive.c:570 wg_receive+0x71/0xa0 drivers/net/wireguard/socket.c:326 udp_queue_rcv_one_skb+0x1611/0x1860 net/ipv4/udp.c:2141 udp_unicast_rcv_skb+0x206/0x350 net/ipv4/udp.c:2378 __udp4_lib_rcv+0x1236/0x24d0 net/ipv4/udp.c:2450 ip_protocol_deliver_rcu+0x381/0x740 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2b4/0x4f0 net/ipv4/ip_input.c:233 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302 __netif_receive_skb_one_core net/core/dev.c:5528 [inline] __netif_receive_skb+0x1c6/0x530 net/core/dev.c:5642 process_backlog+0x381/0x760 net/core/dev.c:5970 __napi_poll+0xc7/0x470 net/core/dev.c:6537 napi_poll net/core/dev.c:6604 [inline] net_rx_action+0x70f/0xeb0 net/core/dev.c:6718 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571 do_softirq+0x162/0x240 kernel/softirq.c:472 __local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:396 wg_socket_send_skb_to_peer+0x172/0x1d0 drivers/net/wireguard/socket.c:184 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0x1d9/0x310 drivers/net/wireguard/send.c:51 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 INITIAL USE at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:376 [inline] calculate_sigpending+0x4a/0x80 kernel/signal.c:195 ret_from_fork+0x8/0x30 arch/x86/entry/entry_64.S:292 } ... key at: [] sighand_ctor.__key+0x0/0x20 the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock: -> (&htab->buckets[i].lock){+.-.}-{2:2} { HARDIRQ-ON-W at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 sock_hash_free+0x160/0x820 net/core/sock_map.c:1149 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 IN-SOFTIRQ-W at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0xac/0x2f0 net/core/sock_map.c:932 bpf_prog_a8aaa52f2e199321+0x42/0x46 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_run4+0x253/0x470 kernel/trace/bpf_trace.c:2314 __bpf_trace_mm_page_alloc+0xba/0xe0 include/trace/events/kmem.h:177 trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] __alloc_pages+0x717/0x770 mm/page_alloc.c:5569 __alloc_pages_node include/linux/gfp.h:237 [inline] alloc_pages_node+0x127/0x1b0 include/linux/gfp.h:260 page_frag_alloc_1k net/core/skbuff.c:163 [inline] __napi_alloc_skb+0x34b/0x520 net/core/skbuff.c:681 napi_alloc_skb include/linux/skbuff.h:3231 [inline] page_to_skb+0x282/0xb60 drivers/net/virtio_net.c:501 receive_mergeable drivers/net/virtio_net.c:1128 [inline] receive_buf+0x436/0x5520 drivers/net/virtio_net.c:1267 virtnet_receive drivers/net/virtio_net.c:1562 [inline] virtnet_poll+0x6d3/0x1470 drivers/net/virtio_net.c:1680 __napi_poll+0xc7/0x470 net/core/dev.c:6537 napi_poll net/core/dev.c:6604 [inline] net_rx_action+0x70f/0xeb0 net/core/dev.c:6718 __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 common_interrupt+0xa4/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:644 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 hrtimer_start_expires include/linux/hrtimer.h:434 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1966 [inline] do_nanosleep+0x153/0x5f0 kernel/time/hrtimer.c:2042 hrtimer_nanosleep+0x24d/0x490 kernel/time/hrtimer.c:2098 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1308 [inline] __se_sys_clock_nanosleep+0x323/0x3b0 kernel/time/posix-timers.c:1285 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd INITIAL USE at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 sock_hash_free+0x160/0x820 net/core/sock_map.c:1149 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 } ... key at: [] sock_hash_alloc.__key+0x0/0x20 ... acquired at: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0xac/0x2f0 net/core/sock_map.c:932 bpf_prog_a8aaa52f2e199321+0x42/0x46 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_run4+0x253/0x470 kernel/trace/bpf_trace.c:2314 __bpf_trace_mm_page_alloc+0xba/0xe0 include/trace/events/kmem.h:177 trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] __alloc_pages+0x717/0x770 mm/page_alloc.c:5569 alloc_slab_page+0x6a/0x150 mm/slub.c:1794 allocate_slab mm/slub.c:1939 [inline] new_slab+0x84/0x2d0 mm/slub.c:1992 ___slab_alloc+0xc20/0x1270 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x1a5/0x2d0 mm/slub.c:3422 __sigqueue_alloc+0x42e/0x540 kernel/signal.c:435 __send_signal_locked+0x22f/0xdc0 kernel/signal.c:1128 force_sig_info_to_task+0x327/0x470 kernel/signal.c:1353 force_sig_fault_to_task kernel/signal.c:1724 [inline] force_sig_fault+0x127/0x1d0 kernel/signal.c:1730 do_user_addr_fault arch/x86/mm/fault.c:1427 [inline] handle_page_fault arch/x86/mm/fault.c:1462 [inline] exc_page_fault+0x3ab/0x660 arch/x86/mm/fault.c:1518 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 stack backtrace: CPU: 1 PID: 17051 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 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_bad_irq_dependency kernel/locking/lockdep.c:2604 [inline] check_irq_usage kernel/locking/lockdep.c:2843 [inline] check_prev_add kernel/locking/lockdep.c:3094 [inline] check_prevs_add kernel/locking/lockdep.c:3209 [inline] validate_chain+0x4d16/0x5950 kernel/locking/lockdep.c:3825 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0xac/0x2f0 net/core/sock_map.c:932 bpf_prog_a8aaa52f2e199321+0x42/0x46 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_run4+0x253/0x470 kernel/trace/bpf_trace.c:2314 __bpf_trace_mm_page_alloc+0xba/0xe0 include/trace/events/kmem.h:177 trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] __alloc_pages+0x717/0x770 mm/page_alloc.c:5569 alloc_slab_page+0x6a/0x150 mm/slub.c:1794 allocate_slab mm/slub.c:1939 [inline] new_slab+0x84/0x2d0 mm/slub.c:1992 ___slab_alloc+0xc20/0x1270 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x1a5/0x2d0 mm/slub.c:3422 __sigqueue_alloc+0x42e/0x540 kernel/signal.c:435 __send_signal_locked+0x22f/0xdc0 kernel/signal.c:1128 force_sig_info_to_task+0x327/0x470 kernel/signal.c:1353 force_sig_fault_to_task kernel/signal.c:1724 [inline] force_sig_fault+0x127/0x1d0 kernel/signal.c:1730 do_user_addr_fault arch/x86/mm/fault.c:1427 [inline] handle_page_fault arch/x86/mm/fault.c:1462 [inline] exc_page_fault+0x3ab/0x660 arch/x86/mm/fault.c:1518 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f4436c2c435 Code: 83 f8 04 0f 84 d7 01 00 00 0f 87 a1 00 00 00 48 83 f8 01 75 4a 48 8b 44 24 20 48 0b 44 24 28 0f 84 9c 01 00 00 48 8b 44 24 10 <0f> b6 30 48 8b 44 24 08 48 85 c0 0f 84 3d 02 00 00 48 83 f8 01 0f RSP: 002b:00007fff00b10610 EFLAGS: 00010202 RAX: 00000000200007e1 RBX: 0000000004000001 RCX: 0000000000000000 RDX: 136676bda82f8419 RSI: 0000000000000000 RDI: 0000555556f86360 RBP: 0000000004000001 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f44368038e8 R13: fffffffffffffffe R14: 00007f4436800000 R15: 00007f44368038f0 ------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 1 PID: 17051 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Modules linked in: CPU: 1 PID: 17051 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:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Code: 24 48 c7 c7 00 bc ea 8a e8 6c f5 fd ff 80 3d 2f 5b d5 03 00 74 01 c3 c6 05 25 5b d5 03 01 48 c7 c7 60 e6 eb 8a e8 23 64 c8 f6 <0f> 0b c3 41 56 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 RSP: 0000:ffffc9000356fcd8 EFLAGS: 00010246 RAX: 7e33743ed25e0f00 RBX: 1ffff920006adfa0 RCX: ffff888062b98000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000356fd70 R08: ffffffff81527eae R09: fffff520006adefd R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920006adf9c R14: ffffc9000356fd00 R15: 0000000000000246 FS: 0000555556f86480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200007e1 CR3: 000000001be26000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x118/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] force_sig_info_to_task+0x34a/0x470 kernel/signal.c:1354 force_sig_fault_to_task kernel/signal.c:1724 [inline] force_sig_fault+0x127/0x1d0 kernel/signal.c:1730 do_user_addr_fault arch/x86/mm/fault.c:1427 [inline] handle_page_fault arch/x86/mm/fault.c:1462 [inline] exc_page_fault+0x3ab/0x660 arch/x86/mm/fault.c:1518 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f4436c2c435 Code: 83 f8 04 0f 84 d7 01 00 00 0f 87 a1 00 00 00 48 83 f8 01 75 4a 48 8b 44 24 20 48 0b 44 24 28 0f 84 9c 01 00 00 48 8b 44 24 10 <0f> b6 30 48 8b 44 24 08 48 85 c0 0f 84 3d 02 00 00 48 83 f8 01 0f RSP: 002b:00007fff00b10610 EFLAGS: 00010202 RAX: 00000000200007e1 RBX: 0000000004000001 RCX: 0000000000000000 RDX: 136676bda82f8419 RSI: 0000000000000000 RDI: 0000555556f86360 RBP: 0000000004000001 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f44368038e8 R13: fffffffffffffffe R14: 00007f4436800000 R15: 00007f44368038f0