------------[ cut here ]------------ kernel BUG at net/phonet/socket.c:213! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 13112 Comm: syz-executor.5 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_autobind+0x13c/0x160 net/phonet/socket.c:202 Code: 44 05 00 00 00 00 00 48 8b 44 24 58 65 48 2b 04 25 28 00 00 00 75 26 48 83 c4 60 44 89 e0 5b 5d 41 5c 41 5d c3 e8 c4 43 22 fa <0f> 0b e8 fd df 61 fa eb 9f e8 16 e0 61 fa e9 6d ff ff ff e8 ec c2 RSP: 0018:ffffc90001787c40 EFLAGS: 00010212 RAX: 0000000000000093 RBX: 0000000000000000 RCX: ffffc90013a5b000 RDX: 0000000000040000 RSI: ffffffff875169fc RDI: 0000000000000003 RBP: 1ffff920002f0f88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000010 R15: 7fffffffffffffff FS: 00007ff843349700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020004900 CR3: 000000009f6ef000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pn_socket_connect+0x100/0x8d0 net/phonet/socket.c:227 __sys_connect_file+0x155/0x1a0 net/socket.c:1853 __sys_connect+0x160/0x190 net/socket.c:1870 __do_sys_connect net/socket.c:1881 [inline] __se_sys_connect net/socket.c:1878 [inline] __x64_sys_connect+0x6f/0xb0 net/socket.c:1878 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c429 Code: 8d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff843348c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000002540 RCX: 000000000045c429 RDX: 0000000000000010 RSI: 0000000020004900 RDI: 0000000000000003 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffc08b3f9af R14: 00007ff8433499c0 R15: 000000000078bf0c Modules linked in: ---[ end trace a6c25c3cde719e76 ]--- RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_autobind+0x13c/0x160 net/phonet/socket.c:202 Code: 44 05 00 00 00 00 00 48 8b 44 24 58 65 48 2b 04 25 28 00 00 00 75 26 48 83 c4 60 44 89 e0 5b 5d 41 5c 41 5d c3 e8 c4 43 22 fa <0f> 0b e8 fd df 61 fa eb 9f e8 16 e0 61 fa e9 6d ff ff ff e8 ec c2 RSP: 0018:ffffc90001787c40 EFLAGS: 00010212 RAX: 0000000000000093 RBX: 0000000000000000 RCX: ffffc90013a5b000 RDX: 0000000000040000 RSI: ffffffff875169fc RDI: 0000000000000003 RBP: 1ffff920002f0f88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000010 R15: 7fffffffffffffff FS: 00007ff843349700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009f6ef000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400