syz-executor964 uses obsolete (PF_INET,SOCK_PACKET) general protection fault, probably for non-canonical address 0xdffffc0000000c04: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000006020-0x0000000000006027] CPU: 0 PID: 3636 Comm: syz-executor964 Not tainted 6.1.0-rc7-syzkaller-00190-g97ee9d1c1696 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:can_rcv_filter+0x36/0x8d0 net/can/af_can.c:584 Code: 53 48 89 fb 48 83 ec 10 48 89 7c 24 08 e8 42 df ce f8 48 8d bb 20 60 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e d1 06 00 00 48 8b 44 24 08 31 RSP: 0018:ffffc90003e0f7e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000c04 RSI: ffffffff88b13afe RDI: 0000000000006020 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880277c7140 R14: ffff888019914000 R15: ffff88814b202000 FS: 00005555571a3300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bb46eb92b8 CR3: 00000000209b1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: can_receive+0x31d/0x580 net/can/af_can.c:664 canfd_rcv+0x166/0x1a0 net/can/af_can.c:703 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5489 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5603 netif_receive_skb_internal net/core/dev.c:5689 [inline] netif_receive_skb+0x16e/0x9e0 net/core/dev.c:5748 tun_rx_batched+0x4b3/0x7a0 drivers/net/tun.c:1547 tun_get_user+0x1e73/0x3ab0 drivers/net/tun.c:2006 tun_chr_write_iter+0xdf/0x200 drivers/net/tun.c:2036 call_write_iter include/linux/fs.h:2199 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9ed/0xdd0 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f159c366d59 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe5fa0c4d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f159c366d59 RDX: 0000000000000056 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007f159c32af00 R08: 00000000ffff8000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f159c32af90 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:can_rcv_filter+0x36/0x8d0 net/can/af_can.c:584 Code: 53 48 89 fb 48 83 ec 10 48 89 7c 24 08 e8 42 df ce f8 48 8d bb 20 60 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e d1 06 00 00 48 8b 44 24 08 31 RSP: 0018:ffffc90003e0f7e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000c04 RSI: ffffffff88b13afe RDI: 0000000000006020 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880277c7140 R14: ffff888019914000 R15: ffff88814b202000 FS: 00005555571a3300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bb46eb92b8 CR3: 00000000209b1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 53 push %rbx 1: 48 89 fb mov %rdi,%rbx 4: 48 83 ec 10 sub $0x10,%rsp 8: 48 89 7c 24 08 mov %rdi,0x8(%rsp) d: e8 42 df ce f8 callq 0xf8cedf54 12: 48 8d bb 20 60 00 00 lea 0x6020(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e d1 06 00 00 jle 0x70b 3a: 48 8b 44 24 08 mov 0x8(%rsp),%rax 3f: 31 .byte 0x31