Oops: general protection fault, probably for non-canonical address 0xdffffc000000004c: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000260-0x0000000000000267] CPU: 0 UID: 0 PID: 9987 Comm: syz.8.943 Not tainted 6.13.0-rc1-syzkaller-00005-gceb8bf2ceaa7 #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 2d 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:ffffc900048b6f00 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: fffffffffffffffd RCX: 000000000000004c RDX: 0000000000000265 RSI: ffffffff89080223 RDI: ffffffff8da6dbe0 RBP: 1ffff92000916de9 R08: 0000000000000920 R09: 00000000ffffffff R10: ffffffff96e4cccf R11: 0000000000000002 R12: ffff88805d940120 R13: ffff88805d940124 R14: 0000000000000011 R15: 0000000000000064 FS: 00007f1142ec36c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7029431b76 CR3: 000000005bdce000 CR4: 0000000000350ef0 Call Trace: dev_get_valid_name net/core/dev.c:1199 [inline] register_netdevice+0x4b6/0x1e90 net/core/dev.c:10509 veth_newlink+0x2a7/0xa30 drivers/net/veth.c:1819 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:0x7f114217ff19 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:00007f1142ec3058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1142345fa0 RCX: 00007f114217ff19 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007f11421f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1142345fa0 R15: 00007fff97bf6f88 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 2d 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:ffffc900048b6f00 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: fffffffffffffffd RCX: 000000000000004c RDX: 0000000000000265 RSI: ffffffff89080223 RDI: ffffffff8da6dbe0 RBP: 1ffff92000916de9 R08: 0000000000000920 R09: 00000000ffffffff R10: ffffffff96e4cccf R11: 0000000000000002 R12: ffff88805d940120 R13: ffff88805d940124 R14: 0000000000000011 R15: 0000000000000064 FS: 00007f1142ec36c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffb92d3e28 CR3: 000000005bdce000 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 2d 03 92 f8 call 0xf892033f 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