syzbot


INFO: suspicious RCU usage in fib6_del

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+71bd1842f954469fec45@syzkaller.appspotmail.com
First crash: 2126d, last: 2053d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: suspicious RCU usage in fib6_del C 60 1972d 2051d 0/3 public: reported C repro on 2019/04/11 08:44

Sample crash report:
netlink: 8 bytes leftover after parsing attributes in process `syz-executor734'.
===============================
[ INFO: suspicious RCU usage. ]
4.4.174+ #4 Not tainted
-------------------------------
net/ipv6/ip6_fib.c:1465 suspicious rcu_dereference_protected() usage!

other info that might help us debug this:


rcu_scheduler_active = 1, debug_locks = 0
4 locks held by syz-executor734/2078:
 #0:  (rtnl_mutex){+.+.+.}, at: [<ffffffff8226e537>] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70
 #1:  (fib6_gc_lock){+.....}, at: [<ffffffff825fa48c>] spin_trylock_bh include/linux/spinlock.h:367 [inline]
 #1:  (fib6_gc_lock){+.....}, at: [<ffffffff825fa48c>] fib6_run_gc+0x18c/0x230 net/ipv6/ip6_fib.c:1812
 #2:  (rcu_read_lock){......}, at: [<ffffffff825f1ee0>] __fib6_clean_all+0x0/0x240 net/ipv6/ip6_fib.c:1698
 #3:  (&tb->tb6_lock){++....}, at: [<ffffffff825f1fc8>] __fib6_clean_all+0xe8/0x240 net/ipv6/ip6_fib.c:1712

stack backtrace:
CPU: 1 PID: 2078 Comm: syz-executor734 Not tainted 4.4.174+ #4
 0000000000000000 61f24f216b50eb0c ffff8800b6e37530 ffffffff81aad1a1
 ffff8800b6ccc380 0000000000000000 0000000000000001 00000000000005b9
 ffff8800b7c197c0 ffff8800b6e37560 ffffffff813ab7d6 ffff8800b6e37780
Call Trace:
 [<ffffffff81aad1a1>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81aad1a1>] dump_stack+0xc1/0x120 lib/dump_stack.c:51
 [<ffffffff813ab7d6>] lockdep_rcu_suspicious.cold+0x10a/0x149 kernel/locking/lockdep.c:4305
 [<ffffffff825f9ada>] fib6_del+0x7ea/0xae0 net/ipv6/ip6_fib.c:1465
 [<ffffffff825fa06c>] fib6_clean_node+0x29c/0x500 net/ipv6/ip6_fib.c:1652
 [<ffffffff825f1830>] fib6_walk_continue+0x3e0/0x630 net/ipv6/ip6_fib.c:1578
 [<ffffffff825f1d71>] fib6_walk+0x91/0xe0 net/ipv6/ip6_fib.c:1623
 [<ffffffff825f1ea8>] fib6_clean_tree+0xe8/0x120 net/ipv6/ip6_fib.c:1697
 [<ffffffff825f1fe0>] __fib6_clean_all+0x100/0x240 net/ipv6/ip6_fib.c:1713
 [<ffffffff825fa3af>] fib6_clean_all net/ipv6/ip6_fib.c:1724 [inline]
 [<ffffffff825fa3af>] fib6_run_gc+0xaf/0x230 net/ipv6/ip6_fib.c:1821
 [<ffffffff82606780>] ndisc_netdev_event+0x2b0/0x360 net/ipv6/ndisc.c:1707
 [<ffffffff81137e69>] notifier_call_chain+0xb9/0x1e0 kernel/notifier.c:93
 [<ffffffff81137ffe>] __raw_notifier_call_chain kernel/notifier.c:394 [inline]
 [<ffffffff81137ffe>] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401
 [<ffffffff822274e6>] call_netdevice_notifiers_info+0x56/0x70 net/core/dev.c:1643
 [<ffffffff82228113>] call_netdevice_notifiers net/core/dev.c:1659 [inline]
 [<ffffffff82228113>] dev_close_many+0x2f3/0x6a0 net/core/dev.c:1452
 [<ffffffff822349d0>] rollback_registered_many+0x3a0/0x9a0 net/core/dev.c:6350
 [<ffffffff822350c2>] rollback_registered+0xf2/0x1b0 net/core/dev.c:6413
 [<ffffffff8223d9ae>] unregister_netdevice_queue net/core/dev.c:7363 [inline]
 [<ffffffff8223d9ae>] unregister_netdevice_queue+0x1ae/0x230 net/core/dev.c:7356
 [<ffffffff81e1fdeb>] unregister_netdevice include/linux/netdevice.h:2289 [inline]
 [<ffffffff81e1fdeb>] __tun_detach+0x86b/0xa50 drivers/net/tun.c:548
 [<ffffffff81e20016>] tun_detach drivers/net/tun.c:557 [inline]
 [<ffffffff81e20016>] tun_chr_close+0x46/0x60 drivers/net/tun.c:2263
 [<ffffffff8149c8c6>] __fput+0x246/0x710 fs/file_table.c:208
 [<ffffffff8149ce16>] ____fput+0x16/0x20 fs/file_table.c:244
 [<ffffffff8112f352>] task_work_run+0x202/0x2b0 kernel/task_work.c:115
 [<ffffffff810d8b2a>] exit_task_work include/linux/task_work.h:21 [inline]
 [<ffffffff810d8b2a>] do_exit+0x8ea/0x2c60 kernel/exit.c:763
 [<ffffffff82719755>] ?

Crashes (75):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/10 12:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report syz C ci-android-44-kasan-gce
2019/04/09 16:31 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 995065ff .config console log report ci-android-44-kasan-gce
2019/04/08 00:45 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c34fde03 .config console log report ci-android-44-kasan-gce
2019/04/07 23:36 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c34fde03 .config console log report ci-android-44-kasan-gce
2019/04/07 18:46 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c34fde03 .config console log report ci-android-44-kasan-gce
2019/04/07 17:41 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c34fde03 .config console log report ci-android-44-kasan-gce
2019/04/07 13:32 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c34fde03 .config console log report ci-android-44-kasan-gce
2019/04/07 09:09 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c34fde03 .config console log report ci-android-44-kasan-gce
2019/04/07 04:03 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c34fde03 .config console log report ci-android-44-kasan-gce
2019/04/04 09:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d6fc4177 .config console log report ci-android-44-kasan-gce
2019/03/24 11:55 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b acbc5b7d .config console log report ci-android-44-kasan-gce
2019/03/24 03:55 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a2cef203 .config console log report ci-android-44-kasan-gce
2019/03/23 20:59 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a2cef203 .config console log report ci-android-44-kasan-gce
2019/03/22 22:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 3361bde5 .config console log report ci-android-44-kasan-gce
2019/03/22 05:27 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dce6e62f .config console log report ci-android-44-kasan-gce
2019/03/22 00:22 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dce6e62f .config console log report ci-android-44-kasan-gce
2019/03/21 03:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a664c187 .config console log report ci-android-44-kasan-gce
2019/03/20 09:19 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 2458c1c6 .config console log report ci-android-44-kasan-gce
2019/03/20 05:20 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 2458c1c6 .config console log report ci-android-44-kasan-gce
2019/03/19 08:05 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 46264c32 .config console log report ci-android-44-kasan-gce
2019/03/18 19:20 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 4656beca .config console log report ci-android-44-kasan-gce
2019/03/17 19:20 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ba18afea .config console log report ci-android-44-kasan-gce
2019/03/17 18:14 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ba18afea .config console log report ci-android-44-kasan-gce
2019/03/16 12:11 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b bab43553 .config console log report ci-android-44-kasan-gce
2019/03/16 06:56 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b bab43553 .config console log report ci-android-44-kasan-gce
2019/03/15 23:11 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b bab43553 .config console log report ci-android-44-kasan-gce
2019/03/15 20:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b bab43553 .config console log report ci-android-44-kasan-gce
2019/03/15 04:42 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d72db19b .config console log report ci-android-44-kasan-gce
2019/03/14 14:15 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d09a902e .config console log report ci-android-44-kasan-gce
2019/03/12 09:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/12 00:13 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/11 13:47 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/11 11:38 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/11 01:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/10 11:42 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/09 22:00 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/09 10:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/08 20:59 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce
2019/03/08 01:37 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 4b69c3cb .config console log report ci-android-44-kasan-gce
2019/03/07 13:08 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8c085c5e .config console log report ci-android-44-kasan-gce
2019/03/04 18:57 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 7c693b52 .config console log report ci-android-44-kasan-gce
2019/03/03 15:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1c0e457a .config console log report ci-android-44-kasan-gce
2019/03/02 22:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1c0e457a .config console log report ci-android-44-kasan-gce
2019/03/01 11:46 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8a4b3a6b .config console log report ci-android-44-kasan-gce
2019/02/26 16:13 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a36ecd98 .config console log report ci-android-44-kasan-gce
2019/02/24 20:16 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 7a06e792 .config console log report ci-android-44-kasan-gce
2019/02/23 23:54 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 7a06e792 .config console log report ci-android-44-kasan-gce
2019/02/22 16:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 6a5fcca4 .config console log report ci-android-44-kasan-gce
2019/02/21 20:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 3133098b .config console log report ci-android-44-kasan-gce
2019/02/19 05:31 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 59f36113 .config console log report ci-android-44-kasan-gce
2019/02/18 18:20 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 59f36113 .config console log report ci-android-44-kasan-gce
2019/02/18 18:14 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 59f36113 .config console log report ci-android-44-kasan-gce
2019/02/16 18:56 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f42dee6d .config console log report ci-android-44-kasan-gce
2019/02/15 21:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f6f233c0 .config console log report ci-android-44-kasan-gce
2019/02/15 18:00 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f6f233c0 .config console log report ci-android-44-kasan-gce
2019/02/15 04:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 76dd003f .config console log report ci-android-44-kasan-gce
2019/02/12 20:22 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 6ecc6d0f .config console log report ci-android-44-kasan-gce
2019/02/11 22:06 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 73f5f452 .config console log report ci-android-44-kasan-gce
2019/02/08 20:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b fa6c7b70 .config console log report ci-android-44-kasan-gce
2019/02/07 21:12 https://android.googlesource.com/kernel/common android-4.4 64b564428faa aa4feb03 .config console log report ci-android-44-kasan-gce
2019/02/07 18:54 https://android.googlesource.com/kernel/common android-4.4 64b564428faa aa4feb03 .config console log report ci-android-44-kasan-gce
2019/02/07 07:52 https://android.googlesource.com/kernel/common android-4.4 6d1e42fb1a28 d25487bc .config console log report ci-android-44-kasan-gce
2019/02/06 17:58 https://android.googlesource.com/kernel/common android-4.4 6d1e42fb1a28 d25487bc .config console log report ci-android-44-kasan-gce
2019/02/02 05:44 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 564f9a4f .config console log report ci-android-44-kasan-gce
2019/02/01 17:58 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 0c07abcf .config console log report ci-android-44-kasan-gce
2019/01/31 03:17 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 aa432daf .config console log report ci-android-44-kasan-gce
2019/01/30 11:17 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 aa432daf .config console log report ci-android-44-kasan-gce
2019/01/28 17:28 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 629c2a27 .config console log report ci-android-44-kasan-gce
2019/01/27 16:37 https://android.googlesource.com/kernel/common android-4.4 d0c3914ffbe4 c73f090a .config console log report ci-android-44-kasan-gce
2019/01/27 14:32 https://android.googlesource.com/kernel/common android-4.4 d0c3914ffbe4 c73f090a .config console log report ci-android-44-kasan-gce
2019/01/27 01:19 https://android.googlesource.com/kernel/common android-4.4 d0c3914ffbe4 c73f090a .config console log report ci-android-44-kasan-gce
2019/01/26 06:50 https://android.googlesource.com/kernel/common android-4.4 d0c3914ffbe4 ebf7a37c .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.