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: 7229 Comm: syz.3.316 Not tainted 6.12.0-syzkaller-09734-g445d9f05fa14 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__dev_alloc_name net/core/dev.c:1120 [inline] RIP: 0010:dev_prep_valid_name.constprop.0+0x19b/0x630 net/core/dev.c:1165 Code: 85 c0 48 89 44 24 18 0f 84 f0 03 00 00 e8 5d cb 95 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 6c 04 00 00 48 8b 83 68 02 00 00 4c 8d a8 a8 fe RSP: 0018:ffffc900044e6ee8 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: fffffffffffffffd RCX: 000000000000004c RDX: 0000000000000265 RSI: ffffffff88f82ea3 RDI: ffffffff8da3aba0 RBP: 1ffff9200089cde6 R08: 0000000000000920 R09: 00000000ffffffff R10: ffffffff96beecd7 R11: 0000000000000002 R12: ffff8880692fe120 R13: ffff8880692fe124 R14: 0000000000000011 R15: 0000000000000064 FS: 0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f5136b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f5220132 CR3: 000000006b4e0000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_get_valid_name net/core/dev.c:1199 [inline] register_netdevice+0x4b6/0x1e20 net/core/dev.c:10509 veth_newlink+0x2a7/0xa30 drivers/net/veth.c:1819 rtnl_newlink_create net/core/rtnetlink.c:3774 [inline] __rtnl_newlink net/core/rtnetlink.c:3891 [inline] rtnl_newlink+0x11ad/0x1c10 net/core/rtnetlink.c:4001 rtnetlink_rcv_msg+0x95b/0xea0 net/core/rtnetlink.c:6911 netlink_rcv_skb+0x165/0x410 net/netlink/af_netlink.c:2541 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline] netlink_unicast+0x53c/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+0x9ae/0xb40 net/socket.c:2583 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2637 __sys_sendmsg+0x16e/0x220 net/socket.c:2669 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7fb3579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f513657c EFLAGS: 00000292 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020000080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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/0x630 net/core/dev.c:1165 Code: 85 c0 48 89 44 24 18 0f 84 f0 03 00 00 e8 5d cb 95 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 6c 04 00 00 48 8b 83 68 02 00 00 4c 8d a8 a8 fe RSP: 0018:ffffc900044e6ee8 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: fffffffffffffffd RCX: 000000000000004c RDX: 0000000000000265 RSI: ffffffff88f82ea3 RDI: ffffffff8da3aba0 RBP: 1ffff9200089cde6 R08: 0000000000000920 R09: 00000000ffffffff R10: ffffffff96beecd7 R11: 0000000000000002 R12: ffff8880692fe120 R13: ffff8880692fe124 R14: 0000000000000011 R15: 0000000000000064 FS: 0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f5136b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f5220132 CR3: 000000006b4e0000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 85 c0 test %eax,%eax 2: 48 89 44 24 18 mov %rax,0x18(%rsp) 7: 0f 84 f0 03 00 00 je 0x3fd d: e8 5d cb 95 f8 call 0xf895cb6f 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 6c 04 00 00 jne 0x4a0 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