syzbot


general protection fault in kernel_sock_shutdown (4)

Status: upstream: reported on 2026/04/23 15:01
Subsystems: rdma
[Documentation on labels]
Reported-by: syzbot+d8f76778263ab65c2b21@syzkaller.appspotmail.com
First crash: 6d17h, last: 3h30m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] general protection fault in kernel_sock_shutdown (4) 3 (4) 2026/04/24 18:08
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in kernel_sock_shutdown smc 2 C 3329 2927d 2985d 5/29 fixed on 2018/07/05 05:52
upstream general protection fault in kernel_sock_shutdown (2) net 2 2 1504d 1520d 0/29 auto-closed as invalid on 2022/06/13 05:28
upstream general protection fault in kernel_sock_shutdown (3) net 2 syz 5 393d 392d 28/29 fixed on 2025/06/10 16:19

Sample crash report:
siw: device registration error -23
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f]
CPU: 0 UID: 0 PID: 8693 Comm: syz.6.632 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:kernel_sock_shutdown+0x47/0x70 net/socket.c:3785
Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 33 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 20 49 8d 7c 24 68 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 1a 49 8b 44 24 68 89 ee 48 89 df 5b 5d 41 5c e9 d5
RSP: 0018:ffffc90004ce7180 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888055769240 RCX: 0000000000000000
RDX: 000000000000000d RSI: ffffffff8954fb92 RDI: 0000000000000068
RBP: 0000000000000002 R08: 0000000000000001 R09: ffffed1005c934a5
R10: ffff88802e49a52b R11: 0000000000000000 R12: 0000000000000000
R13: ffff888079f00000 R14: 0000000000000002 R15: 0000000000000018
FS:  00007f6504dd56c0(0000) GS:ffff888124379000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f88233ada40 CR3: 000000002c4a8000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 udp_tunnel_sock_release+0x68/0x80 net/ipv4/udp_tunnel_core.c:202
 rxe_release_udp_tunnel drivers/infiniband/sw/rxe/rxe_net.c:294 [inline]
 rxe_sock_put+0xae/0x130 drivers/infiniband/sw/rxe/rxe_net.c:639
 rxe_net_del+0x83/0x120 drivers/infiniband/sw/rxe/rxe_net.c:660
 rxe_dellink+0x15/0x20 drivers/infiniband/sw/rxe/rxe.c:254
 nldev_dellink+0x289/0x3c0 drivers/infiniband/core/nldev.c:1849
 rdma_nl_rcv_msg+0x392/0x6f0 drivers/infiniband/core/netlink.c:195
 rdma_nl_rcv_skb.constprop.0.isra.0+0x2cb/0x410 drivers/infiniband/core/netlink.c:239
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x585/0x850 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x8b0/0xda0 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec net/socket.c:787 [inline]
 __sock_sendmsg net/socket.c:802 [inline]
 ____sys_sendmsg+0x9e1/0xb70 net/socket.c:2698
 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2752
 __sys_sendmsg+0x170/0x220 net/socket.c:2784
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x10b/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6506b9cdd9
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:00007f6504dd5028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f6506e16090 RCX: 00007f6506b9cdd9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000a
RBP: 00007f6506c32d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6506e16128 R14: 00007f6506e16090 R15: 00007ffc0b8028f8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:kernel_sock_shutdown+0x47/0x70 net/socket.c:3785
Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 33 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 20 49 8d 7c 24 68 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 1a 49 8b 44 24 68 89 ee 48 89 df 5b 5d 41 5c e9 d5
RSP: 0018:ffffc90004ce7180 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888055769240 RCX: 0000000000000000
RDX: 000000000000000d RSI: ffffffff8954fb92 RDI: 0000000000000068
RBP: 0000000000000002 R08: 0000000000000001 R09: ffffed1005c934a5
R10: ffff88802e49a52b R11: 0000000000000000 R12: 0000000000000000
R13: ffff888079f00000 R14: 0000000000000002 R15: 0000000000000018
FS:  00007f6504dd56c0(0000) GS:ffff888124379000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f88233ea4c0 CR3: 000000002c4a8000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	fc                   	cld
   1:	ff                   	lcall  (bad)
   2:	df 48 89             	fisttps -0x77(%rax)
   5:	fa                   	cli
   6:	48 c1 ea 03          	shr    $0x3,%rdx
   a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   e:	75 33                	jne    0x43
  10:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  17:	fc ff df
  1a:	4c 8b 63 20          	mov    0x20(%rbx),%r12
  1e:	49 8d 7c 24 68       	lea    0x68(%r12),%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	75 1a                	jne    0x4a
  30:	49 8b 44 24 68       	mov    0x68(%r12),%rax
  35:	89 ee                	mov    %ebp,%esi
  37:	48 89 df             	mov    %rbx,%rdi
  3a:	5b                   	pop    %rbx
  3b:	5d                   	pop    %rbp
  3c:	41 5c                	pop    %r12
  3e:	e9                   	.byte 0xe9
  3f:	d5                   	.byte 0xd5

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/26 16:50 upstream 897d54018cc9 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in kernel_sock_shutdown
2026/04/26 21:33 upstream 897d54018cc9 9c2d0995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in kernel_sock_shutdown
2026/04/26 14:07 upstream 897d54018cc9 9c2d0995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in kernel_sock_shutdown
2026/04/26 09:48 upstream 897d54018cc9 9c2d0995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in kernel_sock_shutdown
2026/04/26 00:48 upstream 897d54018cc9 9c2d0995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in kernel_sock_shutdown
2026/04/25 18:01 upstream 27d128c1cff6 9c2d0995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in kernel_sock_shutdown
2026/04/25 06:06 upstream 892c894b4ba4 9c2d0995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in kernel_sock_shutdown
2026/04/22 08:04 upstream 6596a02b2078 0b6ab7ec .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in kernel_sock_shutdown
2026/04/21 08:19 upstream b4e07588e743 3f2e655b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in kernel_sock_shutdown
2026/04/21 16:30 upstream b4e07588e743 9765efe0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in kernel_sock_shutdown
2026/04/26 21:06 net-next e728258debd5 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in kernel_sock_shutdown
2026/04/26 18:34 net-next e728258debd5 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in kernel_sock_shutdown
2026/04/25 18:07 net-next e728258debd5 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in kernel_sock_shutdown
2026/04/25 01:01 net-next e728258debd5 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in kernel_sock_shutdown
2026/04/24 21:55 net-next e728258debd5 1c2b9291 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in kernel_sock_shutdown
2026/04/27 22:44 net 254f49634ee1 ce741359 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in kernel_sock_shutdown
* Struck through repros no longer work on HEAD.