===================================== WARNING: bad unlock balance detected! 5.18.0-rc1-syzkaller #0 Not tainted ------------------------------------- syz-executor329/19136 is trying to release lock ( BUG: unable to handle page fault for address: ffffff88f98e8000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD ac8f067 P4D ac8f067 PUD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19136 Comm: syz-executor329 Not tainted 5.18.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:string_nocheck lib/vsprintf.c:643 [inline] RIP: 0010:string+0x154/0x330 lib/vsprintf.c:725 Code: 48 39 dd 74 2f 48 89 d7 48 83 c2 01 48 89 f8 48 89 f9 48 c1 e8 03 83 e1 07 42 0f b6 04 00 38 c8 7f 08 84 c0 0f 85 34 01 00 00 <44> 0f b6 72 ff 45 84 f6 75 9e 4c 89 f9 4c 89 ea 48 89 ef e8 64 9b RSP: 0018:ffffc9000baf7410 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffc9010baf76c1 RCX: 0000000000000000 RDX: ffffff88f98e8001 RSI: 0000000000000000 RDI: ffffff88f98e8000 RBP: ffffc9000baf76c2 R08: dffffc0000000000 R09: 1ffff9200175ee01 R10: fffff5200175eed8 R11: 0000000000000001 R12: 1ffff9200175ee85 R13: ffffc9000baf76c8 R14: ffffc9000baf7518 R15: ffff0a00ffffff04 FS: 00007f7524e23700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffff88f98e8000 CR3: 0000000022eac000 CR4: 0000000000350ef0 Call Trace: vsnprintf+0x198/0x1630 lib/vsprintf.c:2806 vprintk_store+0x28b/0x8f0 kernel/printk/printk.c:2158 vprintk_emit+0x63/0x3c0 kernel/printk/printk.c:2256 _printk+0xad/0xde kernel/printk/printk.c:2293 print_lockdep_cache+0xba/0xf5 kernel/locking/lockdep.c:721 print_unlock_imbalance_bug.part.0+0x8b/0xe6 kernel/locking/lockdep.c:5074 print_unlock_imbalance_bug include/trace/events/lock.h:58 [inline] __lock_release kernel/locking/lockdep.c:5318 [inline] lock_release.cold+0x34/0x4e kernel/locking/lockdep.c:5661 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:389 [inline] writeback_single_inode+0xdb/0x340 fs/fs-writeback.c:1718 write_inode_now+0x125/0x190 fs/fs-writeback.c:2697 iput_final fs/inode.c:1731 [inline] iput.part.0+0x363/0x6a0 fs/inode.c:1770 ntfs_fill_super+0x2414/0x3120 fs/ntfs3/super.c:1178 get_tree_bdev+0x398/0x680 fs/super.c:1292 vfs_get_tree+0x7f/0x2c0 fs/super.c:1497 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7524e7d27a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7524e23168 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f7524e7d27a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f7524e23180 RBP: 0000000000000004 R08: 00007f7524e231c0 R09: 00007f7524e236b8 R10: 0000000000000000 R11: 0000000000000286 R12: 00007f7524e231c0 R13: 000000000000010c R14: 00007f7524e23180 R15: 0000000020001b20 Modules linked in: CR2: ffffff88f98e8000 ---[ end trace 0000000000000000 ]--- RIP: 0010:string_nocheck lib/vsprintf.c:643 [inline] RIP: 0010:string+0x154/0x330 lib/vsprintf.c:725 Code: 48 39 dd 74 2f 48 89 d7 48 83 c2 01 48 89 f8 48 89 f9 48 c1 e8 03 83 e1 07 42 0f b6 04 00 38 c8 7f 08 84 c0 0f 85 34 01 00 00 <44> 0f b6 72 ff 45 84 f6 75 9e 4c 89 f9 4c 89 ea 48 89 ef e8 64 9b RSP: 0018:ffffc9000baf7410 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffc9010baf76c1 RCX: 0000000000000000 RDX: ffffff88f98e8001 RSI: 0000000000000000 RDI: ffffff88f98e8000 RBP: ffffc9000baf76c2 R08: dffffc0000000000 R09: 1ffff9200175ee01 R10: fffff5200175eed8 R11: 0000000000000001 R12: 1ffff9200175ee85 R13: ffffc9000baf76c8 R14: ffffc9000baf7518 R15: ffff0a00ffffff04 FS: 00007f7524e23700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffff88f98e8000 CR3: 0000000022eac000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 48 39 dd cmp %rbx,%rbp 3: 74 2f je 0x34 5: 48 89 d7 mov %rdx,%rdi 8: 48 83 c2 01 add $0x1,%rdx c: 48 89 f8 mov %rdi,%rax f: 48 89 f9 mov %rdi,%rcx 12: 48 c1 e8 03 shr $0x3,%rax 16: 83 e1 07 and $0x7,%ecx 19: 42 0f b6 04 00 movzbl (%rax,%r8,1),%eax 1e: 38 c8 cmp %cl,%al 20: 7f 08 jg 0x2a 22: 84 c0 test %al,%al 24: 0f 85 34 01 00 00 jne 0x15e * 2a: 44 0f b6 72 ff movzbl -0x1(%rdx),%r14d <-- trapping instruction 2f: 45 84 f6 test %r14b,%r14b 32: 75 9e jne 0xffffffd2 34: 4c 89 f9 mov %r15,%rcx 37: 4c 89 ea mov %r13,%rdx 3a: 48 89 ef mov %rbp,%rdi 3d: e8 .byte 0xe8 3e: 64 fs 3f: 9b fwait