syzbot


BUG: using __this_cpu_add() in preemptible code in check_preemption_disabled

Status: public: reported C repro on 2019/04/12 00:00
Reported-by: syzbot+7d3429383387cc013027@syzkaller.appspotmail.com
First crash: 2531d, last: 2483d

Sample crash report:
BUG: using __this_cpu_add() in preemptible [00000000] code: syzkaller923016/5299
caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
CPU: 0 PID: 5299 Comm: syzkaller923016 Not tainted 4.4.114-g4e74e98 #5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 0000000000000000 bfab85adf8ab8103 ffff8800aa7376c8 ffffffff81d03d2d
 0000000000000000 ffffffff839fe3a0 ffffffff83cef720 ffff8801d38a9800
 0000000000000003 ffff8800aa737708 ffffffff81d63c74 ffffffff810002b8
Call Trace:
 [<ffffffff81d03d2d>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d03d2d>] dump_stack+0xc1/0x124 lib/dump_stack.c:51
 [<ffffffff81d63c74>] check_preemption_disabled+0x1d4/0x200 lib/smp_processor_id.c:46
 [<ffffffff810002b8>] ? 0xffffffff810002b8
 [<ffffffff81d63cdc>] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
 [<ffffffff8312a609>] tcp_try_coalesce+0x249/0x4d0 net/ipv4/tcp_input.c:4278
 [<ffffffff83132787>] tcp_queue_rcv+0x127/0x720 net/ipv4/tcp_input.c:4485
 [<ffffffff8314a05b>] tcp_send_rcvq+0x39b/0x450 net/ipv4/tcp_input.c:4531
 [<ffffffff831212bf>] tcp_sendmsg+0x1e8f/0x2b10 net/ipv4/tcp.c:1134
 [<ffffffff831d6fec>] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:755
 [<ffffffff82deb79a>] sock_sendmsg_nosec net/socket.c:625 [inline]
 [<ffffffff82deb79a>] sock_sendmsg+0xca/0x110 net/socket.c:635
 [<ffffffff82ded371>] ___sys_sendmsg+0x6c1/0x7c0 net/socket.c:1962
 [<ffffffff82def3c3>] __sys_sendmsg+0xd3/0x190 net/socket.c:1996
 [<ffffffff82def4ad>] SYSC_sendmsg net/socket.c:2007 [inline]
 [<ffffffff82def4ad>] SyS_sendmsg+0x2d/0x50 net/socket.c:2003
 [<ffffffff837742df>] entry_SYSCALL_64_fastpath+0x1c/0x98
BUG: using __this_cpu_add() in preemptible [00000000] code: syzkaller923016/5460
caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
CPU: 1 PID: 5460 Comm: syzkaller923016 Not tainted 4.4.114-g4e74e98 #5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 0000000000000000 224f5a243efd0488 ffff8800b60676c8 ffffffff81d03d2d
 0000000000000001 ffffffff839fe3a0 ffffffff83cef720 ffff8800b6819800
 0000000000000003 ffff8800b6067708 ffffffff81d63c74 ffffffff810002b8
Call Trace:
 [<ffffffff81d03d2d>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d03d2d>] dump_stack+0xc1/0x124 lib/dump_stack.c:51
 [<ffffffff81d63c74>] check_preemption_disabled+0x1d4/0x200 lib/smp_processor_id.c:46
 [<ffffffff810002b8>] ? 0xffffffff810002b8
 [<ffffffff81d63cdc>] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
 [<ffffffff8312a609>] tcp_try_coalesce+0x249/0x4d0 net/ipv4/tcp_input.c:4278
 [<ffffffff83132787>] tcp_queue_rcv+0x127/0x720 net/ipv4/tcp_input.c:4485
 [<ffffffff8314a05b>] tcp_send_rcvq+0x39b/0x450 net/ipv4/tcp_input.c:4531
 [<ffffffff831212bf>] tcp_sendmsg+0x1e8f/0x2b10 net/ipv4/tcp.c:1134
 [<ffffffff831d6fec>] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:755
 [<ffffffff82deb79a>] sock_sendmsg_nosec net/socket.c:625 [inline]
 [<ffffffff82deb79a>] sock_sendmsg+0xca/0x110 net/socket.c:635
 [<ffffffff82ded371>] ___sys_sendmsg+0x6c1/0x7c0 net/socket.c:1962
 [<ffffffff82def3c3>] __sys_sendmsg+0xd3/0x190 net/socket.c:1996
 [<ffffffff82def4ad>] SYSC_sendmsg net/socket.c:2007 [inline]
 [<ffffffff82def4ad>] SyS_sendmsg+0x2d/0x50 net/socket.c:2003
 [<ffffffff837742df>] entry_SYSCALL_64_fastpath+0x1c/0x98
BUG: using __this_cpu_add() in preemptible [00000000] code: syzkaller923016/6742
caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
CPU: 1 PID: 6742 Comm: syzkaller923016 Not tainted 4.4.114-g4e74e98 #5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 0000000000000000 16b6d38d6d993585 ffff8800b55cf6c8 ffffffff81d03d2d
 0000000000000001 ffffffff839fe3a0 ffffffff83cef720 ffff8801d04f4800
 0000000000000003 ffff8800b55cf708 ffffffff81d63c74 ffffffff810002b8
