Process accounting resumed general protection fault, probably for non-canonical address 0xdffffc0000000019: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000000c8-0x00000000000000cf] CPU: 0 PID: 5807 Comm: syz-executor.0 Not tainted 6.1.0-rc6-next-20221122 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:xfrm_policy_lookup_bytype.constprop.0.cold+0x21/0x5d Code: 93 67 f2 ff e9 04 fc 5e ff e8 59 de 0b fd 48 8b 44 24 10 48 8d b8 cc 00 00 00 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 20 48 RSP: 0018:ffff88806ce093e8 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 0000000000000019 RSI: ffffffff843d2047 RDI: 00000000000000cc RBP: 0000000000000001 R08: 0000000000000007 R09: fffffffffffff000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f8c13388700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de2d000 CR3: 000000001c110000 CR4: 0000000000350ef0 Call Trace: __xfrm_policy_check+0xdd7/0x2190 raw_rcv+0x334/0x4a0 raw_local_deliver+0x790/0xae0 ip_protocol_deliver_rcu+0xef/0x800 ip_local_deliver_finish+0x2e0/0x4c0 ip_local_deliver+0x1b2/0x200 ip_sublist_rcv_finish+0x274/0x570 ip_sublist_rcv+0x3fd/0x800 ip_list_rcv+0x2a2/0x3a0 __netif_receive_skb_list_core+0x695/0x8d0 netif_receive_skb_list_internal+0x6d0/0xca0 netif_receive_skb_list+0x4f/0x510 ieee80211_rx_napi+0x317/0x380 ieee80211_tasklet_handler+0xd8/0x140 tasklet_action_common.constprop.0+0x208/0x2f0 __do_softirq+0x1c7/0x8f9 do_softirq.part.0+0xd1/0x120 __local_bh_enable_ip+0x10a/0x130 ip_finish_output2+0x73c/0x1fb0 ip_do_fragment+0x1e14/0x24e0 ip_fragment.constprop.0+0x16b/0x240 __ip_finish_output.part.0+0x883/0xd10 ip_output+0x2ec/0x8e0 ip_push_pending_frames+0x30b/0x5c0 raw_sendmsg+0x11b2/0x2b80 inet_sendmsg+0x121/0x150 sock_sendmsg+0x140/0x190 ____sys_sendmsg+0x744/0x930 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f8c15e12b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8c13388188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8c15f25f60 RCX: 00007f8c15e12b19 RDX: 0000000000000000 RSI: 0000000020000780 RDI: 0000000000000006 RBP: 00007f8c15e6cf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1684475f R14: 00007f8c13388300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:xfrm_policy_lookup_bytype.constprop.0.cold+0x21/0x5d Code: 93 67 f2 ff e9 04 fc 5e ff e8 59 de 0b fd 48 8b 44 24 10 48 8d b8 cc 00 00 00 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 20 48 RSP: 0018:ffff88806ce093e8 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 0000000000000019 RSI: ffffffff843d2047 RDI: 00000000000000cc RBP: 0000000000000001 R08: 0000000000000007 R09: fffffffffffff000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f8c13388700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de2d000 CR3: 000000001c110000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 93 xchg %eax,%ebx 1: 67 f2 ff addr32 repnz (bad) 4: e9 04 fc 5e ff jmpq 0xff5efc0d 9: e8 59 de 0b fd callq 0xfd0bde67 e: 48 8b 44 24 10 mov 0x10(%rsp),%rax 13: 48 8d b8 cc 00 00 00 lea 0xcc(%rax),%rdi 1a: b8 ff ff 37 00 mov $0x37ffff,%eax 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 e0 2a shl $0x2a,%rax 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 04 jl 0x3f 3b: 84 d2 test %dl,%dl 3d: 75 20 jne 0x5f 3f: 48 rex.W