------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 0 PID: 9840 at kernel/locking/lockdep.c:231 hlock_class kernel/locking/lockdep.c:231 [inline] WARNING: CPU: 0 PID: 9840 at kernel/locking/lockdep.c:231 check_wait_context kernel/locking/lockdep.c:4772 [inline] WARNING: CPU: 0 PID: 9840 at kernel/locking/lockdep.c:231 __lock_acquire+0x58c/0x2040 kernel/locking/lockdep.c:5092 Modules linked in: CPU: 0 UID: 0 PID: 9840 Comm: syz.1.373 Not tainted 6.11.0-rc3-syzkaller-00013-g6b0f8db921ab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:231 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4772 [inline] RIP: 0010:__lock_acquire+0x58c/0x2040 kernel/locking/lockdep.c:5092 Code: 00 00 83 3d 45 37 a8 0e 00 75 23 90 48 c7 c7 00 d4 0a 8c 48 c7 c6 a0 d6 0a 8c e8 ff d8 e5 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 31 db 48 81 c3 c4 00 00 00 48 89 d8 48 c1 e8 03 0f RSP: 0018:ffffc9000410f350 EFLAGS: 00010046 RAX: 748d0189f72a6400 RBX: 00000000000012d8 RCX: 0000000000040000 RDX: dffffc0000000000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000005 R08: ffffffff8155a2f2 R09: fffffbfff1cfa0e0 R10: dffffc0000000000 R11: fffffbfff1cfa0e0 R12: ffff888021805a00 R13: 00000000000012d8 R14: 1ffff11004300ca5 R15: ffff888021806528 FS: 00007f1852b466c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020585000 CR3: 0000000022f8a000 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+0xb0/0x140 kernel/sched/core.c:568 raw_spin_rq_lock kernel/sched/sched.h:1415 [inline] rq_lock kernel/sched/sched.h:1714 [inline] __schedule+0x357/0x4a60 kernel/sched/core.c:6436 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_killable+0x3d1/0x730 kernel/sched/completion.c:254 virtio_read+0x102/0x200 drivers/char/hw_random/virtio-rng.c:105 rng_get_data drivers/char/hw_random/core.c:185 [inline] rng_dev_read+0x24a/0x6d0 drivers/char/hw_random/core.c:223 do_loop_readv_writev fs/read_write.c:761 [inline] vfs_readv+0x6c4/0xa90 fs/read_write.c:934 do_preadv fs/read_write.c:1049 [inline] __do_sys_preadv fs/read_write.c:1099 [inline] __se_sys_preadv fs/read_write.c:1094 [inline] __x64_sys_preadv+0x1c7/0x2d0 fs/read_write.c:1094 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1851d799f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1852b46038 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007f1851f15f80 RCX: 00007f1851d799f9 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000007 RBP: 00007f1851de78ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1851f15f80 R15: 00007fffbf8a5f08