general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 3685 Comm: syz-executor297 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:hlist_add_head_rcu include/linux/rculist.h:587 [inline]
RIP: 0010:can_rx_register+0x365/0x6a0 net/can/af_can.c:477
Code: ee 03 49 89 4f 30 80 3c 16 00 0f 85 e3 02 00 00 48 8b 4c 24 18 48 89 c6 48 ba 00 00 00 00 00 fc ff df 48 c1 ee 03 49 89 4f 38 <80> 3c 16 00 0f 85 aa 02 00 00 48 ba 00 00 00 00 00 fc ff df 4c 89
RSP: 0018:ffffc9000323fc10 EFLAGS: 00010202
RAX: 0000000000000008 RBX: 0000000000000000 RCX: ffff88807684c000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888071197038
RBP: ffff88801b1d5540 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 1ffffffff1fce765 R12: 0000000000000000
R13: 1ffff92000647f87 R14: ffff88807ca46ac8 R15: ffff888071197000
FS: 00007f8aee0e3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8aee0c2718 CR3: 00000000716db000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
raw_enable_filters+0xe2/0x200 net/can/raw.c:193
raw_enable_allfilters+0x82/0x290 net/can/raw.c:259
raw_bind+0x2ba/0xb50 net/can/raw.c:455
__sys_bind+0x1e9/0x250 net/socket.c:1776
__do_sys_bind net/socket.c:1787 [inline]
__se_sys_bind net/socket.c:1785 [inline]
__x64_sys_bind+0x6f/0xb0 net/socket.c:1785
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f8aee13b549
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 18 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8aee0e3318 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00007f8aee1bd4c8 RCX: 00007f8aee13b549
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 00007f8aee1bd4c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8aee18a248
R13: 00007ffef4154c0f R14: 00007f8aee0e3400 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hlist_add_head_rcu include/linux/rculist.h:587 [inline]
RIP: 0010:can_rx_register+0x365/0x6a0 net/can/af_can.c:477
Code: ee 03 49 89 4f 30 80 3c 16 00 0f 85 e3 02 00 00 48 8b 4c 24 18 48 89 c6 48 ba 00 00 00 00 00 fc ff df 48 c1 ee 03 49 89 4f 38 <80> 3c 16 00 0f 85 aa 02 00 00 48 ba 00 00 00 00 00 fc ff df 4c 89
RSP: 0018:ffffc9000323fc10 EFLAGS: 00010202
RAX: 0000000000000008 RBX: 0000000000000000 RCX: ffff88807684c000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888071197038
RBP: ffff88801b1d5540 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 1ffffffff1fce765 R12: 0000000000000000
R13: 1ffff92000647f87 R14: ffff88807ca46ac8 R15: ffff888071197000
FS: 00007f8aee0e3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8aee0c2718 CR3: 00000000716db000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: ee out %al,(%dx)
1: 03 49 89 add -0x77(%rcx),%ecx
4: 4f 30 80 3c 16 00 0f rex.WRXB xor %r8b,0xf00163c(%r8)
b: 85 e3 test %esp,%ebx
d: 02 00 add (%rax),%al
f: 00 48 8b add %cl,-0x75(%rax)
12: 4c 24 18 rex.WR and $0x18,%al
15: 48 89 c6 mov %rax,%rsi
18: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
1f: fc ff df
22: 48 c1 ee 03 shr $0x3,%rsi
26: 49 89 4f 38 mov %rcx,0x38(%r15)
* 2a: 80 3c 16 00 cmpb $0x0,(%rsi,%rdx,1) <-- trapping instruction
2e: 0f 85 aa 02 00 00 jne 0x2de
34: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
3b: fc ff df
3e: 4c rex.WR
3f: 89 .byte 0x89