netlink: 'syz.9.2591': attribute type 6 has an invalid length. netlink: 3936 bytes leftover after parsing attributes in process `syz.9.2591'. netlink: 'syz.9.2591': attribute type 1 has an invalid length. ------------[ cut here ]------------ !sock_allow_reclassification(sk) WARNING: drivers/block/nbd.c:1249 at nbd_reclassify_socket drivers/block/nbd.c:1249 [inline], CPU#1: syz.9.2591/17319 WARNING: drivers/block/nbd.c:1249 at nbd_add_socket+0xf35/0x12c0 drivers/block/nbd.c:1293, CPU#1: syz.9.2591/17319 Modules linked in: CPU: 1 UID: 0 PID: 17319 Comm: syz.9.2591 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:nbd_reclassify_socket drivers/block/nbd.c:1249 [inline] RIP: 0010:nbd_add_socket+0xf35/0x12c0 drivers/block/nbd.c:1293 Code: f7 e8 ef 1d 20 fc bf e0 01 00 00 49 03 3e 48 c7 c6 00 29 55 8c e8 5b 18 19 fb b8 f0 ff ff ff e9 b2 fd ff ff e8 4c ff b2 fb 90 <0f> 0b 90 e9 16 f8 ff ff e8 de a1 97 05 44 89 e9 80 e1 07 fe c1 38 RSP: 0018:ffffc9000453f160 EFLAGS: 00010287 RAX: ffffffff861321f4 RBX: 1ffff11005510db9 RCX: 0000000000080000 RDX: ffffc9001f604000 RSI: 0000000000007dda RDI: 0000000000007ddb RBP: ffffc9000453f250 R08: ffffc9000453ee8f R09: 0000000000000000 R10: ffffc9000453ee80 R11: ffffffffa02019d4 R12: ffff88802a886c00 R13: 1ffff920008a7e38 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f16ff1d16c0(0000) GS:ffff88812536a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ce093 CR3: 0000000011dac000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000200000000300 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: nbd_genl_connect+0x133d/0x1c10 drivers/block/nbd.c:2254 genl_family_rcv_msg_doit+0x233/0x340 net/netlink/genetlink.c:1114 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline] genl_rcv_msg+0x614/0x7a0 net/netlink/genetlink.c:1209 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2556 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x7bb/0x940 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] ____sys_sendmsg+0x9b9/0xa20 net/socket.c:2684 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2738 __sys_sendmsg net/socket.c:2770 [inline] __do_sys_sendmsg net/socket.c:2775 [inline] __se_sys_sendmsg net/socket.c:2773 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2773 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f16fe39ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f16ff1d1028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f16fe616090 RCX: 00007f16fe39ce59 RDX: 0000000000004040 RSI: 0000200000000140 RDI: 0000000000000006 RBP: 00007f16fe432d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f16fe616128 R14: 00007f16fe616090 R15: 00007ffc068f2b68