Oops: general protection fault, probably for non-canonical address 0xe01ffbf1100b8bd7: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x00ffff88805c5eb8-0x00ffff88805c5ebf] CPU: 1 PID: 1149 Comm: kworker/1:2 Not tainted 6.10.0-rc2-syzkaller-00010-g2ab795141095 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: wg-crypt-wg1 wg_packet_tx_worker RIP: 0010:__lock_acquire+0xe3e/0x3b30 kernel/locking/lockdep.c:5005 Code: 11 00 00 39 05 93 96 1f 12 0f 82 be 05 00 00 ba 01 00 00 00 e9 e4 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 82 1f 00 00 49 81 3c 24 e0 fd e2 92 0f 84 98 f2 RSP: 0018:ffffc90000598540 EFLAGS: 00010007 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 001ffff1100b8bd7 RSI: ffff888020bd4880 RDI: 00ffff88805c5ebc RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8fe2c097 R11: 0000000000000005 R12: 00ffff88805c5ebc R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f7f12ea0 CR3: 000000005b11e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 __queue_work+0x39e/0x1020 kernel/workqueue.c:2319 queue_work_on+0x11a/0x140 kernel/workqueue.c:2410 wg_queue_enqueue_per_device_and_peer drivers/net/wireguard/queueing.h:176 [inline] wg_packet_consume_data drivers/net/wireguard/receive.c:526 [inline] wg_packet_receive+0xf65/0x2350 drivers/net/wireguard/receive.c:576 wg_receive+0x74/0xc0 drivers/net/wireguard/socket.c:326 udpv6_queue_rcv_one_skb+0xb1b/0x1980 net/ipv6/udp.c:727 udpv6_queue_rcv_skb+0x198/0xd20 net/ipv6/udp.c:789 udp6_unicast_rcv_skb+0x161/0x2f0 net/ipv6/udp.c:929 __udp6_lib_rcv+0x1eea/0x3000 net/ipv6/udp.c:1018 ip6_protocol_deliver_rcu+0x703/0x1530 net/ipv6/ip6_input.c:438 ip6_input_finish+0x14f/0x2f0 net/ipv6/ip6_input.c:483 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip6_input+0xa1/0xd0 net/ipv6/ip6_input.c:492 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ipv6_rcv+0x265/0x680 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5624 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5738 process_backlog+0x133/0x760 net/core/dev.c:6067 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x9b6/0xf10 net/core/dev.c:6906 handle_softirqs+0x216/0x8f0 kernel/softirq.c:554 do_softirq kernel/softirq.c:455 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:442 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382 wg_socket_send_skb_to_peer+0x14c/0x220 drivers/net/wireguard/socket.c:184 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x1aa/0x810 drivers/net/wireguard/send.c:276 process_one_work+0x958/0x1ad0 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xe3e/0x3b30 kernel/locking/lockdep.c:5005 Code: 11 00 00 39 05 93 96 1f 12 0f 82 be 05 00 00 ba 01 00 00 00 e9 e4 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 82 1f 00 00 49 81 3c 24 e0 fd e2 92 0f 84 98 f2 RSP: 0018:ffffc90000598540 EFLAGS: 00010007 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 001ffff1100b8bd7 RSI: ffff888020bd4880 RDI: 00ffff88805c5ebc RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8fe2c097 R11: 0000000000000005 R12: 00ffff88805c5ebc R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f7f12ea0 CR3: 000000005b11e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 11 00 adc %eax,(%rax) 2: 00 39 add %bh,(%rcx) 4: 05 93 96 1f 12 add $0x121f9693,%eax 9: 0f 82 be 05 00 00 jb 0x5cd f: ba 01 00 00 00 mov $0x1,%edx 14: e9 e4 00 00 00 jmp 0xfd 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 e2 mov %r12,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 82 1f 00 00 jne 0x1fb6 34: 49 81 3c 24 e0 fd e2 cmpq $0xffffffff92e2fde0,(%r12) 3b: 92 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: 98 cwtl 3f: f2 repnz