netlink: 8 bytes leftover after parsing attributes in process `syz.6.2909'. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 UID: 0 PID: 18138 Comm: syz.6.2909 Not tainted 6.13.0-rc4-syzkaller-00069-g8379578b11d5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__dev_alloc_name net/core/dev.c:1124 [inline] RIP: 0010:dev_prep_valid_name.constprop.0+0x25e/0x630 net/core/dev.c:1165 Code: 0f 84 23 01 00 00 48 89 d0 48 89 54 24 28 48 c1 e8 03 48 01 d8 48 89 44 24 08 e8 7d 02 9c f8 4d 8d 67 28 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 2b 03 00 00 49 8b 7f 28 4c 89 f6 48 8b 14 24 e8 RSP: 0018:ffffc9000cd2efc8 EFLAGS: 00010206 RAX: 0000000000000003 RBX: dffffc0000000000 RCX: ffffc900121bf000 RDX: 0000000000080000 RSI: ffffffff88fd4cd3 RDI: ffff888026d74a10 RBP: ffff888026d74a00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000018 R13: ffff88807ca1e000 R14: ffff88804051c120 R15: fffffffffffffff0 FS: 00007f86d43356c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fedfff8 CR3: 00000000a0078000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_if_add+0x359/0x1710 net/mac80211/iface.c:2123 ieee80211_register_hw+0x3660/0x3fa0 net/mac80211/main.c:1594 mac80211_hwsim_new_radio+0x2c47/0x56c0 drivers/net/wireless/virtual/mac80211_hwsim.c:5519 hwsim_new_radio_nl+0xb42/0x12b0 drivers/net/wireless/virtual/mac80211_hwsim.c:6203 genl_family_rcv_msg_doit+0x202/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x565/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x165/0x410 net/netlink/af_netlink.c:2542 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 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_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:0x7f86d3585d29 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:00007f86d4335038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f86d3776080 RCX: 00007f86d3585d29 RDX: 0000000004044820 RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 00007f86d3601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f86d3776080 R15: 00007ffe68532c48 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__dev_alloc_name net/core/dev.c:1124 [inline] RIP: 0010:dev_prep_valid_name.constprop.0+0x25e/0x630 net/core/dev.c:1165 Code: 0f 84 23 01 00 00 48 89 d0 48 89 54 24 28 48 c1 e8 03 48 01 d8 48 89 44 24 08 e8 7d 02 9c f8 4d 8d 67 28 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 2b 03 00 00 49 8b 7f 28 4c 89 f6 48 8b 14 24 e8 RSP: 0018:ffffc9000cd2efc8 EFLAGS: 00010206 RAX: 0000000000000003 RBX: dffffc0000000000 RCX: ffffc900121bf000 RDX: 0000000000080000 RSI: ffffffff88fd4cd3 RDI: ffff888026d74a10 RBP: ffff888026d74a00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000018 R13: ffff88807ca1e000 R14: ffff88804051c120 R15: fffffffffffffff0 FS: 00007f86d43356c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fabe5aacaeb CR3: 00000000a0078000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0f 84 23 01 00 00 je 0x129 6: 48 89 d0 mov %rdx,%rax 9: 48 89 54 24 28 mov %rdx,0x28(%rsp) e: 48 c1 e8 03 shr $0x3,%rax 12: 48 01 d8 add %rbx,%rax 15: 48 89 44 24 08 mov %rax,0x8(%rsp) 1a: e8 7d 02 9c f8 call 0xf89c029c 1f: 4d 8d 67 28 lea 0x28(%r15),%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 0f 85 2b 03 00 00 jne 0x35f 34: 49 8b 7f 28 mov 0x28(%r15),%rdi 38: 4c 89 f6 mov %r14,%rsi 3b: 48 8b 14 24 mov (%rsp),%rdx 3f: e8 .byte 0xe8