syzbot


general protection fault in __smc_diag_dump (3)

Status: upstream: reported C repro on 2024/11/07 14:17
Subsystems: net s390
[Documentation on labels]
Reported-by: syzbot+271fed3ed6f24600c364@syzkaller.appspotmail.com
First crash: 29d, last: 12h46m
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] Remove unused function parameter in __smc_diag_dump 6 (6) 2024/11/12 07:36
[syzbot] [net?] [s390?] general protection fault in __smc_diag_dump (3) 0 (2) 2024/11/07 20:54
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __smc_diag_dump syz done 309 2136d 2149d 12/28 fixed on 2019/07/10 21:40
linux-4.14 general protection fault in __smc_diag_dump syz error 39 753d 1976d 0/1 upstream: reported syz repro on 2019/06/25 06:51
upstream general protection fault in __smc_diag_dump (2) net s390 14 30d 84d 28/28 fixed on 2024/10/22 11:57
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/11/07 20:54 13m crashfixer001@gmail.com upstream report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000002c03: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: probably user-memory-access in range [0x0000000000016018-0x000000000001601f]
CPU: 1 UID: 0 PID: 5244 Comm: syz-executor189 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #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.constprop.0+0x3e2/0x2500 net/smc/smc_diag.c:89
Code: 4c 8b b3 58 05 00 00 4d 85 f6 0f 84 f6 02 00 00 e8 63 55 d2 f6 49 8d 7e 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 86 1c 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b
RSP: 0018:ffffc90003467160 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88802f600000 RCX: ffffffff88fe4534
RDX: 0000000000002c03 RSI: ffffffff8aba62ed RDI: 0000000000016018
RBP: ffff88802f13c5e0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000001 R11: 00000000000a2001 R12: 0000000000000000
R13: ffff888011d50000 R14: 0000000000016000 R15: 0000000000000002
FS:  00007f3a23bc56c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 0000000029904000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 smc_diag_dump_proto+0x26d/0x420 net/smc/smc_diag.c:217
 smc_diag_dump+0x27/0x90 net/smc/smc_diag.c:234
 netlink_dump+0x552/0xcc0 net/netlink/af_netlink.c:2326
 __netlink_dump_start+0x6d9/0x980 net/netlink/af_netlink.c:2441
 netlink_dump_start include/linux/netlink.h:339 [inline]
 smc_diag_handler_dump+0x1fb/0x240 net/smc/smc_diag.c:251
 __sock_diag_cmd net/core/sock_diag.c:249 [inline]
 sock_diag_rcv_msg+0x437/0x790 net/core/sock_diag.c:287
 netlink_rcv_skb+0x165/0x410 net/netlink/af_netlink.c:2551
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:729 [inline]
 __sock_sendmsg net/socket.c:744 [inline]
 ____sys_sendmsg+0x9ae/0xb40 net/socket.c:2607
 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2661
 __sys_sendmsg+0x117/0x1f0 net/socket.c:2690
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3a23c170d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 1f 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:00007f3a23bc5238 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f3a23c9b408 RCX: 00007f3a23c170d9
RDX: 000000000400c000 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00007f3a23c9b400 R08: 00007f3a23bc56c0 R09: 00007f3a23bc56c0
R10: 00007f3a23bc56c0 R11: 0000000000000246 R12: 00007f3a23c9b40c
R13: 0000000000000010 R14: 00007ffe883f4f60 R15: 00007ffe883f5048
 </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.constprop.0+0x3e2/0x2500 net/smc/smc_diag.c:89
Code: 4c 8b b3 58 05 00 00 4d 85 f6 0f 84 f6 02 00 00 e8 63 55 d2 f6 49 8d 7e 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 86 1c 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b
RSP: 0018:ffffc90003467160 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88802f600000 RCX: ffffffff88fe4534
RDX: 0000000000002c03 RSI: ffffffff8aba62ed RDI: 0000000000016018
RBP: ffff88802f13c5e0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000001 R11: 00000000000a2001 R12: 0000000000000000
R13: ffff888011d50000 R14: 0000000000016000 R15: 0000000000000002
FS:  00007f3a23bc56c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 0000000029904000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	4c 8b b3 58 05 00 00 	mov    0x558(%rbx),%r14
   7:	4d 85 f6             	test   %r14,%r14
   a:	0f 84 f6 02 00 00    	je     0x306
  10:	e8 63 55 d2 f6       	call   0xf6d25578
  15:	49 8d 7e 18          	lea    0x18(%r14),%rdi
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  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:	0f 85 86 1c 00 00    	jne    0x1cba
  34:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  3b:	fc ff df
  3e:	4d                   	rex.WRB
  3f:	8b                   	.byte 0x8b

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/22 21:24 upstream c2ee9f594da8 a573a9f4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/22 20:12 upstream c2ee9f594da8 a573a9f4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/22 19:03 upstream c2ee9f594da8 a573a9f4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/22 17:59 upstream c2ee9f594da8 a573a9f4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/20 18:11 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/17 09:42 upstream 4a5df3796467 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/17 06:46 upstream 4a5df3796467 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/16 06:03 upstream f868cd251776 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/14 08:04 upstream 0a9b9d17f3a7 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/12 13:53 upstream 2d5404caa8c7 c819f227 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/08 16:37 upstream 906bd684e4b1 d40c056e .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/08 03:28 upstream 906bd684e4b1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/04 16:06 upstream 59b723cd2adb 7bfecfb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/03 21:55 upstream a33ab3f94f51 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/03 00:48 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/02 21:29 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/02 13:50 upstream 05b92660cdfe f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/02 08:23 upstream 05b92660cdfe f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/02 01:23 upstream 6c52d4da1c74 9f6834c9 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/11/01 03:19 upstream 90602c251cda 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/29 02:32 upstream e42b1a9a2557 5fe1d0f5 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/28 19:50 upstream 819837584309 5fe1d0f5 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/27 13:49 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/27 05:50 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/25 07:22 upstream 4e46774408d9 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/25 07:08 upstream 4e46774408d9 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/25 06:58 upstream 4e46774408d9 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/23 06:13 upstream c2ee9f594da8 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
2024/10/22 16:44 upstream c2ee9f594da8 a573a9f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __smc_diag_dump
* Struck through repros no longer work on HEAD.