netlink: 'syz.1.20': attribute type 16 has an invalid length. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000055: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000002a8-0x00000000000002af] CPU: 1 UID: 0 PID: 5982 Comm: syz.1.20 Not tainted 6.15.0-rc1-syzkaller-00325-g7cdabafc0012 #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+0x6af/0xea0 net/core/rtnetlink.c:3680 Code: 24 20 42 80 3c 28 00 74 08 48 89 df e8 9a fe 3a f8 4c 89 64 24 28 bd a8 02 00 00 48 89 5c 24 08 48 03 2b 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 ef e8 72 fe 3a f8 45 31 e4 48 83 7d 00 RSP: 0018:ffffc9000b4fee50 EFLAGS: 00010206 RAX: 0000000000000055 RBX: ffff88805f240008 RCX: 0000000000080000 RDX: ffffc90004892000 RSI: 000000000000294c RDI: 000000000000294d RBP: 00000000000002a8 R08: ffffffff89f28f69 R09: 1ffff9200169fdf6 R10: dffffc0000000000 R11: fffff5200169fdf7 R12: ffff88805fa44080 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88805f240000 FS: 0000000000000000(0000) GS:ffff888125093000(0063) knlGS:00000000f5046b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c2fa745 CR3: 000000002a4fc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtnl_newlink_create+0x2f2/0xcb0 net/core/rtnetlink.c:3826 __rtnl_newlink net/core/rtnetlink.c:3953 [inline] rtnl_newlink+0x18b0/0x1fe0 net/core/rtnetlink.c:4068 rtnetlink_rcv_msg+0x80f/0xd70 net/core/rtnetlink.c:6958 netlink_rcv_skb+0x208/0x480 net/netlink/af_netlink.c:2534 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x7f8/0x9a0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x8c3/0xcd0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:727 ____sys_sendmsg+0x523/0x860 net/socket.c:2566 ___sys_sendmsg net/socket.c:2620 [inline] __sys_sendmsg+0x271/0x360 net/socket.c:2652 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x34/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf73bd579 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 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f504655c EFLAGS: 00000206 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00000000800000c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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+0x6af/0xea0 net/core/rtnetlink.c:3680 Code: 24 20 42 80 3c 28 00 74 08 48 89 df e8 9a fe 3a f8 4c 89 64 24 28 bd a8 02 00 00 48 89 5c 24 08 48 03 2b 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 ef e8 72 fe 3a f8 45 31 e4 48 83 7d 00 RSP: 0018:ffffc9000b4fee50 EFLAGS: 00010206 RAX: 0000000000000055 RBX: ffff88805f240008 RCX: 0000000000080000 RDX: ffffc90004892000 RSI: 000000000000294c RDI: 000000000000294d RBP: 00000000000002a8 R08: ffffffff89f28f69 R09: 1ffff9200169fdf6 R10: dffffc0000000000 R11: fffff5200169fdf7 R12: ffff88805fa44080 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88805f240000 FS: 0000000000000000(0000) GS:ffff888124f93000(0063) knlGS:00000000f5046b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c348438 CR3: 000000002a4fc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 20 and $0x20,%al 2: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 7: 74 08 je 0x11 9: 48 89 df mov %rbx,%rdi c: e8 9a fe 3a f8 call 0xf83afeab 11: 4c 89 64 24 28 mov %r12,0x28(%rsp) 16: bd a8 02 00 00 mov $0x2a8,%ebp 1b: 48 89 5c 24 08 mov %rbx,0x8(%rsp) 20: 48 03 2b add (%rbx),%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 ef mov %rbp,%rdi 34: e8 72 fe 3a f8 call 0xf83afeab 39: 45 31 e4 xor %r12d,%r12d 3c: 48 rex.W 3d: 83 .byte 0x83 3e: 7d 00 jge 0x40