syzbot


WARNING in rcu_sync_dtor

Status: fixed on 2024/10/22 11:57
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+20d7e439f76bbbd863a7@syzkaller.appspotmail.com
Fix commit: 930c6ab93492 f2fs: fix to don't set SB_RDONLY in f2fs_handle_critical_error()
First crash: 140d, last: 76d
Cause bisection: introduced by (bisect log) :
commit b62e71be2110d8b52bf5faf3c3ed7ca1a0c113a5
Author: Chao Yu <chao@kernel.org>
Date: Sun Apr 23 15:49:15 2023 +0000

  f2fs: support errors=remount-ro|continue|panic mountoption

Crash: WARNING in rcu_sync_dtor (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH] f2fs: fix to don't set SB_RDONLY in f2fs_handle_critical_error() 4 (4) 2024/09/16 21:30
[syzbot] [f2fs?] WARNING in rcu_sync_dtor 7 (11) 2024/09/11 02:12
[syzbot] Monthly f2fs report (Aug 2024) 0 (1) 2024/08/16 19:58
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in rcu_sync_dtor origin:upstream C done 157 57d 139d 3/3 fixed on 2024/11/26 10:25
upstream WARNING in rcu_sync_dtor (2) fs C done 4 4d12h 26d 0/28 upstream: reported C repro on 2024/11/16 09:33
linux-6.1 WARNING in rcu_sync_dtor 1 90d 90d 0/3 upstream: reported on 2024/09/13 13:56
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/09/11 01:48 23m chao@kernel.org https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git wip OK log
2024/07/27 01:16 21m hdanton@sina.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1722389b0d86 OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 58 at kernel/rcu/sync.c:177 rcu_sync_dtor+0xcd/0x180 kernel/rcu/sync.c:177
Modules linked in:
CPU: 1 UID: 0 PID: 58 Comm: kworker/1:2 Not tainted 6.10.0-syzkaller-12562-g1722389b0d86 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events destroy_super_work
RIP: 0010:rcu_sync_dtor+0xcd/0x180 kernel/rcu/sync.c:177
Code: 74 19 e8 86 d5 00 00 43 0f b6 44 25 00 84 c0 0f 85 82 00 00 00 41 83 3f 00 75 1d 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 90 <0f> 0b 90 e9 66 ff ff ff 90 0f 0b 90 eb 89 90 0f 0b 90 eb dd 44 89
RSP: 0018:ffffc9000133fb30 EFLAGS: 00010246
RAX: 0000000000000002 RBX: 1ffff11005324477 RCX: ffff8880163f5a00
RDX: 0000000000000000 RSI: ffffffff8c3f9540 RDI: ffff888029922350
RBP: 0000000000000167 R08: ffffffff82092061 R09: 1ffffffff1cbbbd4
R10: dffffc0000000000 R11: fffffbfff1cbbbd5 R12: dffffc0000000000
R13: 1ffff1100532446a R14: ffff888029922350 R15: ffff888029922350
FS:  0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557c167738 CR3: 000000007ada8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 percpu_free_rwsem+0x41/0x80 kernel/locking/percpu-rwsem.c:42
 destroy_super_work+0xec/0x130 fs/super.c:282
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
 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 (749):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/26 07:07 upstream 1722389b0d86 3f86dfed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/28 05:38 upstream 3630400697a3 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/19 17:21 upstream a430d95c5efa 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in rcu_sync_dtor
2024/09/18 13:25 upstream bdf56c7580d2 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/18 06:31 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/18 04:14 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/18 03:13 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/18 01:06 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/18 00:59 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/17 23:09 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/17 20:24 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/17 19:01 upstream 2f27fce67173 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/17 11:04 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/17 06:21 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/17 03:58 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in rcu_sync_dtor
2024/09/17 02:00 upstream adfc3ded5c33 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 18:58 upstream adfc3ded5c33 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 18:55 upstream adfc3ded5c33 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 15:08 upstream adfc3ded5c33 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 14:04 upstream adfc3ded5c33 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 12:23 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 11:01 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 08:33 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 07:32 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 06:46 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 01:48 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/16 00:48 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 22:37 upstream d42f7708e27c 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 19:48 upstream d42f7708e27c 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 15:27 upstream d42f7708e27c 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in rcu_sync_dtor
2024/09/15 13:50 upstream d42f7708e27c 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 11:20 upstream d42f7708e27c 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 11:20 upstream d42f7708e27c 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 09:46 upstream 0babf683783d 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 04:00 upstream 0babf683783d 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/15 01:31 upstream 0babf683783d 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 22:10 upstream 0babf683783d 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 18:48 upstream b7718454f937 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 16:38 upstream b7718454f937 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 14:37 upstream b7718454f937 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 11:11 upstream b7718454f937 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 09:45 upstream b7718454f937 ff60e2ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in rcu_sync_dtor
2024/09/14 08:23 upstream b7718454f937 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 05:45 upstream b7718454f937 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/14 04:12 upstream e936e7d4a83b 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in rcu_sync_dtor
2024/09/14 02:37 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/13 23:29 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/13 19:21 upstream 196145c606d0 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in rcu_sync_dtor
2024/09/13 16:29 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/13 16:29 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/09/13 12:32 upstream fdf042df0463 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in rcu_sync_dtor
2024/07/26 22:09 linux-next 668d33c9ff92 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in rcu_sync_dtor
2024/09/13 08:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in rcu_sync_dtor
* Struck through repros no longer work on HEAD.