syzbot


net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets

Status: fixed on 2024/07/09 19:14
Subsystems: netfilter
[Documentation on labels]
Reported-by: syzbot+cfbe1da5fdfc39efc293@syzkaller.appspotmail.com
Fix commit: 8ecd06277a76 netfilter: ipset: Fix suspicious rcu_dereference_protected()
First crash: 171d, last: 165d
Discussions (3)
Title Replies (including bot) Last reply
[PATCH net 1/5] netfilter: ipset: Fix suspicious rcu_dereference_protected() 1 (1) 2024/06/19 17:05
[PATCH 1/1] netfilter: ipset: Fix suspicious rcu_dereference_protected() 1 (1) 2024/06/17 09:18
[syzbot] [netfilter?] net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets 0 (4) 2024/06/14 10:21
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/06/14 10:21 1h26m (95) kadlec@netfilter.org git://blackhole.szhk.kfki.hu/nf main OK
2024/06/14 10:11 5m kadlec@netfilter.org git://blackhole.szhk.kfki.hu/nf main error
2024/06/14 09:23 2m kadlec@netfilter.org git://blackhole.kfki.hu/nf main error

Sample crash report:
=============================
WARNING: suspicious RCU usage
6.10.0-rc3-syzkaller-00755-ga012f9a752a5 #0 Not tainted
-----------------------------
net/netfilter/ipset/ip_set_core.c:1200 suspicious rcu_dereference_protected() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
3 locks held by kworker/u8:5/989:
 #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
 #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
 #1: ffffc90004667d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
 #1: ffffc90004667d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
 #2: ffffffff8f5da110 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594

stack backtrace:
CPU: 1 PID: 989 Comm: kworker/u8:5 Not tainted 6.10.0-rc3-syzkaller-00755-ga012f9a752a5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
 lockdep_rcu_suspicious+0x221/0x340 kernel/locking/lockdep.c:6712
 _destroy_all_sets+0x232/0x5f0 net/netfilter/ipset/ip_set_core.c:1200
 ip_set_net_exit+0x20/0x50 net/netfilter/ipset/ip_set_core.c:2396
 ops_exit_list net/core/net_namespace.c:173 [inline]
 cleanup_net+0x802/0xcc0 net/core/net_namespace.c:640
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (128):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/20 18:43 net-next a012f9a752a5 dac2aa43 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/20 17:33 net-next e3511997d7dc dac2aa43 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/20 13:57 net-next a012f9a752a5 dac2aa43 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/20 11:17 net-next 7e8fcb815432 dac2aa43 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/20 02:19 net-next 7e8fcb815432 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/20 00:59 net-next c8bd1f7f3e61 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/19 13:34 net-next 3d49ee2127c2 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/19 12:07 net-next 9f1f70dd8500 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/19 10:41 net-next 6f46fc9bc2bd 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/19 08:37 net-next 382d1741b5b2 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/19 03:27 net-next 382d1741b5b2 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/19 02:01 net-next 382d1741b5b2 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/19 00:14 net-next 8c379e3ce404 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 17:45 net-next e845bb84fb6e 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 14:06 net-next 8c379e3ce404 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 12:25 net-next e845bb84fb6e 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 10:33 net-next efb459303dd5 ce6011bc .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 08:29 net-next efb459303dd5 ce6011bc .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 07:20 net-next 0d9bb144276e 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 07:17 net-next efb459303dd5 ce6011bc .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 05:20 net-next efb459303dd5 ce6011bc .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 03:30 net-next efb459303dd5 ce6011bc .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 01:49 net-next 0d9bb144276e ce6011bc .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/18 00:43 net-next 4314175af496 ce6011bc .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 23:29 net-next 4314175af496 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 21:48 net-next 4314175af496 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 20:40 net-next 4314175af496 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 18:29 net-next 4314175af496 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 16:03 net-next 4314175af496 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 14:08 net-next 4314175af496 1f11cfd7 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 12:51 net-next 4314175af496 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 11:10 net-next 69776921e82d f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 10:03 net-next 934c29999b57 88722c0f .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 07:35 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 05:41 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 03:15 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/17 01:36 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 23:27 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 22:03 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 21:02 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 19:58 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 17:34 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 16:23 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 14:28 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 13:25 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 11:34 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/16 09:58 net-next 934c29999b57 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/14 09:45 net-next 3873d0d107c1 8d849073 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/14 07:47 net-next 5f703ce5c981 a9616ff5 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
2024/06/14 03:29 net-next 6e7e2e7e6327 a9616ff5 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets
* Struck through repros no longer work on HEAD.