syzbot


kernel BUG in pn_socket_connect

Status: upstream: reported C repro on 2026/05/03 14:31
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+bf90b0f2f5f630e0e396@syzkaller.appspotmail.com
First crash: 6d14h, last: 3d14h
Bug presence (2)
Date Name Commit Repro Result
2026/05/06 linux-6.6.y (ToT) 258cf62a6dfd C [report] kernel BUG in pn_socket_connect
2026/05/06 upstream (ToT) 74fe02ce122a 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 10d 10d 23/29 internal: reported on 2026/04/30 00:01
linux-5.15 kernel BUG in pn_socket_connect -1 2 6d14h 6d14h 0/3 upstream: reported on 2026/05/03 14:18
linux-6.1 kernel BUG in pn_socket_connect -1 C 5 6d12h 6d14h 0/3 upstream: reported C repro on 2026/05/03 14:36

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: 0 PID: 5930 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+0xb99/0xba0 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 b1 34 24 f8 e9 0a fd ff ff e8 d7 fd cb f7 <0f> 0b 0f 1f 44 00 00 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41
RSP: 0018:ffffc90003357c40 EFLAGS: 00010293
RAX: ffffffff89bb2429 RBX: 0000000000000000 RCX: ffff88802dca8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003357db0 R08: ffffffff8e8b19af R09: 1ffffffff1d16335
R10: dffffc0000000000 R11: fffffbfff1d16336 R12: ffff88806d520618
R13: 1ffff9200066af98 R14: dffffc0000000000 R15: 1ffff1100daa40c3
FS:  00007ff8d40b36c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff8d4092d58 CR3: 0000000076d6f000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 __sys_connect_file net/socket.c:2056 [inline]
 __sys_connect+0x3da/0x470 net/socket.c:2073
 __do_sys_connect net/socket.c:2083 [inline]
 __se_sys_connect net/socket.c:2080 [inline]
 __x64_sys_connect+0x7a/0x90 net/socket.c:2080
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ff8d319cdd9
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:00007ff8d40b3028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007ff8d3415fa0 RCX: 00007ff8d319cdd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007ff8d3232d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff8d3416038 R14: 00007ff8d3415fa0 R15: 00007ffcb0570138
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_connect+0xb99/0xba0 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 b1 34 24 f8 e9 0a fd ff ff e8 d7 fd cb f7 <0f> 0b 0f 1f 44 00 00 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41
RSP: 0018:ffffc90003357c40 EFLAGS: 00010293
RAX: ffffffff89bb2429 RBX: 0000000000000000 RCX: ffff88802dca8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003357db0 R08: ffffffff8e8b19af R09: 1ffffffff1d16335
R10: dffffc0000000000 R11: fffffbfff1d16336 R12: ffff88806d520618
R13: 1ffff9200066af98 R14: dffffc0000000000 R15: 1ffff1100daa40c3
FS:  00007ff8d40b36c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff8d31ea4c0 CR3: 0000000076d6f000 CR4: 00000000003506f0

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