kernel BUG in pn_socket_listen

Status: upstream: reported C repro on 2026/09/05 08:33
Reported-by: syzbot+4657c4de5397a75be1de@syzkaller.appspotmail.com
First crash: 2d03h, last: 1d19h
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 2d01h 2d06h 0/3 upstream: reported C repro on 2026/09/05 05:03
linux-5.15 kernel BUG in pn_socket_listen (2) -1 syz, C 3 2d00h 2d04h 0/3 upstream: reported C repro on 2026/09/05 07:17
linux-5.15 kernel BUG in pn_socket_listen -1 1 107d 107d 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: 1 PID: 5945 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+0x365/0x370 net/phonet/socket.c:398
Code: 1b 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 65 33 1b f8 e9 e9 fe ff ff e8 5b b1 c2 f7 <0f> 0b 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 57 41
RSP: 0018:ffffc90003397e00 EFLAGS: 00010293
RAX: ffffffff89c4d115 RBX: 0000000000000000 RCX: ffff88807a788000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003397eb8 R08: ffffffff8e8c8daf R09: 1ffffffff1d191b5
R10: dffffc0000000000 R11: fffffbfff1d191b6 R12: dffffc0000000000
R13: ffff88805f048518 R14: 1ffff92000672fc4 R15: ffff888060e0aa00
FS:  00007fe401d456c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe401d23ff8 CR3: 0000000028d15000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 __sys_listen+0x1a4/0x220 net/socket.c:1890
 __do_sys_listen net/socket.c:1899 [inline]
 __se_sys_listen net/socket.c:1897 [inline]
 __x64_sys_listen+0x5a/0x70 net/socket.c:1897
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe400d9e159
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:00007fe401d45028 EFLAGS: 00000246 ORIG_RAX: 0000000000000032
RAX: ffffffffffffffda RBX: 00007fe401025fa0 RCX: 00007fe400d9e159
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007fe400e35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe401026038 R14: 00007fe401025fa0 R15: 00007ffff7d14638
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_listen+0x365/0x370 net/phonet/socket.c:398
Code: 1b 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 65 33 1b f8 e9 e9 fe ff ff e8 5b b1 c2 f7 <0f> 0b 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 57 41
RSP: 0018:ffffc90003397e00 EFLAGS: 00010293
RAX: ffffffff89c4d115 RBX: 0000000000000000 RCX: ffff88807a788000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003397eb8 R08: ffffffff8e8c8daf R09: 1ffffffff1d191b5
R10: dffffc0000000000 R11: fffffbfff1d191b6 R12: dffffc0000000000
R13: ffff88805f048518 R14: 1ffff92000672fc4 R15: ffff888060e0aa00
FS:  00007fe401d456c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe401d23ff8 CR3: 0000000028d15000 CR4: 00000000003506e0

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/05 15:45 linux-6.6.y 8b73de7da85f 4f7b22a0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in pn_socket_listen
2026/09/05 08:33 linux-6.6.y 8b73de7da85f 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in pn_socket_listen
2026/09/05 08:33 linux-6.6.y 8b73de7da85f 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in pn_socket_listen
* Struck through repros no longer work on HEAD.