syzbot


general protection fault in smc_getname

Status: fixed on 2018/05/16 09:57
Subsystems: net s390
[Documentation on labels]
Reported-by: syzbot+9605e6cace1b5efd4a0a@syzkaller.appspotmail.com
Fix commit: 070204a34884 net/smc: keep clcsock reference in smc_tcp_listen_work()
First crash: 2286d, last: 2218d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH 4.16 00/55] 4.16.10-stable review 63 (63) 2018/05/19 07:43
[PATCH net 1/1] net/smc: keep clcsock reference in smc_tcp_listen_work() 2 (2) 2018/04/25 18:38

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 4490 Comm: syzkaller653756 Not tainted 4.17.0-rc1+ #11
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:smc_getname+0x124/0x1c0 net/smc/af_smc.c:1089
RSP: 0018:ffff8801ac31fc20 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff873e4a58
RDX: 0000000000000005 RSI: ffffffff873e4af6 RDI: 0000000000000028
RBP: ffff8801ac31fc48 R08: ffff8801d96f6100 R09: ffffed0035d72d08
R10: ffffed0035d72d08 R11: ffff8801aeb96843 R12: 0000000000000000
R13: ffff8801ac31fd10 R14: ffff8801a827b940 R15: dffffc0000000000
FS:  000000000076a880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 00000001d9554000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __sys_getsockname+0x184/0x380 net/socket.c:1699
 __do_sys_getsockname net/socket.c:1714 [inline]
 __se_sys_getsockname net/socket.c:1711 [inline]
 __x64_sys_getsockname+0x73/0xb0 net/socket.c:1711
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43fcd9
RSP: 002b:00007ffe4cd86f58 EFLAGS: 00000217 ORIG_RAX: 0000000000000033
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcd9
RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8
R10: 00000000004002c8 R11: 0000000000000217 R12: 0000000000401600
R13: 0000000000401690 R14: 0000000000000000 R15: 0000000000000000
Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 99 00 00 00 48 8b 9b 50 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 70 48 b8 00 00 00 00 00 fc ff df 4c 8b 73 28 49 
RIP: smc_getname+0x124/0x1c0 net/smc/af_smc.c:1089 RSP: ffff8801ac31fc20
---[ end trace eb62a39eacc20382 ]---

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/21 22:39 upstream 5e7c7806111a d23fcf6c .config console log report syz C ci-upstream-kasan-gce-root
2018/04/21 11:54 upstream 83beed7b2b26 ca03d688 .config console log report syz C ci-upstream-kasan-gce
2018/04/29 13:39 upstream cdface520934 d5a5d045 .config console log report syz C ci-upstream-kasan-gce-386
2018/04/27 10:33 upstream 0644f186fc9d 73417389 .config console log report syz C ci-upstream-kasan-gce-386
2018/05/04 04:07 upstream c15f6d8d4715 9ce14f4b .config console log report ci-upstream-kasan-gce
2018/05/04 00:49 upstream c15f6d8d4715 9ce14f4b .config console log report ci-upstream-kasan-gce-root
2018/05/03 12:07 upstream f4ef6a438cee 9ce14f4b .config console log report ci-upstream-kasan-gce-root
2018/05/02 17:15 upstream 2d618bdf7163 d5b114b4 .config console log report ci-upstream-kasan-gce
2018/05/02 15:48 upstream 2d618bdf7163 d5b114b4 .config console log report ci-upstream-kasan-gce
2018/05/01 23:51 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce
2018/05/01 22:05 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/01 17:55 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/01 14:30 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce
2018/05/01 09:41 upstream 8188fc8bef8c d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/04/30 22:56 upstream 8188fc8bef8c d5b114b4 .config console log report ci-upstream-kasan-gce
2018/04/30 16:02 upstream 6da6c0db5316 06db3cec .config console log report ci-upstream-kasan-gce-root
2018/04/29 06:51 upstream a97d8efd9d35 d5a5d045 .config console log report ci-upstream-kasan-gce
2018/04/28 18:58 upstream a97d8efd9d35 d5a5d045 .config console log report ci-upstream-kasan-gce
2018/04/28 14:46 upstream 46dc111dfe47 d5a5d045 .config console log report ci-upstream-kasan-gce
2018/04/28 05:53 upstream 46dc111dfe47 d5a5d045 .config console log report ci-upstream-kasan-gce-root
2018/04/24 15:36 upstream 6d08b06e67cd 2bf86f40 .config console log report ci-upstream-kasan-gce
2018/04/21 21:07 upstream 5e7c7806111a d23fcf6c .config console log report ci-upstream-kasan-gce
2018/04/21 11:39 upstream 83beed7b2b26 ca03d688 .config console log report ci-upstream-kasan-gce
2018/05/03 19:03 upstream f4ef6a438cee 9ce14f4b .config console log report ci-upstream-kasan-gce-386
2018/04/25 15:27 upstream 3be4aaf4e2d3 73417389 .config console log report ci-upstream-kasan-gce-386
2018/04/24 20:55 net-next-old 9c20b9372fba 37e76fe2 .config console log report ci-upstream-net-kasan-gce
2018/04/24 20:24 net-next-old 9c20b9372fba 37e76fe2 .config console log report ci-upstream-net-kasan-gce
2018/04/24 09:31 net-next-old b300fcf883ac e7e85d36 .config console log report ci-upstream-net-kasan-gce
2018/04/24 01:20 net-next-old a56e6bcd34b5 0d8e591c .config console log report ci-upstream-net-kasan-gce
2018/04/24 00:42 net-next-old a56e6bcd34b5 0d8e591c .config console log report ci-upstream-net-kasan-gce
2018/04/23 22:55 net-next-old a56e6bcd34b5 0d8e591c .config console log report ci-upstream-net-kasan-gce
2018/04/23 22:38 net-next-old a56e6bcd34b5 0d8e591c .config console log report ci-upstream-net-kasan-gce
2018/04/23 18:08 net-next-old a56e6bcd34b5 0d8e591c .config console log report ci-upstream-net-kasan-gce
2018/04/23 17:05 net-next-old a56e6bcd34b5 0d8e591c .config console log report ci-upstream-net-kasan-gce
2018/04/23 07:11 net-next-old 48d7a07ba355 d23fcf6c .config console log report ci-upstream-net-kasan-gce
2018/04/22 23:13 net-next-old e0ada51db907 d23fcf6c .config console log report ci-upstream-net-kasan-gce
2018/04/22 21:46 net-next-old e0ada51db907 d23fcf6c .config console log report ci-upstream-net-kasan-gce
2018/04/22 20:33 net-next-old e0ada51db907 d23fcf6c .config console log report ci-upstream-net-kasan-gce
2018/04/22 20:00 net-next-old e0ada51db907 d23fcf6c .config console log report ci-upstream-net-kasan-gce
2018/04/22 17:28 net-next-old e0ada51db907 d23fcf6c .config console log report ci-upstream-net-kasan-gce
2018/03/02 06:06 net-next-old f1c02cfb7b30 2c6f473e .config console log report ci-upstream-net-kasan-gce
2018/02/28 09:16 net-next-old 3f5a68300a40 05b5a32c .config console log report ci-upstream-net-kasan-gce
2018/02/28 06:48 net-next-old 3f5a68300a40 05b5a32c .config console log report ci-upstream-net-kasan-gce
2018/02/25 05:18 net-next-old f74290fdb363 5c1e0207 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.