syzbot


general protection fault in kernel_accept
Status: fixed on 2019/03/06 07:43
Reported-by: syzbot+e3132895630f957306bc@syzkaller.appspotmail.com
Fix commit: 78abe3d0dfad net/smc: fix TCP fallback socket release 26d92e951fe0 smc: move unhash as early as possible in smc_release()
First crash: 1414d, last: 1252d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in kernel_accept (3) 1 177d 172d 0/22 auto-closed as invalid on 2022/03/28 23:53
upstream general protection fault in kernel_accept (2) 2 307d 334d 0/22 closed as invalid on 2021/10/04 21:36

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
CPU: 1 PID: 4958 Comm: kworker/1:49 Not tainted 4.18.0+ #191
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events smc_tcp_listen_work
RIP: 0010:kernel_accept+0x5a/0x310 net/socket.c:3236
Code: 48 c1 ea 03 80 3c 02 00 0f 85 4a 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 20 48 8d bb 48 03 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 14 02 00 00 48 8d 7b 10 0f b6
RSP: 0018:ffff8801ca7e75a8 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000069 RSI: ffffffff8508e7ef RDI: 0000000000000348
RBP: ffff8801ca7e75d8 R08: ffff8801d98c6d38 R09: 0000000000000006
R10: ffff8801d98c6500 R11: 0000000000000000 R12: ffff8801ca7e7688
R13: ffff8801aaa02640 R14: 0000000000000000 R15: ffff8801d9514bb0
FS:  0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 00000001af3f5000 CR4: 00000000001406e0
Call Trace:
 smc_clcsock_accept net/smc/af_smc.c:831 [inline]
 smc_tcp_listen_work+0x218/0x11c0 net/smc/af_smc.c:1296
 process_one_work+0xc73/0x1ba0 kernel/workqueue.c:2153
 worker_thread+0x189/0x13c0 kernel/workqueue.c:2296
 kthread+0x35a/0x420 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace 1f141f3641a7a625 ]---
RIP: 0010:kernel_accept+0x5a/0x310 net/socket.c:3236
Code: 48 c1 ea 03 80 3c 02 00 0f 85 4a 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 20 48 8d bb 48 03 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 14 02 00 00 48 8d 7b 10 0f b6
RSP: 0018:ffff8801ca7e75a8 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000069 RSI: ffffffff8508e7ef RDI: 0000000000000348
RBP: ffff8801ca7e75d8 R08: ffff8801d98c6d38 R09: 0000000000000006
R10: ffff8801d98c6500 R11: 0000000000000000 R12: ffff8801ca7e7688
R13: ffff8801aaa02640 R14: 0000000000000000 R15: ffff8801d9514bb0
FS:  0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 00000001af3f5000 CR4: 00000000001406e0

