general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 22453 Comm: syz-executor.3 Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__dev_alloc_name net/core/dev.c:1031 [inline] RIP: 0010:dev_alloc_name_ns+0x231/0x6c0 net/core/dev.c:1076 Code: a4 44 fa 49 8d 47 10 48 89 44 24 18 48 c1 e8 03 80 3c 28 00 0f 85 23 04 00 00 4d 8b 67 10 49 8d 7c 24 10 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 18 04 00 00 49 8b 44 24 10 48 8d 58 f0 49 39 dc RSP: 0018:ffffc9001117ef68 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffc90002e1a000 RDX: 0000000000040000 RSI: ffffffff8733401a RDI: 0000000000000010 RBP: dffffc0000000000 R08: 0000000000000000 R09: 000000000000006f R10: ffffffff873341b5 R11: 0000000000000072 R12: 0000000000000000 R13: ffff88817d244000 R14: ffff888170917000 R15: ffff888000118000 FS: 00007f8bae56d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056485873cd58 CR3: 0000000152cae000 CR4: 00000000003526f0 Call Trace: dev_get_valid_name net/core/dev.c:1111 [inline] dev_get_valid_name+0xa9/0x190 net/core/dev.c:1102 register_netdevice+0x35f/0x1500 net/core/dev.c:9571 br_dev_newlink+0x23/0x110 net/bridge/br_netlink.c:1443 __rtnl_newlink+0x106d/0x1750 net/core/rtnetlink.c:3457 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3505 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5570 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2487 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1341 netlink_sendmsg+0x86d/0xda0 net/netlink/af_netlink.c:1912 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 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+0x44/0xae RIP: 0033:0x7f8bb1018ae9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8bae56d188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8bb112c020 RCX: 00007f8bb1018ae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000007 RBP: 00007f8bb1072f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd577b401f R14: 00007f8bae56d300 R15: 0000000000022000 Modules linked in: ---[ end trace ec9043def1c88304 ]--- RIP: 0010:__dev_alloc_name net/core/dev.c:1031 [inline] RIP: 0010:dev_alloc_name_ns+0x231/0x6c0 net/core/dev.c:1076 Code: a4 44 fa 49 8d 47 10 48 89 44 24 18 48 c1 e8 03 80 3c 28 00 0f 85 23 04 00 00 4d 8b 67 10 49 8d 7c 24 10 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 18 04 00 00 49 8b 44 24 10 48 8d 58 f0 49 39 dc RSP: 0018:ffffc9001117ef68 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffc90002e1a000 RDX: 0000000000040000 RSI: ffffffff8733401a RDI: 0000000000000010 RBP: dffffc0000000000 R08: 0000000000000000 R09: 000000000000006f R10: ffffffff873341b5 R11: 0000000000000072 R12: 0000000000000000 R13: ffff88817d244000 R14: ffff888170917000 R15: ffff888000118000 FS: 00007f8bae56d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2e96764010 CR3: 0000000152cae000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: a4 movsb %ds:(%rsi),%es:(%rdi) 1: 44 fa rex.R cli 3: 49 8d 47 10 lea 0x10(%r15),%rax 7: 48 89 44 24 18 mov %rax,0x18(%rsp) c: 48 c1 e8 03 shr $0x3,%rax 10: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 14: 0f 85 23 04 00 00 jne 0x43d 1a: 4d 8b 67 10 mov 0x10(%r15),%r12 1e: 49 8d 7c 24 10 lea 0x10(%r12),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction 2e: 0f 85 18 04 00 00 jne 0x44c 34: 49 8b 44 24 10 mov 0x10(%r12),%rax 39: 48 8d 58 f0 lea -0x10(%rax),%rbx 3d: 49 39 dc cmp %rbx,%r12