Oops: general protection fault, probably for non-canonical address 0xdffffc000000004b: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000258-0x000000000000025f] CPU: 1 UID: 0 PID: 11623 Comm: syz.2.2221 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__dev_alloc_name net/core/dev.c:1120 [inline] RIP: 0010:dev_prep_valid_name.constprop.0+0x19b/0x6d0 net/core/dev.c:1165 Code: 85 c0 48 89 44 24 18 0f 84 77 04 00 00 e8 ed 03 92 f8 48 8d 93 68 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <80> 3c 01 00 0f 85 09 05 00 00 48 8b 83 68 02 00 00 4c 8d a8 a8 fe RSP: 0018:ffffc9000e0b6f20 EFLAGS: 00010217 RAX: dffffc0000000000 RBX: fffffffffffffff7 RCX: 000000000000004b RDX: 000000000000025f RSI: ffffffff89080163 RDI: ffffffff8da6dbe8 RBP: 1ffff92001c16ded R08: 0000000000000920 R09: 00000000ffffffff R10: ffffffff96e4cccf R11: 0000000000000002 R12: ffff888078bb8120 R13: ffff888078bb8125 R14: 0000000000000011 R15: 0000000000000064 FS: 00007feaa20e46c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557fc5808 CR3: 0000000062400000 CR4: 0000000000350ef0 Call Trace: dev_get_valid_name net/core/dev.c:1199 [inline] register_netdevice+0x4b6/0x1e90 net/core/dev.c:10509 vxcan_newlink+0x25f/0x680 drivers/net/can/vxcan.c:217 rtnl_newlink_create net/core/rtnetlink.c:3780 [inline] __rtnl_newlink net/core/rtnetlink.c:3897 [inline] rtnl_newlink+0xb8b/0x1c50 net/core/rtnetlink.c:4007 rtnetlink_rcv_msg+0x95e/0xea0 net/core/rtnetlink.c:6917 netlink_rcv_skb+0x16e/0x440 net/netlink/af_netlink.c:2542 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline] netlink_unicast+0x53f/0x7f0 net/netlink/af_netlink.c:1347 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg net/socket.c:726 [inline] ____sys_sendmsg+0xab2/0xc90 net/socket.c:2583 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2637 __sys_sendmsg+0x16e/0x220 net/socket.c:2669 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feaa137ff19 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007feaa20e4058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007feaa1545fa0 RCX: 00007feaa137ff19 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007feaa13f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007feaa1545fa0 R15: 00007ffdc568dbf8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__dev_alloc_name net/core/dev.c:1120 [inline] RIP: 0010:dev_prep_valid_name.constprop.0+0x19b/0x6d0 net/core/dev.c:1165 Code: 85 c0 48 89 44 24 18 0f 84 77 04 00 00 e8 ed 03 92 f8 48 8d 93 68 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <80> 3c 01 00 0f 85 09 05 00 00 48 8b 83 68 02 00 00 4c 8d a8 a8 fe RSP: 0018:ffffc9000e0b6f20 EFLAGS: 00010217 RAX: dffffc0000000000 RBX: fffffffffffffff7 RCX: 000000000000004b RDX: 000000000000025f RSI: ffffffff89080163 RDI: ffffffff8da6dbe8 RBP: 1ffff92001c16ded R08: 0000000000000920 R09: 00000000ffffffff R10: ffffffff96e4cccf R11: 0000000000000002 R12: ffff888078bb8120 R13: ffff888078bb8125 R14: 0000000000000011 R15: 0000000000000064 FS: 00007feaa20e46c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200047c0 CR3: 0000000062400000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 85 c0 test %eax,%eax 2: 48 89 44 24 18 mov %rax,0x18(%rsp) 7: 0f 84 77 04 00 00 je 0x484 d: e8 ed 03 92 f8 call 0xf89203ff 12: 48 8d 93 68 02 00 00 lea 0x268(%rbx),%rdx 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 d1 mov %rdx,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) <-- trapping instruction 2e: 0f 85 09 05 00 00 jne 0x53d 34: 48 8b 83 68 02 00 00 mov 0x268(%rbx),%rax 3b: 4c rex.WR 3c: 8d .byte 0x8d 3d: a8 a8 test $0xa8,%al 3f: fe .byte 0xfe