Call Trace:
 [<ffffffff81d03d2d>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d03d2d>] dump_stack+0xc1/0x124 lib/dump_stack.c:51
 [<ffffffff81d63c74>] check_preemption_disabled+0x1d4/0x200 lib/smp_processor_id.c:46
 [<ffffffff810002b8>] ? 0xffffffff810002b8
 [<ffffffff81d63cdc>] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
 [<ffffffff8312a609>] tcp_try_coalesce+0x249/0x4d0 net/ipv4/tcp_input.c:4278
 [<ffffffff83132787>] tcp_queue_rcv+0x127/0x720 net/ipv4/tcp_input.c:4485
 [<ffffffff8314a05b>] tcp_send_rcvq+0x39b/0x450 net/ipv4/tcp_input.c:4531
 [<ffffffff831212bf>] tcp_sendmsg+0x1e8f/0x2b10 net/ipv4/tcp.c:1134
 [<ffffffff831d6fec>] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:755
 [<ffffffff82deb79a>] sock_sendmsg_nosec net/socket.c:625 [inline]
 [<ffffffff82deb79a>] sock_sendmsg+0xca/0x110 net/socket.c:635
 [<ffffffff82ded371>] ___sys_sendmsg+0x6c1/0x7c0 net/socket.c:1962
 [<ffffffff82def3c3>] __sys_sendmsg+0xd3/0x190 net/socket.c:1996
 [<ffffffff82def4ad>] SYSC_sendmsg net/socket.c:2007 [inline]
 [<ffffffff82def4ad>] SyS_sendmsg+0x2d/0x50 net/socket.c:2003
 [<ffffffff837742df>] entry_SYSCALL_64_fastpath+0x1c/0x98

Crashes (2177):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/02/03 15:21 https://android.googlesource.com/kernel/common android-4.4 4e74e983ab6e 632a8c2c .config console log report syz C ci-android-44-kasan-gce
2018/02/02 02:45 https://android.googlesource.com/kernel/common android-4.4 a81d32264721 67bd3383 .config console log report syz C ci-android-44-kasan-gce
2018/02/01 18:22 https://android.googlesource.com/kernel/common android-4.4 fe09418d6f88 67bd3383 .config console log report syz C ci-android-44-kasan-gce
2018/02/01 08:19 https://android.googlesource.com/kernel/common android-4.4 fe09418d6f88 02553e22 .config console log report syz C ci-android-44-kasan-gce
2018/01/30 20:28 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 a899be78 .config console log report syz C ci-android-44-kasan-gce
2018/01/30 11:48 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 08d47756 .config console log report syz C ci-android-44-kasan-gce
2018/01/05 04:34 https://android.googlesource.com/kernel/common android-4.4 610c835673f3 00193447 .config console log report syz C ci-android-44-kasan-gce-386
2017/12/20 11:52 https://android.googlesource.com/kernel/common android-4.4 79f138ac8c95 2d836b1d .config console log report syz C ci-android-44-kasan-gce-386
2018/02/02 03:02 https://android.googlesource.com/kernel/common android-4.4 a81d32264721 67bd3383 .config console log report syz C ci-android-44-kasan-gce-386
2018/02/01 08:36 https://android.googlesource.com/kernel/common android-4.4 fe09418d6f88 02553e22 .config console log report syz C ci-android-44-kasan-gce-386
2018/01/30 20:14 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 a899be78 .config console log report syz C ci-android-44-kasan-gce-386
2018/01/30 11:31 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 08d47756 .config console log report syz C ci-android-44-kasan-gce-386
2018/01/30 02:24 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 08d47756 .config console log report syz C ci-android-44-kasan-gce-386
2018/02/01 19:40 https://android.googlesource.com/kernel/common android-4.4 fe09418d6f88 67bd3383 .config console log report syz ci-android-44-kasan-gce
2018/02/03 14:52 https://android.googlesource.com/kernel/common android-4.4 4e74e983ab6e 632a8c2c .config console log report syz ci-android-44-kasan-gce-386
2018/02/01 17:52 https://android.googlesource.com/kernel/common android-4.4 fe09418d6f88 67bd3383 .config console log report syz ci-android-44-kasan-gce-386
2018/01/31 10:03 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 08:53 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 08:39 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 08:32 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 08:10 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 08:03 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 08:03 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 07:42 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 07:39 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 07:32 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 07:32 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 07:32 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 07:29 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:59 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:57 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:54 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:45 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:38 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:27 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:18 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 05:03 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 04:54 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 04:47 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 04:41 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 02:38 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 02:18 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 02:16 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 02:00 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 01:25 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 01:12 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 00:51 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 00:51 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 00:45 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/31 00:45 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 02553e22 .config console log report ci-android-44-kasan-gce
2018/01/30 13:01 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 a899be78 .config console log report ci-android-44-kasan-gce
2018/01/29 21:36 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 08d47756 .config console log report ci-android-44-kasan-gce
2018/01/29 17:11 https://android.googlesource.com/kernel/common android-4.4 962d1f3fe2f4 08d47756 .config console log report ci-android-44-kasan-gce
2018/01/28 10:02 https://android.googlesource.com/kernel/common android-4.4 202e079275c6 08d47756 .config console log report ci-android-44-kasan-gce
2018/01/28 08:41 https://android.googlesource.com/kernel/common android-4.4 202e079275c6 08d47756 .config console log report ci-android-44-kasan-gce
2018/01/28 08:41 https://android.googlesource.com/kernel/common android-4.4 202e079275c6 08d47756 .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.