syzbot


WARNING: suspicious RCU usage in list_lru_destroy

Status: closed as dup on 2021/04/05 03:03
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+d7dd989878658902c6d6@syzkaller.appspotmail.com
First crash: 1114d, last: 1114d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: suspicious RCU usage in getname_flags fs 2 1019d 1110d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING: suspicious RCU usage in list_lru_destroy 1 (2) 2021/04/05 03:02

Sample crash report:
EXT4-fs (loop0): mount failed
=============================
WARNING: suspicious RCU usage
5.12.0-rc5-syzkaller #0 Not tainted
-----------------------------
kernel/sched/core.c:8294 Illegal context switch in RCU-bh read-side critical section!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 0
no locks held by syz-executor.0/10672.

stack backtrace:
CPU: 0 PID: 10672 Comm: syz-executor.0 Not tainted 5.12.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x176/0x24e lib/dump_stack.c:120
 ___might_sleep+0x6e/0x530 kernel/sched/core.c:8294
 down_read+0x17/0x50 kernel/locking/rwsem.c:1352
 list_lru_destroy+0x49/0x390 mm/list_lru.c:628
 deactivate_locked_super+0xbf/0xf0 fs/super.c:343
 mount_bdev+0x288/0x3a0 fs/super.c:1369
 legacy_get_tree+0xea/0x180 fs/fs_context.c:592
 vfs_get_tree+0x86/0x270 fs/super.c:1497
 do_new_mount fs/namespace.c:2903 [inline]
 path_mount+0x188a/0x29a0 fs/namespace.c:3233
 do_mount fs/namespace.c:3246 [inline]
 __do_sys_mount fs/namespace.c:3454 [inline]
 __se_sys_mount+0x28c/0x320 fs/namespace.c:3431
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46797a
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f77bde01fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a
RDX: 0000000020000300 RSI: 0000000020000100 RDI: 00007f77bde02000
RBP: 00007f77bde02040 R08: 00007f77bde02040 R09: 0000000020000300
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000300
R13: 0000000020000100 R14: 00007f77bde02000 R15: 00000000200000c0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/31 15:06 upstream 5e46d1b78a03 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in list_lru_destroy
* Struck through repros no longer work on HEAD.