Crashes (280):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2018/08/16 10:59 upstream dafa5f6577a9 9ccc1d45 .config log report syz C
ci-upstream-kasan-gce 2018/08/10 09:49 upstream 112cbae26d18 1fb62d58 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/30 02:11 upstream 3cfb6772d4cf 1a381291 .config log report syz C
ci-upstream-kasan-gce 2018/07/30 02:06 upstream 3cfb6772d4cf 1a381291 .config log report syz C
ci-upstream-kasan-gce 2018/07/24 11:02 upstream d72e90f33aa4 912c93d7 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/24 09:29 upstream d72e90f33aa4 912c93d7 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/24 06:01 upstream d72e90f33aa4 912c93d7 .config log report syz C
ci-upstream-kasan-gce 2018/07/23 19:59 upstream d72e90f33aa4 f69c5fcd .config log report syz C
ci-upstream-kasan-gce-root 2018/07/23 16:45 upstream d72e90f33aa4 f69c5fcd .config log report syz C
ci-upstream-kasan-gce 2018/07/23 02:22 upstream d72e90f33aa4 8cc079c3 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/20 16:28 upstream 28c20cc73b9c 49f35839 .config log report syz C
ci-upstream-kasan-gce 2018/07/19 15:18 upstream 024ddc0ce104 49f35839 .config log report syz C
ci-upstream-kasan-gce-386 2018/08/16 11:49 upstream dafa5f6577a9 9ccc1d45 .config log report syz C
ci-upstream-net-this-kasan-gce 2018/08/16 04:15 net 9a76aba02a37 9ccc1d45 .config log report syz C
ci-upstream-net-this-kasan-gce 2018/07/30 02:06 net 25432eba9cd8 1a381291 .config log report syz C
ci-upstream-net-this-kasan-gce 2018/07/24 07:52 net 5302a84e3781 912c93d7 .config log report syz C
ci-upstream-net-this-kasan-gce 2018/07/23 02:21 net c9ce1fa1c24b 8cc079c3 .config log report syz C
ci-upstream-net-this-kasan-gce 2018/07/11 12:33 net 0026129c8629 2e0e3130 .config log report syz C
ci-upstream-net-kasan-gce 2018/08/16 04:16 net-next 9a76aba02a37 9ccc1d45 .config log report syz C
ci-upstream-net-kasan-gce 2018/07/30 01:48 net-next 19725496da56 1a381291 .config log report syz C
ci-upstream-net-kasan-gce 2018/07/23 02:20 net-next 07300f774fec 8cc079c3 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/08/20 20:47 linux-next 812667578394 95b5c82b .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/24 07:38 linux-next 89cf55353308 912c93d7 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/24 04:01 linux-next 89cf55353308 912c93d7 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/23 02:03 linux-next 89cf55353308 8cc079c3 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/21 16:53 linux-next 89cf55353308 8cc079c3 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/19 08:30 linux-next 0b742fe187f7 49f35839 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/12 12:36 linux-next 3ee15ba60e6b 06c33b3a .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/11 23:24 linux-next 98be45067040 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/11/14 03:06 upstream ccda4af0f4b9 5f5f6d14 .config log report syz
ci-upstream-kasan-gce-386 2018/07/24 08:35 upstream d72e90f33aa4 912c93d7 .config log report syz
ci-upstream-kasan-gce-386 2018/07/23 22:22 upstream d72e90f33aa4 912c93d7 .config log report syz
ci-upstream-kasan-gce-386 2018/07/23 02:59 upstream d72e90f33aa4 8cc079c3 .config log report syz
ci-upstream-kasan-gce-smack-root 2018/12/18 03:01 upstream 1a9430db2835 def91db3 .config log report
ci-upstream-kasan-gce-smack-root 2018/12/16 14:18 upstream 6531e115b7ab def91db3 .config log report
ci-upstream-kasan-gce-root 2018/12/13 07:51 upstream f5d582777bcb 02613a41 .config log report
ci-upstream-kasan-gce 2018/12/12 10:38 upstream f5d582777bcb c3b10a5d .config log report
ci-upstream-kasan-gce-root 2018/11/25 19:52 upstream e195ca6cb6f2 3d3ec907 .config log report
ci-upstream-kasan-gce-selinux-root 2018/11/18 21:03 upstream c67a98c00ea3 adf636a8 .config log report
ci-upstream-kasan-gce 2018/11/16 11:09 upstream da5322e65940 f5e275d1 .config log report
ci-upstream-kasan-gce-smack-root 2018/11/15 01:45 upstream d41217aac0a5 5f5f6d14 .config log report
ci-upstream-kasan-gce 2018/11/12 19:33 upstream ccda4af0f4b9 7b5f8621 .config log report
ci-upstream-kasan-gce-386 2018/12/02 12:21 upstream 4b78317679c4 e0d8c853 .config log report
ci-upstream-kasan-gce-386 2018/11/23 09:35 upstream edeca3a769ad 2b0dc848 .config log report
ci-upstream-kasan-gce-386 2018/11/19 02:02 upstream c67a98c00ea3 adf636a8 .config log report
ci-upstream-kasan-gce-386 2018/11/12 15:14 upstream ccda4af0f4b9 7b5f8621 .config log report
ci-upstream-net-this-kasan-gce 2018/12/17 03:12 net 369a094d500f def91db3 .config log report
ci-upstream-net-this-kasan-gce 2018/12/16 06:40 net 10589a568f2e def91db3 .config log report
ci-upstream-net-this-kasan-gce 2018/12/08 10:19 net 1b4e5ad5d6b9 65ed2472 .config log report
ci-upstream-net-this-kasan-gce 2018/12/03 19:55 net 35b827b6d061 819002b0 .config log report
ci-upstream-net-this-kasan-gce 2018/11/26 08:25 net 69500127424c 3d3ec907 .config log report
ci-upstream-net-this-kasan-gce 2018/11/19 03:21 net 1c1274a56999 adf636a8 .config log report
ci-upstream-net-this-kasan-gce 2018/11/18 23:17 net 1c1274a56999 adf636a8 .config log report
ci-upstream-net-this-kasan-gce 2018/11/17 00:24 net a97b95653383 b08ee62a .config log report
ci-upstream-net-this-kasan-gce 2018/11/16 01:52 net f8504f4ca0a0 3a41052e .config log report
ci-upstream-net-this-kasan-gce 2018/11/12 20:12 net ccda4af0f4b9 7b5f8621 .config log report
ci-upstream-net-kasan-gce 2018/12/19 21:26 net-next 33f18c96afdf fe2dc057 .config log report
ci-upstream-net-kasan-gce 2018/12/14 20:14 net-next 522185d5cb40 7624ddd6 .config log report
ci-upstream-net-kasan-gce 2018/12/14 03:52 net-next 522185d5cb40 fe7127be .config log report
ci-upstream-net-kasan-gce 2018/12/12 20:43 net-next e1a76515b0c2 c3b10a5d .config log report
ci-upstream-net-kasan-gce 2018/12/12 19:35 net-next e1a76515b0c2 c3b10a5d .config log report
ci-upstream-net-kasan-gce 2018/12/05 20:55 net-next a74f0fa082b7 ac6c0578 .config log report
ci-upstream-net-kasan-gce 2018/12/04 04:14 net-next 6915bf3b002b 03f94a45 .config log report
ci-upstream-net-kasan-gce 2018/12/03 22:29 net-next 6915bf3b002b 03f94a45 .config log report
ci-upstream-net-kasan-gce 2018/12/03 05:09 net-next 97e6c858a26e 7dcaeaf3 .config log report
ci-upstream-net-kasan-gce 2018/12/02 19:18 net-next 97e6c858a26e e0d8c853 .config log report
ci-upstream-net-kasan-gce 2018/12/01 07:39 net-next f4bb495cde4e d8988561 .config log report
ci-upstream-net-kasan-gce 2018/11/28 20:14 net-next 86d1d8b72caf 4b6d14f2 .config log report
ci-upstream-net-kasan-gce 2018/11/28 15:10 net-next 86d1d8b72caf 4b6d14f2 .config log report
ci-upstream-net-kasan-gce 2018/11/28 10:18 net-next 2c30aac50d92 4b6d14f2 .config log report
ci-upstream-net-kasan-gce 2018/11/26 19:27 net-next 4bffc669d624 ac912200 .config log report
ci-upstream-net-kasan-gce 2018/11/26 16:57 net-next 4bffc669d624 ac912200 .config log report
ci-upstream-net-kasan-gce 2018/11/26 03:03 net-next 358be656406d 3d3ec907 .config log report
ci-upstream-net-kasan-gce 2018/11/25 21:45 net-next 358be656406d 3d3ec907 .config log report
ci-upstream-net-kasan-gce 2018/11/24 22:31 net-next aea0a897af9e ecc7c870 .config log report
ci-upstream-net-kasan-gce 2018/11/24 07:24 net-next 2882b06ddaa5 eb9ed731 .config log report
ci-upstream-net-kasan-gce 2018/11/23 02:18 net-next f072df95f828 87815d9d .config log report
ci-upstream-net-kasan-gce 2018/11/22 05:58 net-next 11c6c0c22857 9db828b5 .config log report
ci-upstream-net-kasan-gce 2018/11/21 13:44 net-next b1a200484143 5d9a3924 .config log report
ci-upstream-net-kasan-gce 2018/11/21 04:17 net-next e432abfb99e5 9aca6b52 .config log report
ci-upstream-net-kasan-gce 2018/11/20 14:36 net-next cfc6731d2f79 9bc2a903 .config log report
ci-upstream-net-kasan-gce 2018/11/19 17:32 net-next bae4e109837b adf636a8 .config log report
ci-upstream-net-kasan-gce 2018/11/19 07:19 net-next cddaf02bcb73 adf636a8 .config log report
ci-upstream-net-kasan-gce 2018/11/18 02:48 net-next 9c549a6b0573 adf636a8 .config log report
ci-upstream-net-kasan-gce 2018/11/17 08:03 net-next e119a369b0f1 b08ee62a .config log report
ci-upstream-net-kasan-gce 2018/11/15 14:44 net-next 6d5db6c37929 5f5f6d14 .config log report
ci-upstream-net-kasan-gce 2018/11/13 23:22 net-next 3e536cff3424 5f5f6d14 .config log report
ci-upstream-net-kasan-gce 2018/11/13 18:37 net-next 3e536cff3424 5f5f6d14 .config log report
ci-upstream-linux-next-kasan-gce-root 2018/11/08 13:13 linux-next f7af6d2c48bf e85d2a61 .config log report