kernel BUG in pn_socket_listen (2)

Status: upstream: reported C repro on 2026/09/05 07:17
Reported-by: syzbot+d8d2a8a3ecad44cc98d9@syzkaller.appspotmail.com
First crash: 1d01h, last: 21h37m
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in pn_socket_listen -1 syz, C 6 22h54m 1d03h 0/3 upstream: reported C repro on 2026/09/05 05:03
linux-6.6 kernel BUG in pn_socket_listen -1 syz, C 3 16h56m 1d00h 0/2 upstream: reported C repro on 2026/09/05 08:33
linux-5.15 kernel BUG in pn_socket_listen -1 1 106d 106d 0/3 auto-obsoleted due to no activity on 2026/08/30 18:20

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: 4316 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_listen+0x353/0x360 net/phonet/socket.c:398
Code: ae f8 e9 e7 fe ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c f6 fe ff ff 4c 89 ff e8 e7 5e ae f8 e9 e9 fe ff ff e8 ad 30 69 f8 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 41
RSP: 0018:ffffc900031afe00 EFLAGS: 00010293
RAX: ffffffff890fdef3 RBX: 0000000000000000 RCX: ffff88807c433b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900031afeb8 R08: ffff88807c0e808b R09: 1ffff1100f81d011
R10: dffffc0000000000 R11: ffffed100f81d012 R12: dffffc0000000000
R13: ffff88807c0e8520 R14: 1ffff92000635fc4 R15: ffff88805c830c00
FS:  00007f6f389796c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6f38957ff8 CR3: 000000002ac86000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __sys_listen+0x19d/0x220 net/socket.c:1764
 __do_sys_listen net/socket.c:1773 [inline]
 __se_sys_listen net/socket.c:1771 [inline]
 __x64_sys_listen+0x56/0x60 net/socket.c:1771
 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:0x7f6f39319159
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:00007f6f38979028 EFLAGS: 00000246 ORIG_RAX: 0000000000000032
RAX: ffffffffffffffda RBX: 00007f6f395a0fa0 RCX: 00007f6f39319159
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f6f393b0024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6f395a1038 R14: 00007f6f395a0fa0 R15: 00007ffc0e33cfd8
 </TASK>
Modules linked in:
---[ end trace d9a4957939192758 ]---
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_listen+0x353/0x360 net/phonet/socket.c:398
Code: ae f8 e9 e7 fe ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c f6 fe ff ff 4c 89 ff e8 e7 5e ae f8 e9 e9 fe ff ff e8 ad 30 69 f8 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 41
RSP: 0018:ffffc900031afe00 EFLAGS: 00010293
RAX: ffffffff890fdef3 RBX: 0000000000000000 RCX: ffff88807c433b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900031afeb8 R08: ffff88807c0e808b R09: 1ffff1100f81d011
R10: dffffc0000000000 R11: ffffed100f81d012 R12: dffffc0000000000
R13: ffff88807c0e8520 R14: 1ffff92000635fc4 R15: ffff88805c830c00
FS:  00007f6f389796c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6f39366840 CR3: 000000002ac86000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/05 11:04 linux-5.15.y 0996e0926f6b 4f7b22a0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_listen
2026/09/05 07:18 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_listen
2026/09/05 07:16 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_listen
* Struck through repros no longer work on HEAD.