------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use)) WARNING: CPU: 0 PID: 4645 at kernel/locking/lockdep.c:5112 __lock_acquire+0x15e9/0x2040 kernel/locking/lockdep.c:5112 Modules linked in: CPU: 0 UID: 0 PID: 4645 Comm: jbd2/sda1-8 Not tainted 6.11.0-rc6-syzkaller-00296-g9d4c304001cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__lock_acquire+0x15e9/0x2040 kernel/locking/lockdep.c:5112 Code: 0f b6 04 08 84 c0 0f 85 d7 09 00 00 83 3d 1e c0 a8 0e 00 75 19 90 48 c7 c7 00 d4 0a 8c 48 c7 c6 80 fc 0a 8c e8 18 c8 e5 ff 90 <0f> 0b 90 90 90 e9 13 fe ff ff 90 0f 0b 90 e9 69 fd ff ff 90 e8 6e RSP: 0018:ffffc9000d3df230 EFLAGS: 00010046 RAX: 422314dbbf920a00 RBX: 000000001eb762d8 RCX: ffff8880339f5a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880339f6580 R08: ffffffff8155b372 R09: 1ffff1101710519a R10: dffffc0000000000 R11: ffffed101710519b R12: ffff8880339f5a00 R13: ffff8880339f64d8 R14: 0000000000000000 R15: ffff8880339f65a0 FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f192f1538 CR3: 000000007f4f0000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560 _double_lock_balance kernel/sched/sched.h:2760 [inline] double_lock_balance kernel/sched/sched.h:2805 [inline] find_lock_lowest_rq+0x1e1/0x670 kernel/sched/rt.c:1941 push_rt_task+0x13f/0x7e0 kernel/sched/rt.c:2074 push_rt_tasks kernel/sched/rt.c:2124 [inline] task_woken_rt+0x14c/0x220 kernel/sched/rt.c:2424 ttwu_do_activate+0x338/0x7e0 kernel/sched/core.c:3594 ttwu_queue kernel/sched/core.c:3846 [inline] try_to_wake_up+0x884/0x1470 kernel/sched/core.c:4167 autoremove_wake_function+0x16/0x110 kernel/sched/wait.c:384 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x132/0x1e0 kernel/sched/wait.c:106 jbd2_journal_commit_transaction+0x1024/0x67e0 fs/jbd2/commit.c:537 kjournald2+0x41c/0x7b0 fs/jbd2/journal.c:201 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244