netlink: 'syz.1.1521': attribute type 2 has an invalid length. ------------[ cut here ]------------ kernel BUG at net/phonet/socket.c:213! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10866 Comm: syz.1.1521 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_sendmsg+0x235/0x240 net/phonet/socket.c:422 Code: 41 5f 5d c3 e8 3c e8 ca 00 89 d9 80 e1 07 fe c1 38 c1 0f 8c 0f ff ff ff 48 89 df e8 b5 05 1e f8 e9 02 ff ff ff e8 6b 88 c5 f7 <0f> 0b 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 57 41 RSP: 0018:ffffc90004ad7960 EFLAGS: 00010283 RAX: ffffffff89c1ec65 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000cf5a000 RSI: 0000000000000051 RDI: 0000000000000052 RBP: ffffc90004ad7a10 R08: ffffffff8e8c7caf R09: 1ffffffff1d18f95 R10: dffffc0000000000 R11: fffffbfff1d18f96 R12: dffffc0000000000 R13: ffff88805e22f200 R14: ffff8880771b8c80 R15: 1ffff9200095af30 FS: 00007f07b9bf66c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3ad7deb580 CR3: 0000000069167000 CR4: 00000000003506e0 DR0: 000000007fffffff DR1: 0000000000000004 DR2: 0000000000000005 DR3: 000000000000ffff DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x61b/0x980 net/socket.c:2595 ___sys_sendmsg+0x2a6/0x360 net/socket.c:2649 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2687 [inline] __se_sys_sendmsg+0x1d0/0x2c0 net/socket.c:2685 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f07bb99de99 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:00007f07b9bf6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f07bbc25fa0 RCX: 00007f07bb99de99 RDX: 0000000000000004 RSI: 0000200000000540 RDI: 000000000000000a RBP: 00007f07bba33eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f07bbc26038 R14: 00007f07bbc25fa0 R15: 00007ffd83467c88 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_sendmsg+0x235/0x240 net/phonet/socket.c:422 Code: 41 5f 5d c3 e8 3c e8 ca 00 89 d9 80 e1 07 fe c1 38 c1 0f 8c 0f ff ff ff 48 89 df e8 b5 05 1e f8 e9 02 ff ff ff e8 6b 88 c5 f7 <0f> 0b 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 57 41 RSP: 0018:ffffc90004ad7960 EFLAGS: 00010283 RAX: ffffffff89c1ec65 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000cf5a000 RSI: 0000000000000051 RDI: 0000000000000052 RBP: ffffc90004ad7a10 R08: ffffffff8e8c7caf R09: 1ffffffff1d18f95 R10: dffffc0000000000 R11: fffffbfff1d18f96 R12: dffffc0000000000 R13: ffff88805e22f200 R14: ffff8880771b8c80 R15: 1ffff9200095af30 FS: 00007f07b9bf66c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3ad7deb580 CR3: 0000000069167000 CR4: 00000000003506e0 DR0: 000000007fffffff DR1: 0000000000000004 DR2: 0000000000000005 DR3: 000000000000ffff DR6: 00000000ffff0ff0 DR7: 0000000000000400