kernel BUG in svc_destroy

Status: upstream: reported C repro on 2026/07/27 08:30
Reported-by: syzbot+081575878c5833a9922c@syzkaller.appspotmail.com
First crash: 11d, last: 9h19m
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in svc_destroy -1 syz, C 332 12h25m 11d 0/3 upstream: reported C repro on 2026/07/27 06:59

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/sunrpc/svc.c:572!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4358 Comm: syz.0.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:svc_destroy+0x184/0x190 net/sunrpc/svc.c:572
Code: 5f 5d e9 ef ae c3 f8 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 24 ff ff ff 4c 89 ff e8 56 43 c4 f8 e9 17 ff ff ff e8 9c 20 7f f8 <0f> 0b e8 95 20 7f f8 0f 0b 0f 1f 00 55 41 57 41 56 41 55 41 54 53
RSP: 0018:ffffc9000328fad0 EFLAGS: 00010293
RAX: ffffffff88f9dc14 RBX: ffff888023dc5050 RCX: ffff88802a23d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000328fc78 R08: ffffffff901ee1ef R09: 1ffffffff203dc3d
R10: dffffc0000000000 R11: fffffbfff203dc3e R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888023dc5068 R15: 0000000000000001
FS:  000055555c6b7500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdc9924fc8 CR3: 000000007917f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kref_put include/linux/kref.h:65 [inline]
 svc_put include/linux/sunrpc/svc.h:123 [inline]
 __write_ports_addxprt fs/nfsd/nfsctl.c:770 [inline]
 __write_ports fs/nfsd/nfsctl.c:796 [inline]
 write_ports+0xa26/0xb80 fs/nfsd/nfsctl.c:849
 nfsctl_transaction_write+0x105/0x150 fs/nfsd/nfsctl.c:114
 vfs_write+0x304/0xd70 fs/read_write.c:592
 ksys_write+0x153/0x260 fs/read_write.c:647
 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:0x7f996996c0d9
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:00007ffdc99264c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9969bf3fa0 RCX: 00007f996996c0d9
RDX: 0000000000000009 RSI: 00002000000002c0 RDI: 0000000000000003
RBP: 00007f9969a03024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9969bf3fac R14: 00007f9969bf3fa0 R15: 00007f9969bf3fa0
 </TASK>
Modules linked in:
---[ end trace a1486da742d3b91b ]---
RIP: 0010:svc_destroy+0x184/0x190 net/sunrpc/svc.c:572
Code: 5f 5d e9 ef ae c3 f8 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 24 ff ff ff 4c 89 ff e8 56 43 c4 f8 e9 17 ff ff ff e8 9c 20 7f f8 <0f> 0b e8 95 20 7f f8 0f 0b 0f 1f 00 55 41 57 41 56 41 55 41 54 53
RSP: 0018:ffffc9000328fad0 EFLAGS: 00010293
RAX: ffffffff88f9dc14 RBX: ffff888023dc5050 RCX: ffff88802a23d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000328fc78 R08: ffffffff901ee1ef R09: 1ffffffff203dc3d
R10: dffffc0000000000 R11: fffffbfff203dc3e R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888023dc5068 R15: 0000000000000001
FS:  000055555c6b7500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdc9924fc8 CR3: 000000007917f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (860):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/06 12:37 linux-5.15.y 6e2fd6534337 cd5b1963 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/06 10:09 linux-5.15.y 6e2fd6534337 cd5b1963 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 14:56 linux-5.15.y 6e2fd6534337 52aa2820 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/30 05:18 linux-5.15.y 674f684f7c61 6ef5c1e2 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/27 09:58 linux-5.15.y 674f684f7c61 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/27 09:17 linux-5.15.y 674f684f7c61 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/07 15:15 linux-5.15.y aabd761612db e4ef95d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/07 12:28 linux-5.15.y aabd761612db e4ef95d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/06 20:17 linux-5.15.y 9c7634c60784 c38879ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 21:37 linux-5.15.y 6e2fd6534337 cd5b1963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 08:04 linux-5.15.y 6e2fd6534337 52aa2820 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 05:25 linux-5.15.y 6e2fd6534337 52aa2820 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 02:42 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 02:18 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 01:54 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 01:37 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 01:12 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 00:52 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 00:33 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/05 00:14 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 23:51 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 23:38 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 23:22 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 23:02 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 22:47 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 22:29 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 22:11 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 21:51 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 21:33 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 21:08 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 20:47 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 20:11 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 19:46 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 19:18 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 19:01 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 18:33 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 18:18 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 15:41 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/04 05:14 linux-5.15.y 6e2fd6534337 9451e17e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/03 20:50 linux-5.15.y 6e2fd6534337 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/03 20:37 linux-5.15.y 6e2fd6534337 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/03 20:15 linux-5.15.y 6e2fd6534337 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/03 19:40 linux-5.15.y 6e2fd6534337 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/03 19:21 linux-5.15.y 6e2fd6534337 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/08/01 04:55 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/30 20:20 linux-5.15.y 6e2fd6534337 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/30 14:41 linux-5.15.y 6e2fd6534337 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/29 21:10 linux-5.15.y 674f684f7c61 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/29 17:22 linux-5.15.y 674f684f7c61 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
2026/07/27 08:30 linux-5.15.y 674f684f7c61 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in svc_destroy
* Struck through repros no longer work on HEAD.