netlink: 'syz.0.1303': attribute type 16 has an invalid length. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000055: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000002a8-0x00000000000002af] CPU: 0 UID: 0 PID: 10159 Comm: syz.0.1303 Not tainted 6.15.0-rc2-syzkaller-00048-gc62f4b82d571 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:netdev_need_ops_lock include/net/netdev_lock.h:33 [inline] RIP: 0010:netdev_lock_ops include/net/netdev_lock.h:41 [inline] RIP: 0010:rtnl_create_link+0xdee/0x1200 net/core/rtnetlink.c:3680 Code: 48 c1 ea 03 80 3c 02 00 0f 85 c5 03 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7d 08 49 8d bf a8 02 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 95 03 00 00 49 83 bf a8 02 00 00 00 0f 84 cb f7 RSP: 0018:ffffc90002e973a8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88807c2f8000 RCX: ffffc9000c533000 RDX: 0000000000000055 RSI: ffffffff89513223 RDI: 00000000000002a8 RBP: ffff88805d766db4 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888022f78cc5 R13: ffff888022f78000 R14: ffff88807c2f8080 R15: 0000000000000000 FS: 00007fd9f04aa6c0(0000) GS:ffff8881249b1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000078d4e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtnl_newlink_create net/core/rtnetlink.c:3826 [inline] __rtnl_newlink net/core/rtnetlink.c:3953 [inline] rtnl_newlink+0xb69/0x2000 net/core/rtnetlink.c:4068 rtnetlink_rcv_msg+0x95b/0xe90 net/core/rtnetlink.c:6958 netlink_rcv_skb+0x16a/0x440 net/netlink/af_netlink.c:2534 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x53a/0x7f0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0xa95/0xc70 net/socket.c:2566 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620 __sys_sendmsg+0x16d/0x220 net/socket.c:2652 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd9ef58e169 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:00007fd9f04aa038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd9ef7b5fa0 RCX: 00007fd9ef58e169 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000010 RBP: 00007fd9ef610a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd9ef7b5fa0 R15: 00007ffd3d3a4428 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:netdev_need_ops_lock include/net/netdev_lock.h:33 [inline] RIP: 0010:netdev_lock_ops include/net/netdev_lock.h:41 [inline] RIP: 0010:rtnl_create_link+0xdee/0x1200 net/core/rtnetlink.c:3680 Code: 48 c1 ea 03 80 3c 02 00 0f 85 c5 03 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7d 08 49 8d bf a8 02 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 95 03 00 00 49 83 bf a8 02 00 00 00 0f 84 cb f7 RSP: 0018:ffffc90002e973a8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88807c2f8000 RCX: ffffc9000c533000 RDX: 0000000000000055 RSI: ffffffff89513223 RDI: 00000000000002a8 RBP: ffff88805d766db4 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888022f78cc5 R13: ffff888022f78000 R14: ffff88807c2f8080 R15: 0000000000000000 FS: 00007fd9f04aa6c0(0000) GS:ffff888124ab1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f81dff8 CR3: 0000000078d4e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 c5 03 00 00 jne 0x3d3 e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 4d 8b 7d 08 mov 0x8(%r13),%r15 1c: 49 8d bf a8 02 00 00 lea 0x2a8(%r15),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 95 03 00 00 jne 0x3c9 34: 49 83 bf a8 02 00 00 cmpq $0x0,0x2a8(%r15) 3b: 00 3c: 0f .byte 0xf 3d: 84 cb test %cl,%bl 3f: f7 .byte 0xf7