syzbot


kernel BUG in pn_socket_connect

Status: upstream: reported on 2026/05/03 14:18
Reported-by: syzbot+e4a1d15023d82a3ac68d@syzkaller.appspotmail.com
First crash: 5d20h, last: 5d20h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in pn_socket_connect net -1 1 9d10h 9d10h 23/29 internal: reported on 2026/04/30 00:01
linux-6.6 kernel BUG in pn_socket_connect origin:lts-only -1 C 2 2d20h 5d20h 0/2 upstream: reported C repro on 2026/05/03 14:31
linux-6.1 kernel BUG in pn_socket_connect -1 C 5 5d17h 5d20h 0/3 upstream: reported C repro on 2026/05/03 14:36

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/phonet/socket.c:213!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4274 Comm: syz.2.3 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_connect+0xb87/0xb90 net/phonet/socket.c:227
Code: 48 8b 7c 24 10 e9 68 fd ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 17 fd ff ff 4c 89 e7 e8 e3 76 b2 f8 e9 0a fd ff ff e8 39 58 6d f8 <0f> 0b 0f 1f 80 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53
RSP: 0018:ffffc9000315fc40 EFLAGS: 00010287
RAX: ffffffff890bdc57 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc9000f48f000 RSI: 0000000000000055 RDI: 0000000000000056
RBP: ffffc9000315fdb0 R08: ffff88813fe23207 R09: 1ffff11027fc4640
R10: dffffc0000000000 R11: ffffed1027fc4641 R12: ffff88805f4cce18
R13: 1ffff9200062bf98 R14: dffffc0000000000 R15: 1ffff1100be999c3
FS:  00007fca64c596c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f57d1731000 CR3: 000000005e50f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __sys_connect_file net/socket.c:1932 [inline]
 __sys_connect+0x3cb/0x450 net/socket.c:1949
 __do_sys_connect net/socket.c:1959 [inline]
 __se_sys_connect net/socket.c:1956 [inline]
 __x64_sys_connect+0x76/0x80 net/socket.c:1956
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fca66a20dd9
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:00007fca64c59028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007fca66c9a090 RCX: 00007fca66a20dd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007fca66ab6d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fca66c9a128 R14: 00007fca66c9a090 R15: 00007ffd58d29fd8
 </TASK>
Modules linked in:
---[ end trace f8793b093d2b170d ]---
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_connect+0xb87/0xb90 net/phonet/socket.c:227
Code: 48 8b 7c 24 10 e9 68 fd ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 17 fd ff ff 4c 89 e7 e8 e3 76 b2 f8 e9 0a fd ff ff e8 39 58 6d f8 <0f> 0b 0f 1f 80 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53
RSP: 0018:ffffc9000315fc40 EFLAGS: 00010287
RAX: ffffffff890bdc57 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc9000f48f000 RSI: 0000000000000055 RDI: 0000000000000056
RBP: ffffc9000315fdb0 R08: ffff88813fe23207 R09: 1ffff11027fc4640
R10: dffffc0000000000 R11: ffffed1027fc4641 R12: ffff88805f4cce18
R13: 1ffff9200062bf98 R14: dffffc0000000000 R15: 1ffff1100be999c3
FS:  00007fca64c596c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8027e4de9c CR3: 000000005e50f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/03 14:20 linux-5.15.y ef251c45f1cd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/05/03 14:18 linux-5.15.y ef251c45f1cd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
* Struck through repros no longer work on HEAD.