kernel BUG in pn_socket_sendmsg

Status: upstream: reported C repro on 2026/05/24 01:22
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+594221e25bfda1656bb1@syzkaller.appspotmail.com
First crash: 183d, last: 17d
Fix commit to backport (bisect log) :
tree: upstream
commit 5b0c911bcdbd982f7748d11c0b39ec5808eae2de
Author: Morduan Zang <zhangdandan@uniontech.com>
Date: Thu Apr 23 01:05:57 2026 +0000

  net: phonet: do not BUG_ON() in pn_socket_autobind() on failed bind

Fix bisection: failed (error log)
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2026/07/17 linux-5.15.y (ToT) c86c4726e7f0 C [report] kernel BUG in pn_socket_sendmsg
2026/07/17 upstream (ToT) fce2dfa773ce C Didn't crash
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in pn_socket_sendmsg -1 syz, C error 78 31d 218d 0/3 upstream: reported C repro on 2026/04/19 04:56
upstream kernel BUG in pn_socket_sendmsg net -1 syz, C 19 208d 215d 29/29 fixed on 2026/05/22 04:12
linux-6.6 kernel BUG in pn_socket_sendmsg origin:lts-only -1 syz, C inconclusive 40 54d 183d 0/2 upstream: reported C repro on 2026/05/24 06:57
▶ ▼ Fix bisection attempts (2)
Created Duration User Patch Repo Result
2026/11/12 08:17 7h31m fix candidate upstream OK (1) job log
2026/09/02 09:19 0m bisect fix linux-5.15.y error

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/phonet/socket.c:213!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4516 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_sendmsg+0x223/0x230 net/phonet/socket.c:422
Code: 41 5f 5d c3 e8 ee 18 b1 00 89 d9 80 e1 07 fe c1 38 c1 0f 8c 0f ff ff ff 48 89 df e8 27 03 a6 f8 e9 02 ff ff ff e8 0d bb 60 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:ffffc9000325fc40 EFLAGS: 00010293
RAX: ffffffff89187283 RBX: 0000000000000000 RCX: ffff888022dd1dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000325fcf0 R08: ffff88813fe9e407 R09: 1ffff11027fd3c80
R10: dffffc0000000000 R11: ffffed1027fd3c81 R12: dffffc0000000000
R13: ffff88805b486600 R14: ffff888078820c80 R15: 1ffff9200064bf8c
FS:  00007f3e4d78e6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3e4e13b980 CR3: 000000001f3a9000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 __sys_sendto+0x46d/0x620 net/socket.c:2073
 __do_sys_sendto net/socket.c:2085 [inline]
 __se_sys_sendto net/socket.c:2081 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2081
 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:0x7f3e4e11134e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f3e4d78ce88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f3e4d78e6c0 RCX: 00007f3e4e11134e
RDX: 0000000000000024 RSI: 00007f3e4d78d000 RDI: 0000000000000006
RBP: 0000000000000000 R08: 00007f3e4d78cf04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007f3e4d78cf58 R14: 00007f3e4d78d000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 242ef9d667e60ce7 ]---
RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline]
RIP: 0010:pn_socket_sendmsg+0x223/0x230 net/phonet/socket.c:422
Code: 41 5f 5d c3 e8 ee 18 b1 00 89 d9 80 e1 07 fe c1 38 c1 0f 8c 0f ff ff ff 48 89 df e8 27 03 a6 f8 e9 02 ff ff ff e8 0d bb 60 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:ffffc9000325fc40 EFLAGS: 00010293
RAX: ffffffff89187283 RBX: 0000000000000000 RCX: ffff888022dd1dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000325fcf0 R08: ffff88813fe9e407 R09: 1ffff11027fd3c80
R10: dffffc0000000000 R11: ffffed1027fd3c81 R12: dffffc0000000000
R13: ffff88805b486600 R14: ffff888078820c80 R15: 1ffff9200064bf8c
FS:  00007f3e4d78e6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3e4e19e200 CR3: 000000001f3a9000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (45):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/06 16:12 linux-5.15.y 700e62ea909a 5cecaf1f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/15 19:24 linux-5.15.y c86c4726e7f0 a4ed0f4f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/11/06 14:28 linux-5.15.y 700e62ea909a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/11 21:58 linux-5.15.y 0996e0926f6b b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/11 17:35 linux-5.15.y 0996e0926f6b b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/11 17:35 linux-5.15.y 0996e0926f6b b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/11 00:54 linux-5.15.y 0996e0926f6b 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/11 00:52 linux-5.15.y 0996e0926f6b 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/10 17:45 linux-5.15.y 0996e0926f6b 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/10 17:45 linux-5.15.y 0996e0926f6b 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/10 09:31 linux-5.15.y 0996e0926f6b 4e8b1cc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/10 01:16 linux-5.15.y 0996e0926f6b 4e8b1cc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/09/10 01:14 linux-5.15.y 0996e0926f6b 4e8b1cc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/08/03 03:04 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/08/03 03:04 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/08/03 00:22 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/08/01 23:43 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/08/01 07:50 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/08/01 07:50 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/28 23:58 linux-5.15.y 674f684f7c61 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/28 23:58 linux-5.15.y 674f684f7c61 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/28 23:55 linux-5.15.y 674f684f7c61 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/26 01:19 linux-5.15.y 674f684f7c61 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/25 21:20 linux-5.15.y 674f684f7c61 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/25 21:20 linux-5.15.y 674f684f7c61 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/22 22:38 linux-5.15.y c86c4726e7f0 4a865b71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/22 09:05 linux-5.15.y c86c4726e7f0 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/22 08:21 linux-5.15.y c86c4726e7f0 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/22 08:18 linux-5.15.y c86c4726e7f0 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/22 07:39 linux-5.15.y c86c4726e7f0 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/22 07:37 linux-5.15.y c86c4726e7f0 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/21 18:48 linux-5.15.y c86c4726e7f0 7c5de9c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/16 19:18 linux-5.15.y c86c4726e7f0 71b49442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/16 19:18 linux-5.15.y c86c4726e7f0 71b49442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/15 15:29 linux-5.15.y c86c4726e7f0 a4ed0f4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/15 15:27 linux-5.15.y c86c4726e7f0 a4ed0f4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/07/15 15:26 linux-5.15.y c86c4726e7f0 a4ed0f4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/05/25 22:31 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/05/25 22:28 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/05/24 08:47 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/05/24 08:47 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/05/24 01:21 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
2026/05/24 01:21 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in pn_socket_sendmsg
* Struck through repros no longer work on HEAD.