syzbot


general protection fault in smc_diag_dump_proto

Status: upstream: reported C repro on 2024/08/09 16:27
Subsystems: s390 net rdma
[Documentation on labels]
Reported-by: syzbot+f69bfae0a4eb29976e44@syzkaller.appspotmail.com
First crash: 253d, last: 13h25m
Cause bisection: the cause commit could be any of (bisect log):
  5bcd9a0a5995 wifi: brcm80211: remove unused structs
  f29dcae96ec8 Merge tag 'rtw-next-2024-06-04' of https://github.com/pkshih/rtw
  
Discussions (9)
Title Replies (including bot) Last reply
[syzbot] Monthly rdma report (Apr 2025) 0 (1) 2025/04/03 07:06
[syzbot] Monthly s390 report (Mar 2025) 0 (1) 2025/03/08 22:17
[syzbot] Monthly s390 report (Feb 2025) 0 (1) 2025/02/05 12:43
[syzbot] Monthly s390 report (Jan 2025) 0 (1) 2025/01/06 10:01
[syzbot] Monthly s390 report (Dec 2024) 0 (1) 2024/12/05 09:07
[syzbot] [net?] [s390?] general protection fault in smc_diag_dump_proto 3 (10) 2024/09/19 17:34
[PATCH net,v3] net/smc: prevent NULL pointer dereference in txopt_get 10 (10) 2024/08/14 10:37
[PATCH net,v2] net/smc: prevent NULL pointer dereference in txopt_get 1 (1) 2024/08/13 10:03
Re: [PATCH net] net/smc: prevent NULL pointer dereference in txopt_get 1 (1) 2024/08/13 04:06
Last patch testing requests (13)
Created Duration User Patch Repo Result
2024/09/19 12:43 2h52m aha310510@gmail.com patch upstream report log
2024/09/18 16:04 21m aha310510@gmail.com patch upstream report log
2024/09/18 09:05 3h06m aha310510@gmail.com upstream report log
2024/08/23 16:22 23m retest repro net-next report log
2024/08/23 16:22 23m retest repro net-next report log
2024/08/23 16:22 23m retest repro net-next report log
2024/08/23 16:22 15m retest repro net-next report log
2024/08/23 16:22 1h44m retest repro net-next report log
2024/08/13 03:21 23m aha310510@gmail.com patch upstream OK log
2024/08/13 01:16 1m aha310510@gmail.com patch upstream error
2024/08/12 09:28 2h24m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git d7e78951a8b8 report log
2024/08/09 14:51 22m edumazet@google.com net-next report log
2024/08/02 13:50 53m edumazet@google.com net-next report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc00000a2403: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x0000000000512018-0x000000000051201f]
CPU: 0 UID: 0 PID: 5321 Comm: syz-executor670 Not tainted 6.14.0-rc4-syzkaller-00248-g03d38806a902 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:smc_diag_msg_common_fill net/smc/smc_diag.c:44 [inline]
RIP: 0010:__smc_diag_dump net/smc/smc_diag.c:89 [inline]
RIP: 0010:smc_diag_dump_proto+0x6d7/0x3280 net/smc/smc_diag.c:217
Code: 80 3c 2f 00 74 08 48 89 df e8 a5 01 76 f6 48 89 5c 24 28 48 8b 1b 48 85 db 0f 84 51 02 00 00 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 7a 01 76 f6 48 8b 44 24 18 4c 8d
RSP: 0018:ffffc9000d06ee80 EFLAGS: 00010206
RAX: 00000000000a2403 RBX: 0000000000512018 RCX: ffff888000c2a440
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc9000d06f310 R08: ffffffff89da7bf2 R09: 1ffff11008f8278b
R10: dffffc0000000000 R11: ffffed1008f8278c R12: ffff888047c20000
R13: dffffc0000000000 R14: ffff888047c13c00 R15: 1ffff11008f8282b
FS:  00007f01d3fe56c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000040000000e000 CR3: 000000003609e000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 smc_diag_dump+0x59/0xa0 net/smc/smc_diag.c:236
 netlink_dump+0x64d/0xe10 net/netlink/af_netlink.c:2308
 __netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2423
 netlink_dump_start include/linux/netlink.h:340 [inline]
 smc_diag_handler_dump+0x1ab/0x250 net/smc/smc_diag.c:251
 sock_diag_rcv_msg+0x3dc/0x5f0
 netlink_rcv_skb+0x206/0x480 net/netlink/af_netlink.c:2533
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x8de/0xcb0 net/netlink/af_netlink.c:1882
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:733
 ____sys_sendmsg+0x53a/0x860 net/socket.c:2573
 ___sys_sendmsg net/socket.c:2627 [inline]
 __sys_sendmsg+0x269/0x350 net/socket.c:2659
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f01d402a519
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f01d3fe5218 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f01d402a519
RDX: 0000000000000600 RSI: 0000400000000540 RDI: 0000000000000024
RBP: 00007f01d40b4308 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f01d40b4300
R13: 00004000000000c0 R14: 0000400000000340 R15: 0000400000000550
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:smc_diag_msg_common_fill net/smc/smc_diag.c:44 [inline]
RIP: 0010:__smc_diag_dump net/smc/smc_diag.c:89 [inline]
RIP: 0010:smc_diag_dump_proto+0x6d7/0x3280 net/smc/smc_diag.c:217
Code: 80 3c 2f 00 74 08 48 89 df e8 a5 01 76 f6 48 89 5c 24 28 48 8b 1b 48 85 db 0f 84 51 02 00 00 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 7a 01 76 f6 48 8b 44 24 18 4c 8d
RSP: 0018:ffffc9000d06ee80 EFLAGS: 00010206
RAX: 00000000000a2403 RBX: 0000000000512018 RCX: ffff888000c2a440
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc9000d06f310 R08: ffffffff89da7bf2 R09: 1ffff11008f8278b
R10: dffffc0000000000 R11: ffffed1008f8278c R12: ffff888047c20000
R13: dffffc0000000000 R14: ffff888047c13c00 R15: 1ffff11008f8282b
FS:  00007f01d3fe56c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000040000000e000 CR3: 000000003609e000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	80 3c 2f 00          	cmpb   $0x0,(%rdi,%rbp,1)
   4:	74 08                	je     0xe
   6:	48 89 df             	mov    %rbx,%rdi
   9:	e8 a5 01 76 f6       	call   0xf67601b3
   e:	48 89 5c 24 28       	mov    %rbx,0x28(%rsp)
  13:	48 8b 1b             	mov    (%rbx),%rbx
  16:	48 85 db             	test   %rbx,%rbx
  19:	0f 84 51 02 00 00    	je     0x270
  1f:	48 83 c3 18          	add    $0x18,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 7a 01 76 f6       	call   0xf67601b3
  39:	48 8b 44 24 18       	mov    0x18(%rsp),%rax
  3e:	4c                   	rex.WR
  3f:	8d                   	.byte 0x8d

