kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 9598 Comm: syz-executor.2 Not tainted 4.19.136-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:read_pnet include/net/net_namespace.h:300 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2157 [inline]
RIP: 0010:raw_notifier+0x7c/0x720 net/can/raw.c:276
Code: 03 80 3c 02 00 0f 85 c4 05 00 00 4d 8d b7 80 05 00 00 48 8b ab d0 fb ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 b2 05 00 00 49 3b af 80 05 00 00 74 16 e8 fc 58
RSP: 0018:ffff8881afdd7c78 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff8880a8f9e6a0 RCX: ffffc90009fd8000
RDX: 00000000000000a6 RSI: ffffffff867755cc RDI: ffff8880a8f9e270
RBP: ffff8880a0adc0c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000005
R13: ffff88809fbc8330 R14: 0000000000000530 R15: ffffffffffffffb0
FS: 00007f0dcaeaf700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cf21000 CR3: 00000001b0090000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
call_netdevice_notifier net/core/dev.c:1612 [inline]
register_netdevice_notifier+0x180/0x5b0 net/core/dev.c:1648
raw_init+0x296/0x340 net/can/raw.c:343
can_create+0x27c/0x470 net/can/af_can.c:184
__sock_create+0x3d8/0x740 net/socket.c:1276
sock_create net/socket.c:1316 [inline]
__sys_socket+0xef/0x200 net/socket.c:1346
__do_sys_socket net/socket.c:1355 [inline]
__se_sys_socket net/socket.c:1353 [inline]
__x64_sys_socket+0x6f/0xb0 net/socket.c:1353
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45ccd9
Code: 2d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0dcaeaec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 0000000000031dc0 RCX: 000000000045ccd9
RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d
RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffde2ff1dbf R14: 00007f0dcaeaf9c0 R15: 000000000078bf0c
Modules linked in:
---[ end trace 17a2ec0f804f00a1 ]---
RIP: 0010:read_pnet include/net/net_namespace.h:300 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2157 [inline]
RIP: 0010:raw_notifier+0x7c/0x720 net/can/raw.c:276
Code: 03 80 3c 02 00 0f 85 c4 05 00 00 4d 8d b7 80 05 00 00 48 8b ab d0 fb ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 b2 05 00 00 49 3b af 80 05 00 00 74 16 e8 fc 58
RSP: 0018:ffff8881afdd7c78 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff8880a8f9e6a0 RCX: ffffc90009fd8000
RDX: 00000000000000a6 RSI: ffffffff867755cc RDI: ffff8880a8f9e270
RBP: ffff8880a0adc0c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000005
R13: ffff88809fbc8330 R14: 0000000000000530 R15: ffffffffffffffb0
FS: 00007f0dcaeaf700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000052a1d8 CR3: 00000001b0090000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400