netlink: 'syz.0.0': attribute type 2 has an invalid length. ------------[ cut here ]------------ kernel BUG at net/phonet/socket.c:213! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5340 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_sendmsg+0x240/0x250 net/phonet/socket.c:421 Code: cc cc cc e8 72 64 d2 00 89 d9 80 e1 07 fe c1 38 c1 0f 8c 04 ff ff ff 48 89 df e8 3b 3a 4a f7 e9 f7 fe ff ff e8 51 71 dd f6 90 <0f> 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc90003dd7920 EFLAGS: 00010283 RAX: ffffffff8ae86f9f RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 0000000000000051 RDI: 0000000000000052 RBP: ffffc90003dd79d0 R08: ffffffff9033a7f7 R09: 1ffffffff20674fe R10: dffffc0000000000 R11: fffffbfff20674ff R12: dffffc0000000000 R13: ffff8880470d0c40 R14: ffff888040853a80 R15: 1ffff920007baf28 FS: 00007f11173e46c0(0000) GS:ffff88808c808000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f111678d480 CR3: 0000000041ab6000 CR4: 0000000000352ef0 Call Trace: sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2698 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2752 __sys_sendmsg net/socket.c:2784 [inline] __do_sys_sendmsg net/socket.c:2789 [inline] __se_sys_sendmsg net/socket.c:2787 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2787 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f111659cdd9 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:00007f11173e3fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1116816090 RCX: 00007f111659cdd9 RDX: 0000000000048000 RSI: 0000200000000780 RDI: 0000000000000008 RBP: 00007f1116632d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1116816128 R14: 00007f1116816090 R15: 00007ffda9765498 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_sendmsg+0x240/0x250 net/phonet/socket.c:421 Code: cc cc cc e8 72 64 d2 00 89 d9 80 e1 07 fe c1 38 c1 0f 8c 04 ff ff ff 48 89 df e8 3b 3a 4a f7 e9 f7 fe ff ff e8 51 71 dd f6 90 <0f> 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc90003dd7920 EFLAGS: 00010283 RAX: ffffffff8ae86f9f RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 0000000000000051 RDI: 0000000000000052 RBP: ffffc90003dd79d0 R08: ffffffff9033a7f7 R09: 1ffffffff20674fe R10: dffffc0000000000 R11: fffffbfff20674ff R12: dffffc0000000000 R13: ffff8880470d0c40 R14: ffff888040853a80 R15: 1ffff920007baf28 FS: 00007f11173e46c0(0000) GS:ffff88808c808000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f11167ca020 CR3: 0000000041ab6000 CR4: 0000000000352ef0