------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 0 PID: 7865 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:232 [inline] WARNING: CPU: 0 PID: 7865 at kernel/locking/lockdep.c:232 check_wait_context kernel/locking/lockdep.c:4850 [inline] WARNING: CPU: 0 PID: 7865 at kernel/locking/lockdep.c:232 __lock_acquire+0x564/0x2100 kernel/locking/lockdep.c:5176 Modules linked in: CPU: 0 UID: 0 PID: 7865 Comm: syz.1.397 Not tainted 6.13.0-rc3-syzkaller-00062-gc061cf420ded #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:232 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4850 [inline] RIP: 0010:__lock_acquire+0x564/0x2100 kernel/locking/lockdep.c:5176 Code: 00 00 83 3d 21 f3 9e 0e 00 75 23 90 48 c7 c7 00 96 0a 8c 48 c7 c6 00 99 0a 8c e8 67 5d 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:ffffc9000482e450 EFLAGS: 00010046 RAX: 065e303108783000 RBX: 00000000000019d8 RCX: 0000000000080000 RDX: dffffc0000000000 RSI: 00000000000070da RDI: 00000000000070db RBP: 00000000000c19d8 R08: ffffffff81601a42 R09: fffffbfff1cfa210 R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff88802a9a64c4 R13: 0000000000000014 R14: 1ffff11005534cb4 R15: ffff88802a9a65a0 FS: 00007f81d53d56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81d53d4f98 CR3: 000000005a682000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606 raw_spin_rq_lock kernel/sched/sched.h:1523 [inline] rq_lock kernel/sched/sched.h:1822 [inline] __schedule+0x35a/0x4c30 kernel/sched/core.c:6680 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:blk_throtl_activated block/blk-throttle.h:157 [inline] RIP: 0010:blk_should_throtl block/blk-throttle.h:170 [inline] RIP: 0010:blk_throtl_bio block/blk-throttle.h:196 [inline] RIP: 0010:submit_bio_noacct+0xcc5/0x1900 block/blk-core.c:866 Code: 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 af 73 64 fd bd 78 07 00 00 48 03 2b 48 89 e8 48 c1 e8 03 42 80 3c 30 00 <74> 08 48 89 ef e8 91 73 64 fd 48 83 7d 00 00 0f 84 83 00 00 00 49 RSP: 0018:ffffc9000482eaa8 EFLAGS: 00000246 RAX: 1ffff110287fc5d3 RBX: ffff88802366d098 RCX: 0000000000080000 RDX: ffffc9000e620000 RSI: 00000000000048e2 RDI: 00000000000048e3 RBP: ffff888143fe2e98 R08: 0000000000000001 R09: ffffffff84a15d33 R10: 000000000000000b R11: ffff88802a9a5a00 R12: ffff888143fe2720 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88805d1e8a00 submit_bh fs/buffer.c:2819 [inline] block_read_full_folio+0x9b3/0xae0 fs/buffer.c:2446 filemap_read_folio+0x14a/0x3b0 mm/filemap.c:2366 do_read_cache_folio+0x373/0x5b0 mm/filemap.c:3826 do_read_cache_page mm/filemap.c:3892 [inline] read_cache_page+0x5b/0x170 mm/filemap.c:3901 read_mapping_page include/linux/pagemap.h:1005 [inline] __hfs_bnode_create+0x487/0x770 fs/hfsplus/bnode.c:440 hfsplus_bnode_create+0x124/0x440 fs/hfsplus/bnode.c:576 hfsplus_bmap_alloc+0x59a/0x640 fs/hfsplus/btree.c:415 hfs_btree_inc_height+0x11e/0xdc0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x166/0xde0 fs/hfsplus/brec.c:75 __hfsplus_ext_write_extent+0x36b/0x5c0 fs/hfsplus/extents.c:107 __hfsplus_ext_cache_extent+0x84/0xe10 fs/hfsplus/extents.c:186 hfsplus_ext_read_extent fs/hfsplus/extents.c:218 [inline] hfsplus_file_extend+0x48c/0x1b70 fs/hfsplus/extents.c:462 hfsplus_get_block+0x406/0x14f0 fs/hfsplus/extents.c:245 __block_write_begin_int+0x694/0x19a0 fs/buffer.c:2116 block_write_begin fs/buffer.c:2226 [inline] cont_write_begin+0x77f/0xb40 fs/buffer.c:2577 hfsplus_write_begin+0x68/0xb0 fs/hfsplus/inode.c:46 cont_expand_zero fs/buffer.c:2504 [inline] cont_write_begin+0x32d/0xb40 fs/buffer.c:2567 hfsplus_write_begin+0x68/0xb0 fs/hfsplus/inode.c:46 generic_cont_expand_simple+0x191/0x2b0 fs/buffer.c:2468 hfsplus_setattr+0x16d/0x270 fs/hfsplus/inode.c:258 notify_change+0xbcc/0xe90 fs/attr.c:552 do_truncate fs/open.c:65 [inline] do_ftruncate+0x462/0x580 fs/open.c:181 do_sys_ftruncate fs/open.c:196 [inline] __do_sys_ftruncate fs/open.c:201 [inline] __se_sys_ftruncate fs/open.c:199 [inline] __x64_sys_ftruncate+0x94/0xf0 fs/open.c:199 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:0x7f81d7585d29 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:00007f81d53d5038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f81d7776160 RCX: 00007f81d7585d29 RDX: 0000000000000000 RSI: 00000000002006e2 RDI: 0000000000000004 RBP: 00007f81d7601a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f81d7776160 R15: 00007ffd7ac2e608 ---------------- Code disassembly (best guess): 0: 48 89 d8 mov %rbx,%rax 3: 48 c1 e8 03 shr $0x3,%rax 7: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) c: 74 08 je 0x16 e: 48 89 df mov %rbx,%rdi 11: e8 af 73 64 fd call 0xfd6473c5 16: bd 78 07 00 00 mov $0x778,%ebp 1b: 48 03 2b add (%rbx),%rbp 1e: 48 89 e8 mov %rbp,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 48 89 ef mov %rbp,%rdi 2f: e8 91 73 64 fd call 0xfd6473c5 34: 48 83 7d 00 00 cmpq $0x0,0x0(%rbp) 39: 0f 84 83 00 00 00 je 0xc2 3f: 49 rex.WB