syzbot


general protection fault in smc_diag_dump_proto

Status: upstream: reported C repro on 2024/08/09 16:27
Subsystems: s390 net
[Documentation on labels]
Reported-by: syzbot+f69bfae0a4eb29976e44@syzkaller.appspotmail.com
First crash: 118d, last: 19h17m
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 (4)
Title Replies (including bot) Last reply
[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 PTI
KASAN: probably user-memory-access in range [0x0000000000512018-0x000000000051201f]
CPU: 1 UID: 0 PID: 5870 Comm: syz-executor117 Not tainted 6.12.0-rc5-syzkaller-01053-gdbb9a7ef3478 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
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+0x6d9/0x3270 net/smc/smc_diag.c:217
Code: 80 3c 2c 00 74 08 48 89 df e8 a3 4e 8d f6 48 89 5c 24 30 48 8b 1b 48 85 db 0f 84 2d 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 78 4e 8d f6 48 8b 44 24 28 4c 8d
RSP: 0018:ffffc90003ec6ea0 EFLAGS: 00010206
RAX: 00000000000a2403 RBX: 0000000000512018 RCX: ffff88807ee3da00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc90003ec7330 R08: ffffffff89a3a9b2 R09: 1ffff1100fb7b78b
R10: dffffc0000000000 R11: ffffed100fb7b78c R12: 1ffff1100fb7b82b
R13: dffffc0000000000 R14: ffff88807dbdbc00 R15: ffff8880352e8010
FS:  00007f09885986c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000e000 CR3: 000000003475a000 CR4: 00000000003526f0
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+0x647/0xd80 net/netlink/af_netlink.c:2326
 __netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2441
 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+0x1e3/0x430 net/netlink/af_netlink.c:2551
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:729 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:744
 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2609
 ___sys_sendmsg net/socket.c:2663 [inline]
 __sys_sendmsg+0x292/0x380 net/socket.c:2692
 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:0x7f09885fe4d9
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:00007f0988598228 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f09885986c0 RCX: 00007f09885fe4d9
RDX: 0000000000000600 RSI: 0000000020000540 RDI: 0000000000000019
RBP: 00007f0988688318 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0988688310
R13: cd6b00140000eb97 R14: 00007ffe4b723c60 R15: 00007ffe4b723d48
 </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+0x6d9/0x3270 net/smc/smc_diag.c:217
Code: 80 3c 2c 00 74 08 48 89 df e8 a3 4e 8d f6 48 89 5c 24 30 48 8b 1b 48 85 db 0f 84 2d 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 78 4e 8d f6 48 8b 44 24 28 4c 8d
RSP: 0018:ffffc90003ec6ea0 EFLAGS: 00010206
RAX: 00000000000a2403 RBX: 0000000000512018 RCX: ffff88807ee3da00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc90003ec7330 R08: ffffffff89a3a9b2 R09: 1ffff1100fb7b78b
R10: dffffc0000000000 R11: ffffed100fb7b78c R12: 1ffff1100fb7b82b
R13: dffffc0000000000 R14: ffff88807dbdbc00 R15: ffff8880352e8010
FS:  00007f09885986c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000e000 CR3: 000000003475a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	80 3c 2c 00          	cmpb   $0x0,(%rsp,%rbp,1)
   4:	74 08                	je     0xe
   6:	48 89 df             	mov    %rbx,%rdi
   9:	e8 a3 4e 8d f6       	call   0xf68d4eb1
   e:	48 89 5c 24 30       	mov    %rbx,0x30(%rsp)
  13:	48 8b 1b             	mov    (%rbx),%rbx
  16:	48 85 db             	test   %rbx,%rbx
  19:	0f 84 2d 02 00 00    	je     0x24c
  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 78 4e 8d f6       	call   0xf68d4eb1
  39:	48 8b 44 24 28       	mov    0x28(%rsp),%rax
  3e:	4c                   	rex.WR
  3f:	8d                   	.byte 0x8d

Crashes (94):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
2024/10/23 21:00 upstream c2ee9f594da8 15fa2979 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in smc_diag_dump_proto
2024/11/20 11:03 net 66418447d27b 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/20 00:12 net 66418447d27b 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/19 01:25 net 8ffade77b633 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/18 14:17 net 8ffade77b633 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/11 23:25 net 252e01e68241 97fe5517 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/11 14:04 net 252e01e68241 97fe5517 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/11 08:56 net 252e01e68241 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/11 05:33 net 252e01e68241 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/10 22:04 net 252e01e68241 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/09 13:45 net 55d42a0c3f9c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/09 12:09 net 55d42a0c3f9c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/09 10:01 net 55d42a0c3f9c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/07 23:46 net 5f897f30f596 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/07 18:44 net 5f897f30f596 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/07 13:10 net 1f26339b2ed6 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/07 09:11 net 1f26339b2ed6 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/06 23:16 net 26a2bebd2c0c df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/06 05:59 net 9eaff63bfb59 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/06 01:47 net 9eaff63bfb59 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/05 03:48 net 249cfa318fb1 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/04 08:52 net 5ccdcdf186ae f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/04 06:03 net 3b557be89fc6 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/04 00:59 net 3b557be89fc6 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/03 23:47 net 3b557be89fc6 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/03 15:15 net b2183187c5fd f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/03 13:14 net b2183187c5fd f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/03 09:21 net b2183187c5fd f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/02 17:18 net b2183187c5fd f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/02 11:51 net b2183187c5fd f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/02 08:56 net b2183187c5fd f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/02 05:04 net 0144c06c5890 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/02 01:44 net 0144c06c5890 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/10/31 18:25 net d80a30913084 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/10/30 20:15 net c05c62850a8f 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/10/30 13:09 net c05c62850a8f 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/10/29 18:47 net 94c11e852955 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/10/29 14:51 net 94c11e852955 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/10/29 06:32 net b5abbf612092 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/20 06:05 net-next dd7207838d38 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/15 21:22 net-next dfc14664794a f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/14 04:11 net-next 8545b75bc414 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/06 12:05 net-next a84e8c05f583 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/05 18:13 net-next c688a96c432e 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/05 12:08 net-next c688a96c432e 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/03 07:02 net-next dbb9a7ef3478 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/10/31 07:59 net-next d30b56c8666d fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2024/11/19 02:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7b1d1d4cfac0 571351cb .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
2024/11/15 19:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 887407160d72 f6ede3a3 .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.