syzbot


general protection fault in smc_diag_dump_proto

Status: upstream: reported C repro on 2024/08/09 16:27
Subsystems: net s390
[Documentation on labels]
Reported-by: syzbot+f69bfae0a4eb29976e44@syzkaller.appspotmail.com
First crash: 198d, last: 15h35m
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 (7)
Title Replies (including bot) Last reply
[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 PTI
KASAN: probably user-memory-access in range [0x0000000000512018-0x000000000051201f]
CPU: 0 UID: 0 PID: 8258 Comm: syz-executor363 Not tainted 6.13.0-rc5-syzkaller-00152-gdb78475ba0d3 #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 c3 7a 92 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 98 7a 92 f6 48 8b 44 24 28 4c 8d
RSP: 0018:ffffc9000dd06b20 EFLAGS: 00010206
RAX: 00000000000a2403 RBX: 0000000000512018 RCX: ffff888079715a00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc9000dd06fb0 R08: ffffffff89a476e2 R09: 1ffff1100673c00b
R10: dffffc0000000000 R11: ffffed100673c00c R12: 1ffff1100673c0ab
R13: dffffc0000000000 R14: ffff8880339e0000 R15: ffff8880295a0010
FS:  00007fc1498936c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc14992f01d CR3: 00000000322e8000 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+0x64d/0xe10 net/netlink/af_netlink.c:2317
 __netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2432
 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:2542
 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1347
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1891
 sock_sendmsg_nosec net/socket.c:711 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:726
 sock_sendmsg+0x134/0x200 net/socket.c:749
 splice_to_socket+0xa10/0x10b0 fs/splice.c:889
 do_splice_from fs/splice.c:941 [inline]
 do_splice+0xd68/0x18e0 fs/splice.c:1354
 __do_splice fs/splice.c:1436 [inline]
 __do_sys_splice fs/splice.c:1639 [inline]
 __se_sys_splice+0x2e0/0x450 fs/splice.c:1621
 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:0x7fc1498d84d9
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:00007fc149893218 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc1498d84d9
RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fc149962328 R08: 0000000080000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc149962320
R13: 00007fc14992f074 R14: 00007ffc794cbba0 R15: 00007ffc794cbc88
 </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 c3 7a 92 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 98 7a 92 f6 48 8b 44 24 28 4c 8d
RSP: 0018:ffffc9000dd06b20 EFLAGS: 00010206
RAX: 00000000000a2403 RBX: 0000000000512018 RCX: ffff888079715a00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc9000dd06fb0 R08: ffffffff89a476e2 R09: 1ffff1100673c00b
R10: dffffc0000000000 R11: ffffed100673c00c R12: 1ffff1100673c0ab
R13: dffffc0000000000 R14: ffff8880339e0000 R15: ffff8880295a0010
FS:  00007fc1498936c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc14992f01d CR3: 00000000322e8000 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 c3 7a 92 f6       	call   0xf6927ad1
   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 98 7a 92 f6       	call   0xf6927ad1
  39:	48 8b 44 24 28       	mov    0x28(%rsp),%rax
  3e:	4c                   	rex.WR
  3f:	8d                   	.byte 0x8d

Crashes (211):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/01/13 04:49 upstream be548645527a 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in smc_diag_dump_proto
2025/01/02 15:50 upstream 56e6a3499e14 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in smc_diag_dump_proto
2024/11/23 20:56 upstream 228a1157fb9f 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in smc_diag_dump_proto
2025/01/25 09:52 upstream b46c89c08f41 9fbd772e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in smc_diag_dump_proto
2025/01/22 04:54 upstream 95ec54a420b8 da72ac06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in smc_diag_dump_proto
2025/01/09 06:11 upstream 0b7958fa05d5 f3558dbf .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/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/02/06 01:20 net a1300691aed9 577d049b .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/05 04:45 net 4241a702e0d0 4baca3d6 .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/04 13:58 net 0e6dc66b5c5f 8f267cef .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/04 04:59 net 0e6dc66b5c5f a21a8419 .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/01 17:39 net c2933b2befe2 0dff8567 .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/01/30 22:24 net f7bf624b1fed 9c8ab845 .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/01/29 09:11 net 9e6c4e6b605c 865ef71e .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/01/27 18:52 net 05d91cdb1f91 18070896 .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/01/26 16:51 net 15a901361ec3 9fbd772e .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/01/24 17:42 net 15a901361ec3 521b0ce3 .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/01/23 10:37 net 0ad9617c78ac 9d4f14f8 .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/01/22 18:50 net d640627663bf 25e17fd3 .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/01/22 09:49 net d640627663bf da72ac06 .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/01/21 16:06 net d640627663bf 6e87cfa2 .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/01/20 15:14 net 4395a44acb15 f2cb035c .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/01/18 23:54 net 70d81f25cc92 f2cb035c .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/01/18 18:14 net 70d81f25cc92 f2cb035c .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/01/17 17:38 net 5d6a361dc01d 953d1c45 .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/01/16 21:27 net cbc16bceea78 968edaf4 .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/01/16 16:54 net cbc16bceea78 968edaf4 .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/01/16 14:02 net cbc16bceea78 968edaf4 .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/01/15 09:17 net 001ba0902046 7315a7cf .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/01/15 01:36 net 665bcfc982de 7315a7cf .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/01/14 12:42 net 9e2bbab94b88 b1f1cd88 .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/01/14 05:57 net 9e2bbab94b88 b1f1cd88 .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/01/13 11:42 net 76201b597976 6dbc6a9b .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/01/12 21:04 net 47e55e4b410f 6dbc6a9b .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/01/12 12:53 net 47e55e4b410f 6dbc6a9b .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/01/11 05:53 net e7e441a4100e 6dbc6a9b .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/01/10 13:53 net 8c7a6efc017e 67d7ec0a .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/01/10 10:06 net 8c7a6efc017e 67d7ec0a .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/01/09 07:19 net f552b3037d0c f3558dbf .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/06 08:19 net-next 0bea93fdbaf8 577d049b .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/02 18:20 net-next c2933b2befe2 568559e4 .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/02 00:07 net-next c2933b2befe2 0dff8567 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/01/28 15:14 net-next 0ad9617c78ac f5427d7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/01/27 11:10 net-next 0ad9617c78ac 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/01/19 12:30 net-next 41c5d104f338 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in smc_diag_dump_proto
2025/01/01 22:07 linux-next 8155b4ef3466 d3ccff63 .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/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
2024/12/01 18:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7b1d1d4cfac0 68914665 .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.