syzbot


kernel BUG in pn_socket_connect

Status: upstream: reported C repro on 2026/05/03 14:36
Reported-by: syzbot+89b64c7e9fa924bcc92f@syzkaller.appspotmail.com
First crash: 8d19h, last: 8d16h
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 12d 12d 26/29 internal: reported on 2026/04/30 00:01
linux-6.6 kernel BUG in pn_socket_connect origin:lts-only -1 C 2 5d19h 8d19h 0/2 upstream: reported C repro on 2026/05/03 14:31
linux-5.15 kernel BUG in pn_socket_connect -1 2 8d19h 8d19h 0/3 upstream: reported on 2026/05/03 14:18

Sample crash report:
netlink: 'syz.0.17': attribute type 2 has an invalid length.
------------[ cut here ]------------
kernel BUG at net/phonet/socket.c:213!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4443 Comm: syz.0.17 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 73 05 6a f8 e9 0a fd ff ff e8 59 f9 18 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:ffffc90003317c40 EFLAGS: 00010293
RAX: ffffffff89697bf7 RBX: 0000000000000000 RCX: ffff8880799ad940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003317db0 R08: ffff888027320d1b R09: 1ffff11004e641a3
R10: dffffc0000000000 R11: ffffed1004e641a4 R12: ffff888073ef0c18
R13: 1ffff92000662f98 R14: dffffc0000000000 R15: 1ffff1100e7de183
FS:  00007fc1e366f6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc1e364dff8 CR3: 00000000750a3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __sys_connect_file net/socket.c:2010 [inline]
 __sys_connect+0x3cb/0x450 net/socket.c:2027
 __do_sys_connect net/socket.c:2037 [inline]
 __se_sys_connect net/socket.c:2034 [inline]
 __x64_sys_connect+0x76/0x80 net/socket.c:2034
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc1e279cdd9
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:00007fc1e366f028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007fc1e2a15fa0 RCX: 00007fc1e279cdd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007fc1e2832d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc1e2a16038 R14: 00007fc1e2a15fa0 R15: 00007ffd5b6bdc48
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
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 73 05 6a f8 e9 0a fd ff ff e8 59 f9 18 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:ffffc90003317c40 EFLAGS: 00010293
RAX: ffffffff89697bf7 RBX: 0000000000000000 RCX: ffff8880799ad940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003317db0 R08: ffff888027320d1b R09: 1ffff11004e641a3
R10: dffffc0000000000 R11: ffffed1004e641a4 R12: ffff888073ef0c18
R13: 1ffff92000662f98 R14: dffffc0000000000 R15: 1ffff1100e7de183
FS:  00007fc1e366f6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc1e27ea4c0 CR3: 00000000750a3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/03 16:59 linux-6.1.y 4931e0e1673d a0d91488 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in pn_socket_connect
2026/05/03 16:16 linux-6.1.y 4931e0e1673d a0d91488 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in pn_socket_connect
2026/05/03 15:31 linux-6.1.y 4931e0e1673d a0d91488 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in pn_socket_connect
2026/05/03 14:36 linux-6.1.y 4931e0e1673d a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in pn_socket_connect
2026/05/03 14:36 linux-6.1.y 4931e0e1673d a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in pn_socket_connect
* Struck through repros no longer work on HEAD.