syzbot


general protection fault in smc_diag_dump_proto

Status: upstream: reported C repro on 2024/08/09 16:27
Subsystems: smc
[Documentation on labels]
Reported-by: syzbot+f69bfae0a4eb29976e44@syzkaller.appspotmail.com
First crash: 295d, last: 50m
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 (10)
Title Replies (including bot) Last reply
[syzbot] Monthly smc report (May 2025) 0 (1) 2025/05/16 10:17
[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 (301):
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/04/21 19:31 upstream 9d7a0577c9db 2a20f901 .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 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/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/04/09 02:42 upstream bec7dcbc242c b133e63a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in smc_diag_dump_proto
2025/05/17 06:13 net c39b1bb5bc6d f41472b0 .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/05/13 14:16 net 498625a8ab2c f6671af7 .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/05/12 22:34 net 4d64321c4f6f f6671af7 .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/05/12 09:47 net 4d64321c4f6f 77908e5f .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/05/12 02:19 net 4d64321c4f6f 77908e5f .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/05/09 02:42 net 3c44b2d615e6 dbf35fa1 .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/05/09 00:51 net 3c44b2d615e6 dbf35fa1 .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/05/05 05:34 net ebd297a2affa b0714e37 .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/05/03 21:50 net ebd297a2affa b0714e37 .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/05/03 17:14 net ebd297a2affa b0714e37 .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/05/03 09:41 net ebd297a2affa b0714e37 .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/05/02 01:42 net 2d52e2e38b85 51b137cd .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/26 04:38 net 49ba1ca2e0cc c6b4fb39 .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/25 11:50 net 087a9eb9e597 e3715315 .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/25 05:44 net 087a9eb9e597 e3715315 .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/24 04:43 net d861a5dbb960 9882047a .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/22 23:16 net c03a49f3093a 53a8b9bd .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/22 13:56 net b9a4c74b0ec1 2a20f901 .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/18 18:42 net 750d0ac001e8 2a20f901 .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/15 17:04 net 65d91192aa66 23b969b7 .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/14 23:54 net f0433eea4688 0bd6db41 .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/14 02:35 net 8c941f14a694 0bd6db41 .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/13 04:22 net 8c941f14a694 0bd6db41 .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/12 20:35 net e861041e976b 0bd6db41 .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/12 15:08 net e861041e976b 0bd6db41 .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/10 07:49 net 29d261466fa6 988b336c .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 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/05/17 06:15 net-next 894fbb55e60c f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/05/14 04:13 net-next 9f607dc39b66 7344edeb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/05/07 09:02 net-next a7371be8c8f5 350f4ffc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/05/05 02:14 net-next 836b313a14a3 b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/05/01 22:25 net-next deeed351e982 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/05/01 18:46 net-next deeed351e982 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/04/29 07:01 net-next 0d15a26b247d aeb6ec69 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/04/21 04:00 net-next 8066e388be48 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/04/16 05:44 net-next bbfc077d4572 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-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/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/05/15 10:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c919f08732cc d6b2ee52 .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/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
* Struck through repros no longer work on HEAD.