kernel BUG in pn_socket_connect

Status: upstream: reported C repro on 2026/05/03 14:18
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+e4a1d15023d82a3ac68d@syzkaller.appspotmail.com
First crash: 167d, last: 5d22h
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2026/06/16 linux-5.15.y (ToT) dc027a595035 C [report] kernel BUG in pn_socket_connect
2026/06/16 upstream (ToT) 6b5a2b7d9bc1 C Didn't crash
▶ ▼ 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 170d 170d 29/29 fixed on 2026/05/22 04:12
linux-6.6 kernel BUG in pn_socket_connect origin:lts-only -1 syz, C error 11 5d23h 167d 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 syz, C error 30 5d23h 167d 0/3 upstream: reported C repro on 2026/05/03 14:36
▶ ▼ Fix bisection attempts (1)
Created Duration User Patch Repo Result
2026/08/08 09:25 2h00m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/phonet/socket.c:213!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4316 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_connect+0xb86/0xb90 net/phonet/socket.c:227
Code: 48 8b 7c 24 10 e9 6b fd ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 1a fd ff ff 4c 89 e7 e8 94 3e ad f8 e9 0d fd ff ff e8 ba f9 67 f8 <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54
RSP: 0018:ffffc90002ecfc40 EFLAGS: 00010293
RAX: ffffffff891129a6 RBX: 0000000000000000 RCX: ffff888021703b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002ecfdb0 R08: ffff888076a886cb R09: 1ffff1100ed510d9
R10: dffffc0000000000 R11: ffffed100ed510da R12: ffff888074248018
R13: 1ffff920005d9f98 R14: dffffc0000000000 R15: 1ffff1100e849003
FS:  00007f0a5df886c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a5df87ff8 CR3: 000000002578c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __sys_connect_file net/socket.c:1933 [inline]
 __sys_connect+0x3cb/0x450 net/socket.c:1950
 __do_sys_connect net/socket.c:1960 [inline]
 __se_sys_connect net/socket.c:1957 [inline]
 __x64_sys_connect+0x76/0x80 net/socket.c:1957
 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:0x7f0a5e9491d9
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:00007f0a5df88028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f0a5ebd1090 RCX: 00007f0a5e9491d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f0a5e9e0888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0a5ebd1128 R14: 00007f0a5ebd1090 R15: 00007ffca58a6a38
 </TASK>
Modules linked in:
---[ end trace 19ee7ea0ae408304 ]---
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_connect+0xb86/0xb90 net/phonet/socket.c:227
Code: 48 8b 7c 24 10 e9 6b fd ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 1a fd ff ff 4c 89 e7 e8 94 3e ad f8 e9 0d fd ff ff e8 ba f9 67 f8 <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54
RSP: 0018:ffffc90002ecfc40 EFLAGS: 00010293
RAX: ffffffff891129a6 RBX: 0000000000000000 RCX: ffff888021703b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002ecfdb0 R08: ffff888076a886cb R09: 1ffff1100ed510d9
R10: dffffc0000000000 R11: ffffed100ed510da R12: ffff888074248018
R13: 1ffff920005d9f98 R14: dffffc0000000000 R15: 1ffff1100e849003
FS:  00007f0a5df886c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a5e9968c0 CR3: 000000002578c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/11 20:00 linux-5.15.y a051a4bf909f 4f92358f .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 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/10/11 19:07 linux-5.15.y a051a4bf909f 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/10/11 19:05 linux-5.15.y a051a4bf909f 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/09/05 07:13 linux-5.15.y 0996e0926f6b 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/09/05 07:12 linux-5.15.y 0996e0926f6b 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/08/10 09:22 linux-5.15.y aabd761612db 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/08/10 09:19 linux-5.15.y aabd761612db 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/08/10 01:06 linux-5.15.y aabd761612db 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/08/10 01:04 linux-5.15.y aabd761612db 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/07/06 20:38 linux-5.15.y c86c4726e7f0 88b240e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_connect
2026/07/06 17:40 linux-5.15.y c86c4726e7f0 88b240e4 .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: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.