syzbot


WARNING in rcu_sync_dtor

Status: upstream: reported on 2024/09/13 13:56
Reported-by: syzbot+ea61231454f0e02788f8@syzkaller.appspotmail.com
First crash: 99d, last: 99d
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 65d 147d 3/3 fixed on 2024/11/26 10:25
upstream WARNING in rcu_sync_dtor f2fs C done 749 84d 148d 28/28 fixed on 2024/10/22 11:57
upstream WARNING in rcu_sync_dtor (2) fs C done 4 12d 35d 0/28 upstream: reported C repro on 2024/11/16 09:33

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4340 at kernel/rcu/sync.c:193 rcu_sync_dtor+0x14c/0x170 kernel/rcu/sync.c:193
Modules linked in:
CPU: 1 PID: 4340 Comm: kworker/1:5 Not tainted 6.1.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events destroy_super_work
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : rcu_sync_dtor+0x14c/0x170 kernel/rcu/sync.c:193
lr : percpu_free_rwsem+0x48/0x88 kernel/locking/percpu-rwsem.c:42
sp : ffff8000216d7ad0
x29: ffff8000216d7ad0 x28: ffff0001b3d31800 x27: ffff0000f4cb88e0
x26: ffff0000d0532218 x25: 1fffe0001a0a6443 x24: dfff800000000000
x23: ffff0001b3d2c980 x22: 1fffe0001e99707f x21: dfff800000000000
x20: ffff0000f4cb8394 x19: ffff0000f4cb8390 x18: 1fffe000367a3376
x17: ffff8000159cd000 x16: ffff800012294c9c x15: ffff0001b3d19bbc
x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 00000000fd82de95
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 0000000000000007
x8 : 0000000000000001 x7 : ffff80000822a634 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000124a9860
x2 : 0000000000000008 x1 : ffff8000128c7c60 x0 : ffff0000f4cb8390
Call trace:
 rcu_sync_dtor+0x14c/0x170 kernel/rcu/sync.c:193
 percpu_free_rwsem+0x48/0x88 kernel/locking/percpu-rwsem.c:42
 destroy_super_work+0x20/0x48 fs/super.c:163
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864
irq event stamp: 235856
hardirqs last  enabled at (235855): [<ffff80001237665c>] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline]
hardirqs last  enabled at (235855): [<ffff80001237665c>] _raw_spin_unlock_irq+0x3c/0x90 kernel/locking/spinlock.c:202
hardirqs last disabled at (235856): [<ffff800012290954>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (235834): [<ffff8000081c80cc>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (235834): [<ffff8000081c80cc>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (235727): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4340 at kernel/rcu/sync.c:194 rcu_sync_dtor+0xd8/0x170 kernel/rcu/sync.c:206
Modules linked in:
CPU: 1 PID: 4340 Comm: kworker/1:5 Tainted: G        W          6.1.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events destroy_super_work
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : rcu_sync_dtor+0xd8/0x170 kernel/rcu/sync.c:206
lr : percpu_free_rwsem+0x48/0x88 kernel/locking/percpu-rwsem.c:42
sp : ffff8000216d7ad0
x29: ffff8000216d7ad0 x28: ffff0001b3d31800 x27: ffff0000f4cb88e0
x26: ffff0000d0532218 x25: 1fffe0001a0a6443 x24: dfff800000000000
x23: ffff0001b3d2c980 x22: 1fffe0001e997072 x21: dfff800000000000
x20: ffff0000f4cb8394 x19: ffff0000f4cb8390 x18: 1fffe000367a3376
x17: ffff8000159cd000 x16: ffff800012294c9c x15: ffff0001b3d19bbc
x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 00000000fd82de95
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 0000000000000007
x8 : 0000000000000002 x7 : ffff80000822a634 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000124a9860
x2 : 0000000000000008 x1 : ffff8000128c7c60 x0 : ffff0000f4cb8390
Call trace:
 rcu_sync_dtor+0xd8/0x170 kernel/rcu/sync.c:206
 percpu_free_rwsem+0x48/0x88 kernel/locking/percpu-rwsem.c:42
 destroy_super_work+0x20/0x48 fs/super.c:163
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864
irq event stamp: 235956
hardirqs last  enabled at (235955): [<ffff800012292d68>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last  enabled at (235955): [<ffff800012292d68>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (235956): [<ffff800012290954>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (235940): [<ffff8000081c80cc>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (235940): [<ffff8000081c80cc>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (235861): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4340 at kernel/rcu/sync.c:204 rcu_sync_dtor+0xe0/0x170 kernel/rcu/sync.c:206
Modules linked in:
CPU: 1 PID: 4340 Comm: kworker/1:5 Tainted: G        W          6.1.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events destroy_super_work
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : rcu_sync_dtor+0xe0/0x170 kernel/rcu/sync.c:206
lr : rcu_sync_dtor+0xb0/0x170 kernel/rcu/sync.c:203
sp : ffff8000216d7ad0
x29: ffff8000216d7ad0 x28: ffff0001b3d31800 x27: ffff0000f4cb88e0
x26: ffff0000d0532218 x25: 1fffe0001a0a6443 x24: dfff800000000000
x23: 0000000000000002 x22: 1fffe0001e997072 x21: dfff800000000000
x20: ffff0000f4cb8398 x19: ffff0000f4cb8390 x18: 1fffe000367a3376
x17: ffff8000159cd000 x16: ffff80000897f748 x15: ffff0001b3d19bbc
x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000000001
x11: 1ffff000042daf34 x10: 0000000000000000 x9 : 01604ededf3dbe00
x8 : 0000000000000002 x7 : ffff800012365310 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff800012365670
x2 : 0000000000000000 x1 : ffff0000cf135340 x0 : ffff0000cf135340
Call trace:
 rcu_sync_dtor+0xe0/0x170 kernel/rcu/sync.c:206
 percpu_free_rwsem+0x48/0x88 kernel/locking/percpu-rwsem.c:42
 destroy_super_work+0x20/0x48 fs/super.c:163
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864
irq event stamp: 236020
hardirqs last  enabled at (236019): [<ffff80001237665c>] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline]
hardirqs last  enabled at (236019): [<ffff80001237665c>] _raw_spin_unlock_irq+0x3c/0x90 kernel/locking/spinlock.c:202
hardirqs last disabled at (236020): [<ffff800012290954>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (235992): [<ffff8000081c80cc>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (235992): [<ffff8000081c80cc>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (235959): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/13 13:55 linux-6.1.y 5f55cad62cc9 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in rcu_sync_dtor
* Struck through repros no longer work on HEAD.