lo: entered allmulticast mode
netlink: 28 bytes leftover after parsing attributes in process `syz.3.977'.
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 10015 Comm: syz.3.977 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:rtnl_prop_list_size+0xce/0x2d0 net/core/rtnetlink.c:1211
Code: eb 10 49 39 dc 0f 84 a7 01 00 00 49 bd 00 00 00 00 00 fc ff df 31 ed e8 50 95 94 f8 48 8d 7b 10 83 c5 01 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 cc 01 00 00 48 8b 5b 10 48 83 eb 10 49 39 dc
RSP: 0018:ffffc900194c6e30 EFLAGS: 00010246
RAX: 0000000000000000 RBX: fffffffffffffff0 RCX: ffffffff8904baa7
RDX: ffff888072cf3c00 RSI: ffffffff8904ba00 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff888026afaa00
R13: dffffc0000000000 R14: 0000000000000014 R15: 0000000000000000
FS: 00007f23ef5bb6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000004c000 CR3: 0000000020a8c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
if_nlmsg_size+0x401/0xa70 net/core/rtnetlink.c:1303
rtmsg_ifinfo_build_skb+0x6d/0x280 net/core/rtnetlink.c:4347
rtmsg_ifinfo_event net/core/rtnetlink.c:4389 [inline]
rtmsg_ifinfo_event net/core/rtnetlink.c:4379 [inline]
rtmsg_ifinfo+0x9f/0x1a0 net/core/rtnetlink.c:4398
dev_close_many+0x318/0x6a0 net/core/dev.c:1588
unregister_netdevice_many_notify+0x489/0x1e60 net/core/dev.c:11500
rtnl_delete_link net/core/rtnetlink.c:3476 [inline]
rtnl_dellink+0x3d7/0xaa0 net/core/rtnetlink.c:3518
rtnetlink_rcv_msg+0x95b/0xea0 net/core/rtnetlink.c:6922
netlink_rcv_skb+0x165/0x410 net/netlink/af_netlink.c:2542
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_sendmmsg+0x201/0x420 net/socket.c:2726
__do_sys_sendmmsg net/socket.c:2753 [inline]
__se_sys_sendmmsg net/socket.c:2750 [inline]
__x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2750
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:0x7f23ee785d29
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:00007f23ef5bb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f23ee975fa0 RCX: 00007f23ee785d29
RDX: 0000000000000007 RSI: 0000000020000200 RDI: 0000000000000006
RBP: 00007f23ee801b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004008 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f23ee975fa0 R15: 00007ffcd9a3b768
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rtnl_prop_list_size+0xce/0x2d0 net/core/rtnetlink.c:1211
Code: eb 10 49 39 dc 0f 84 a7 01 00 00 49 bd 00 00 00 00 00 fc ff df 31 ed e8 50 95 94 f8 48 8d 7b 10 83 c5 01 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 cc 01 00 00 48 8b 5b 10 48 83 eb 10 49 39 dc
RSP: 0018:ffffc900194c6e30 EFLAGS: 00010246
RAX: 0000000000000000 RBX: fffffffffffffff0 RCX: ffffffff8904baa7
RDX: ffff888072cf3c00 RSI: ffffffff8904ba00 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff888026afaa00
R13: dffffc0000000000 R14: 0000000000000014 R15: 0000000000000000
FS: 00007f23ef5bb6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b307b9ff8 CR3: 0000000020a8c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: eb 10 jmp 0x12
2: 49 39 dc cmp %rbx,%r12
5: 0f 84 a7 01 00 00 je 0x1b2
b: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13
12: fc ff df
15: 31 ed xor %ebp,%ebp
17: e8 50 95 94 f8 call 0xf894956c
1c: 48 8d 7b 10 lea 0x10(%rbx),%rdi
20: 83 c5 01 add $0x1,%ebp
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction
2f: 0f 85 cc 01 00 00 jne 0x201
35: 48 8b 5b 10 mov 0x10(%rbx),%rbx
39: 48 83 eb 10 sub $0x10,%rbx
3d: 49 39 dc cmp %rbx,%r12