syzbot


general protection fault in kernel_accept

Status: fixed on 2019/03/06 07:43
Subsystems: net s390
[Documentation on labels]
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: 2144d, last: 1983d
Discussions (10)
Title Replies (including bot) Last reply
[PATCH 4.19 00/99] 4.19.17-stable review 109 (109) 2019/04/22 19:40
[PATCH 4.20 000/111] 4.20.4-stable review 120 (120) 2019/01/23 06:43
[PATCH 4.19 000/170] 4.19.14-stable review 194 (194) 2019/01/11 07:09
[PATCH 4.14 000/101] 4.14.92-stable review 130 (130) 2019/01/09 15:47
[Patch net] smc: move unhash as early as possible in smc_release() 5 (5) 2019/01/07 19:40
[PATCH v3] net/smc: fix TCP fallback socket release 1 (1) 2019/01/04 06:54
[PATCH v3] net/smc: fix TCP fallback socket release 2 (2) 2018/12/19 06:03
[PATCH v2] net/smc: fix TCP fallback socket release 4 (4) 2018/12/18 11:24
[PATCH] net/smc: fix TCP fallback socket release 2 (2) 2018/12/17 05:02
general protection fault in kernel_accept 0 (1) 2018/07/11 19:49
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in kernel_accept (5) tipc 1 610d 606d 22/26 fixed on 2023/02/24 13:50
android-54 general protection fault in kernel_accept 1 573d 573d 0/2 auto-obsoleted due to no activity on 2023/02/26 16:35
upstream general protection fault in kernel_accept (3) tipc 1 908d 903d 0/26 auto-closed as invalid on 2022/03/28 23:53
upstream general protection fault in kernel_accept (2) tipc 2 1038d 1065d 0/26 closed as invalid on 2021/10/04 21:36
upstream general protection fault in kernel_accept (4) tipc 3 735d 766d 0/26 auto-closed as invalid on 2022/08/18 19:01

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