syzbot


kernel BUG in pn_socket_connect

Status: upstream: reported C repro on 2026/05/03 14:18
Reported-by: syzbot+e4a1d15023d82a3ac68d@syzkaller.appspotmail.com
First crash: 41d, last: 2d20h
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 44d 44d 29/29 fixed on 2026/05/22 04:12
linux-6.6 kernel BUG in pn_socket_connect origin:lts-only -1 C error 6 2d10h 41d 0/2 upstream: reported C repro on 2026/05/03 14:31
linux-6.1 kernel BUG in pn_socket_connect origin:lts-only -1 C error 15 2d11h 41d 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: 0 PID: 4354 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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 a3 e9 b1 f8 e9 0a fd ff ff e8 69 d0 6c 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:ffffc9000308fc40 EFLAGS: 00010293
RAX: ffffffff890c7887 RBX: 0000000000000000 RCX: ffff888077f19dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000308fdb0 R08: ffff88813fe22407 R09: 1ffff11027fc4480
R10: dffffc0000000000 R11: ffffed1027fc4481 R12: ffff8880688b6c18
R13: 1ffff92000611f98 R14: dffffc0000000000 R15: 1ffff1100d116d83
FS:  00007f5b3adff6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5b3adfeff8 CR3: 000000007484d000 CR4: 00000000003506f0
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:0x7f5b3b7bee59
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:00007f5b3adff028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f5b3ba38090 RCX: 00007f5b3b7bee59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f5b3b854d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5b3ba38128 R14: 00007f5b3ba38090 R15: 00007ffea5048818
 </TASK>
Modules linked in:
---[ end trace 8adba8a05ba4b5e4 ]---
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 a3 e9 b1 f8 e9 0a fd ff ff e8 69 d0 6c 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:ffffc9000308fc40 EFLAGS: 00010293
RAX: ffffffff890c7887 RBX: 0000000000000000 RCX: ffff888077f19dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000308fdb0 R08: ffff88813fe22407 R09: 1ffff11027fc4480
R10: dffffc0000000000 R11: ffffed1027fc4481 R12: ffff8880688b6c18
R13: 1ffff92000611f98 R14: dffffc0000000000 R15: 1ffff1100d116d83
FS:  00007f5b3adff6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5b3b80c540 CR3: 000000007484d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/10 10:08 linux-5.15.y dc027a595035 34dab4be .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 21:34 linux-5.15.y dc027a595035 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 21:33 linux-5.15.y dc027a595035 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 20:58 linux-5.15.y dc027a595035 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 19:36 linux-5.15.y dc027a595035 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 18:19 linux-5.15.y dc027a595035 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 18:19 linux-5.15.y dc027a595035 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 10:19 linux-5.15.y dc027a595035 34dab4be .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/06/10 06:07 linux-5.15.y dc027a595035 34dab4be .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: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.