Crashes (263):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/01 19:39 upstream 03d38806a902 c3901742 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in smc_diag_dump_proto
2025/01/08 15:25 net db78475ba0d3 f3558dbf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/03 08:10 net-next dbb9a7ef3478 f00eed24 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/07/26 01:23 net-next d7e78951a8b8 32fcf98f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/07/25 23:44 net-next d7e78951a8b8 32fcf98f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/07/25 21:55 net-next d7e78951a8b8 32fcf98f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/07/25 20:06 net-next d7e78951a8b8 32fcf98f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/07/25 18:23 net-next d7e78951a8b8 32fcf98f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/07/25 16:39 net-next d7e78951a8b8 32fcf98f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/19 18:17 net d9c743b6990b 8d0a2921 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/21 23:18 upstream 88d324e69ea9 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in smc_diag_dump_proto
2025/03/21 21:39 upstream b3ee1e460951 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/21 20:26 upstream b3ee1e460951 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/14 14:29 upstream 695caca9345a e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in smc_diag_dump_proto
2025/03/02 16:07 upstream ece144f151ac c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in smc_diag_dump_proto
2025/03/01 00:26 upstream 76544811c850 1e7a43e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in smc_diag_dump_proto
2025/03/28 08:34 upstream 4fa118e5b79f 6c09fb82 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in smc_diag_dump_proto
2025/02/15 09:12 upstream 04f41cbf03ec 40a34ec9 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in smc_diag_dump_proto
2025/04/04 12:39 net 8bc251e5d874 d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/04/04 06:12 net 3a0a3ff6593d d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/04/03 19:17 net 3a0a3ff6593d 996a9618 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/04/01 03:53 net 4f1eaabb4b66 36d76a97 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/31 15:44 net 4f1eaabb4b66 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/29 06:08 net 2ea396448f26 cf25e2c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/27 11:23 net 70facbf978ac 20510e88 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/25 08:27 net cec7dde2a926 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/23 21:59 net ed3ba9b6e280 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/22 22:39 net ed3ba9b6e280 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/20 09:20 net a0aff75e1553 3b7445cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/18 21:59 net 5f079290e591 22a6c2b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/18 05:24 net 4003c9e78778 ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/18 02:17 net 4003c9e78778 ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/17 07:17 net 4003c9e78778 948c34e4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/12 08:16 net d2b9d97e89c7 ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/11 12:30 net 77b2ab31fc65 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/03 02:32 net a466fd7e9faf c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/23 13:44 net 28b04731a38c d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/23 11:31 net 28b04731a38c d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/18 23:56 net f7b5279b67e7 9a14138f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/18 22:30 net f7b5279b67e7 c37c7249 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/17 11:36 net 071ed42cff4f 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/16 22:49 net 071ed42cff4f 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/16 15:19 net 071ed42cff4f 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/14 02:41 net 488fb6effe03 d9a046cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/11 22:59 net 44ce3511c21c f2baddf5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/11 07:31 net 9dfedb8dc78b 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/10 17:18 net 011b03359038 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/08 14:31 net cb827db50a88 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/08 04:20 net cb827db50a88 a4f327c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/07 23:16 net 1438f5d07b9a a4f327c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2025/04/04 03:10 net-next acc4d5ff0b61 d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/31 02:08 net-next 1a9239bb4253 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/13 20:13 net-next 0ea09cbf8350 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/05 10:08 net-next f252f23ab657 60f5d8d9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/03/02 00:28 net-next f77f12010f67 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/27 12:58 net-next 0493f7a54e5b 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/26 07:01 net-next 287044abff82 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/25 09:13 net-next 98f992884333 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/23 15:40 net-next b66e19dcf684 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/02/25 15:19 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in smc_diag_dump_proto
2025/03/29 12:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 cf25e2c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in smc_diag_dump_proto
2025/01/22 08:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in smc_diag_dump_proto
* Struck through repros no longer work on HEAD.