syz-executor217 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: 1 PID: 3630 Comm: syz-executor217 Not tainted 6.1.0-rc7-syzkaller-01763-g65e6af6cebef #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 d2 be cc 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:ffffc90003c6f7e8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000c04 RSI: ffffffff88b3603e RDI: 0000000000006020
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880202dd000 R14: ffff88807cf1c000 R15: ffff88814abdac00
FS:  0000555556298300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000045e5f0 CR3: 0000000079607000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 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:5482
 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5596
 netif_receive_skb_internal net/core/dev.c:5682 [inline]
 netif_receive_skb+0x16e/0x9e0 net/core/dev.c:5741
 tun_rx_batched+0x4b3/0x7a0 drivers/net/tun.c:1547
 tun_get_user+0x23c3/0x3870 drivers/net/tun.c:1983
 tun_chr_write_iter+0xdf/0x200 drivers/net/tun.c:2029
 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:0x7fdbac280d59
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:00007ffe02599c08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdbac280d59
RDX: 0000000000000056 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 00007fdbac244f00 R08: 00000000ffff8000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdbac244f90
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
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 d2 be cc 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:ffffc90003c6f7e8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000c04 RSI: ffffffff88b3603e RDI: 0000000000006020
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880202dd000 R14: ffff88807cf1c000 R15: ffff88814abdac00
FS:  0000555556298300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000045e5f0 CR3: 0000000079607000 CR4: 00000000003506e0
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 d2 be cc f8       	callq  0xf8ccbee4
  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