syzbot


general protection fault in inet_accept

Status: fixed on 2019/07/11 14:37
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+2e9616288940d15a6476@syzkaller.appspotmail.com
Fix commit: 07603b230895 net/smc: propagate file from SMC to TCP socket
First crash: 2164d, last: 2002d
Discussions (2)
Title Replies (including bot) Last reply
general protection fault in inet_accept 1 (4) 2019/07/11 10:17
Reminder: 6 open syzbot bugs in "net/smc" subsystem 1 (1) 2019/07/02 06:24

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: 0 PID: 5582 Comm: kworker/0:113 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:inet_accept+0x106/0xa40 net/ipv4/af_inet.c:734
Code: 09 80 fa 03 0f 8e c2 07 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 78 28 41 c7 86 40 ff ff ff ea ff ff ff 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 c0 07 00 00 48 b9 00 00 00 00 00 fc ff df 48 8b
RSP: 0018:ffff8801ce697470 EFLAGS: 00010206
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000005
RDX: dffffc0000000000 RSI: ffffffff85947634 RDI: 0000000000000028
RBP: ffff8801ce697598 R08: ffff8801ab0ca6c0 R09: ffffed0034fde4cf
R10: ffffed0034fde4cf R11: ffff8801a7ef267b R12: ffff8801a7ef25c0
R13: ffff8801ce6974b0 R14: ffff8801ce697570 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 00000001d834d000 CR4: 00000000001406f0
Call Trace:
 kernel_accept+0x136/0x310 net/socket.c:3241
 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 7df3eb457dffbd86 ]---
RIP: 0010:inet_accept+0x106/0xa40 net/ipv4/af_inet.c:734
Code: 09 80 fa 03 0f 8e c2 07 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 78 28 41 c7 86 40 ff ff ff ea ff ff ff 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 c0 07 00 00 48 b9 00 00 00 00 00 fc ff df 48 8b
RSP: 0018:ffff8801ce697470 EFLAGS: 00010206
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000005
RDX: dffffc0000000000 RSI: ffffffff85947634 RDI: 0000000000000028
RBP: ffff8801ce697598 R08: ffff8801ab0ca6c0 R09: ffffed0034fde4cf
R10: ffffed0034fde4cf R11: ffff8801a7ef267b R12: ffff8801a7ef25c0
R13: ffff8801ce6974b0 R14: ffff8801ce697570 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 00000001d834d000 CR4: 00000000001406f0

