kernel BUG in pn_socket_listen

Status: upstream: reported C repro on 2026/09/05 05:03
Reported-by: syzbot+79df709497068eb6845f@syzkaller.appspotmail.com
First crash: 2d06h, last: 2d01h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 kernel BUG in pn_socket_listen -1 syz, C 3 1d19h 2d03h 0/2 upstream: reported C repro on 2026/09/05 08:33
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!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4493 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : pn_socket_autobind net/phonet/socket.c:213 [inline]
pc : pn_socket_listen+0x2f8/0x2fc net/phonet/socket.c:398
lr : pn_socket_autobind net/phonet/socket.c:213 [inline]
lr : pn_socket_listen+0x2f8/0x2fc net/phonet/socket.c:398
sp : ffff800020f47c60
x29: ffff800020f47cc0 x28: ffff0000d2f91c00 x27: 0000000000000006
x26: 1fffe0001ca449c3 x25: ffff0000e5224e18 x24: dfff800000000000
x23: ffff7000041e8f8c x22: 0000000000000000 x21: ffff0000e5224e00
x20: ffff0000df4e0c80 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082dd25c x15: 0000000000000000
x14: 0000000000000001 x13: 1fffe0001be9c1a3 x12: 0000000000000000
x11: ff00800011068af4 x10: 0000000000000000 x9 : ffff800011068af4
x8 : ffff0000d2f91c00 x7 : ffff80000fe89254 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff800020f47aa0 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 pn_socket_autobind net/phonet/socket.c:213 [inline]
 pn_socket_listen+0x2f8/0x2fc net/phonet/socket.c:398
 __sys_listen+0x198/0x21c net/socket.c:1845
 __do_sys_listen net/socket.c:1854 [inline]
 __se_sys_listen net/socket.c:1852 [inline]
 __arm64_sys_listen+0x5c/0x74 net/socket.c:1852
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 910fa280 97be2435 17ffffbd 97be23ba (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/05 06:48 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in pn_socket_listen
2026/09/05 06:16 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in pn_socket_listen
2026/09/05 09:47 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in pn_socket_listen
2026/09/05 09:45 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in pn_socket_listen
2026/09/05 05:04 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in pn_socket_listen
2026/09/05 05:03 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in pn_socket_listen
* Struck through repros no longer work on HEAD.