Crashes (131):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/16 04:33 upstream dafa5f6577a9 9ccc1d45 .config console log report syz C ci-upstream-kasan-gce
2018/08/10 14:46 upstream 112cbae26d18 1fb62d58 .config console log report syz C ci-upstream-kasan-gce-root
2018/07/24 07:13 net-next-old fd800f646402 912c93d7 .config console log report syz C ci-upstream-net-kasan-gce
2018/07/30 22:26 linux-next d1e0b8e0cb7a 1a381291 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/08/10 07:00 upstream 112cbae26d18 1fb62d58 .config console log report syz ci-upstream-kasan-gce-386
2018/07/30 11:35 upstream acb1872577b3 1a381291 .config console log report syz ci-upstream-kasan-gce-386
2018/07/19 14:48 upstream 024ddc0ce104 49f35839 .config console log report syz ci-upstream-kasan-gce-386
2018/12/20 06:53 upstream ab63e725b49c 02e69052 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/02 18:29 upstream 4b78317679c4 e0d8c853 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/02 07:50 upstream 8adcc59974b8 1f38e9ae .config console log report ci-upstream-kasan-gce-smack-root
2018/10/03 15:20 upstream 6bebe37927f3 8b311eaf .config console log report ci-upstream-kasan-gce
2018/09/16 04:12 upstream 27c5a778dfe2 a343a400 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/06 11:22 upstream b36fdc6853a3 0bb7a7eb .config console log report ci-upstream-kasan-gce-root
2018/11/08 14:31 upstream 85758777c2a2 e85d2a61 .config console log report ci-upstream-kasan-gce-386
2018/12/15 22:01 net-old 10589a568f2e def91db3 .config console log report ci-upstream-net-this-kasan-gce
2018/11/19 02:19 net-old 1c1274a56999 adf636a8 .config console log report ci-upstream-net-this-kasan-gce
2018/11/13 23:15 net-old 77e461d14ed1 5f5f6d14 .config console log report ci-upstream-net-this-kasan-gce
2018/11/10 14:32 net-old d02854dc1999 f9815aaf .config console log report ci-upstream-net-this-kasan-gce
2018/11/01 14:30 net-old 46ebe2834ba5 1f38e9ae .config console log report ci-upstream-net-this-kasan-gce
2018/10/31 22:35 net-old d48051c5b837 89781090 .config console log report ci-upstream-net-this-kasan-gce
2018/10/29 17:11 net-old 9f51ae62c84a 7df9db2e .config console log report ci-upstream-net-this-kasan-gce
2018/10/07 16:44 net-old c1d84a1b42ef 8b311eaf .config console log report ci-upstream-net-this-kasan-gce
2018/07/11 11:46 net-old 0026129c8629 2e0e3130 .config console log report ci-upstream-net-this-kasan-gce
2018/12/13 19:13 net-next-old 95302c394c3d f3d9d594 .config console log report ci-upstream-net-kasan-gce
2018/12/13 04:53 net-next-old 3f9b7eeea026 02613a41 .config console log report ci-upstream-net-kasan-gce
2018/12/12 08:45 net-next-old 0bd72117fba2 7795ae03 .config console log report ci-upstream-net-kasan-gce
2018/12/04 09:00 net-next-old 6915bf3b002b 03f94a45 .config console log report ci-upstream-net-kasan-gce
2018/11/26 01:27 net-next-old 358be656406d 3d3ec907 .config console log report ci-upstream-net-kasan-gce
2018/11/25 17:50 net-next-old 358be656406d 3d3ec907 .config console log report ci-upstream-net-kasan-gce
2018/11/25 03:30 net-next-old aea0a897af9e ecc7c870 .config console log report ci-upstream-net-kasan-gce
2018/11/24 18:37 net-next-old aea0a897af9e ecc7c870 .config console log report ci-upstream-net-kasan-gce
2018/11/19 09:42 net-next-old cddaf02bcb73 adf636a8 .config console log report ci-upstream-net-kasan-gce
2018/11/15 16:59 net-next-old 6d5db6c37929 5f5f6d14 .config console log report ci-upstream-net-kasan-gce
2018/11/15 14:48 net-next-old 6d5db6c37929 5f5f6d14 .config console log report ci-upstream-net-kasan-gce
2018/11/15 04:40 net-next-old 15cef30974c5 5f5f6d14 .config console log report ci-upstream-net-kasan-gce
2018/11/14 03:57 net-next-old 3e536cff3424 5f5f6d14 .config console log report ci-upstream-net-kasan-gce
2018/11/13 19:49 net-next-old 3e536cff3424 5f5f6d14 .config console log report ci-upstream-net-kasan-gce
2018/11/13 06:12 net-next-old 261501d94e80 74dbb806 .config console log report ci-upstream-net-kasan-gce
2018/11/11 11:08 net-next-old 348bbc25c408 f3c4e618 .config console log report ci-upstream-net-kasan-gce
2018/11/09 22:06 net-next-old 29e12207174a f9815aaf .config console log report ci-upstream-net-kasan-gce
2018/11/08 06:11 net-next-old f601a85bd788 e85d2a61 .config console log report ci-upstream-net-kasan-gce
2018/11/07 19:35 net-next-old 7c588c7468ea e85d2a61 .config console log report ci-upstream-net-kasan-gce
2018/11/04 16:17 net-next-old 7c6c54b505b8 8bd6bd63 .config console log report ci-upstream-net-kasan-gce
2018/11/04 00:05 net-next-old 7c6c54b505b8 8bd6bd63 .config console log report ci-upstream-net-kasan-gce
2018/10/21 18:54 net-next-old d92060bc6923 ecb386fe .config console log report ci-upstream-net-kasan-gce
2018/10/20 16:27 net-next-old 4c16128b6271 ecb386fe .config console log report ci-upstream-net-kasan-gce
2018/10/19 18:47 net-next-old 1107a674cc04 9aba67b5 .config console log report ci-upstream-net-kasan-gce
2018/10/19 14:51 net-next-old 1107a674cc04 9aba67b5 .config console log report ci-upstream-net-kasan-gce
2018/10/13 13:31 net-next-old a688c53a0277 caf12900 .config console log report ci-upstream-net-kasan-gce
2018/10/11 23:52 net-next-old 9dffa76c2126 ba6ddb43 .config console log report ci-upstream-net-kasan-gce
2018/10/09 07:08 net-next-old 9e19dabc0559 8b311eaf .config console log report ci-upstream-net-kasan-gce
2018/10/08 18:12 net-next-old abf1a08ff323 8b311eaf .config console log report ci-upstream-net-kasan-gce
2018/10/08 04:31 net-next-old 5057ef7f566d 8b311eaf .config console log report ci-upstream-net-kasan-gce
2018/10/06 21:51 net-next-old fb4ee67529ff 8b311eaf .config console log report ci-upstream-net-kasan-gce
2018/12/04 12:03 linux-next 442b8cea2477 6ad0ae61 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/03 23:00 linux-next 442b8cea2477 03f94a45 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.