UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) ===================================== WARNING: bad unlock balance detected! syzkaller #0 Not tainted ------------------------------------- syz.8.420/8132 is trying to release lock (rcu_read_lock) at: [] rcu_lock_release include/linux/rcupdate.h:322 [inline] [] rcu_read_unlock include/linux/rcupdate.h:881 [inline] [] __wait_on_freeing_inode+0x174/0x2f0 fs/inode.c:2544 but there are no more locks to release! other info that might help us debug this: 3 locks held by syz.8.420/8132: #0: ffff888076f7c420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:504 #1: ffff8880552a88f0 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: inode_lock include/linux/fs.h:1028 [inline] #1: ffff8880552a88f0 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: open_last_lookups fs/namei.c:4578 [inline] #1: ffff8880552a88f0 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: path_openat+0xb4c/0x3840 fs/namei.c:4825 #2: ffffffff8de16918 (inode_hash_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:344 [inline] #2: ffffffff8de16918 (inode_hash_lock){+.+.}-{3:3}, at: insert_inode_locked+0xf8/0x4f0 fs/inode.c:1834 stack backtrace: CPU: 0 UID: 0 PID: 8132 Comm: syz.8.420 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_unlock_imbalance_bug+0xdc/0xf0 kernel/locking/lockdep.c:5298 __lock_release kernel/locking/lockdep.c:5537 [inline] lock_release+0x249/0x3b0 kernel/locking/lockdep.c:5889 rcu_lock_release include/linux/rcupdate.h:322 [inline] rcu_read_unlock include/linux/rcupdate.h:881 [inline] __wait_on_freeing_inode+0x183/0x2f0 fs/inode.c:2544 insert_inode_locked+0x1f5/0x4f0 fs/inode.c:1853 udf_new_inode+0x9b6/0xd50 fs/udf/ialloc.c:105 udf_create+0x23/0xf0 fs/udf/namei.c:376 lookup_open fs/namei.c:4481 [inline] open_last_lookups fs/namei.c:4581 [inline] path_openat+0x1387/0x3840 fs/namei.c:4825 do_file_open+0x203/0x440 fs/namei.c:4857 do_sys_openat2+0x105/0x1e0 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faff078f749 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:00007faff16fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007faff09e5fa0 RCX: 00007faff078f749 RDX: 000000000000275a RSI: 0000200000000180 RDI: ffffffffffffff9c RBP: 00007faff0813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007faff09e6038 R14: 00007faff09e5fa0 R15: 00007fff61520ab8 ------------[ cut here ]------------ WARNING: kernel/rcu/tree_plugin.h:443 at __rcu_read_unlock+0x7a/0xe0 kernel/rcu/tree_plugin.h:443, CPU#0: syz.8.420/8132 Modules linked in: CPU: 0 UID: 0 PID: 8132 Comm: syz.8.420 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__rcu_read_unlock+0x7a/0xe0 kernel/rcu/tree_plugin.h:443 Code: 75 66 41 83 3e 00 75 27 43 0f b6 04 3c 84 c0 75 41 8b 03 3d 00 00 00 40 73 0f 5b 41 5c 41 5d 41 5e 41 5f e9 08 a0 b9 09 cc 90 <0f> 0b 90 eb eb e8 6c 00 00 00 eb d2 89 d9 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000d5bf6b0 EFLAGS: 00010286 RAX: 00000000ffffffff RBX: ffff88802e7322c4 RCX: 0000000080000001 RDX: ffffc9001399d000 RSI: ffffffff8db8bddd RDI: ffff88802e731e40 RBP: ffffc9000d5bf7c0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1c04060 R12: 1ffff11005ce6458 R13: 1ffff92001ab7edc R14: ffffc9000d5bf718 R15: dffffc0000000000 FS: 00007faff16fd6c0(0000) GS:ffff888125bf9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c45b803 CR3: 000000007a634000 CR4: 00000000003526f0 DR0: 0000000000000004 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:883 [inline] __wait_on_freeing_inode+0x188/0x2f0 fs/inode.c:2544 insert_inode_locked+0x1f5/0x4f0 fs/inode.c:1853 udf_new_inode+0x9b6/0xd50 fs/udf/ialloc.c:105 udf_create+0x23/0xf0 fs/udf/namei.c:376 lookup_open fs/namei.c:4481 [inline] open_last_lookups fs/namei.c:4581 [inline] path_openat+0x1387/0x3840 fs/namei.c:4825 do_file_open+0x203/0x440 fs/namei.c:4857 do_sys_openat2+0x105/0x1e0 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faff078f749 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:00007faff16fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007faff09e5fa0 RCX: 00007faff078f749 RDX: 000000000000275a RSI: 0000200000000180 RDI: ffffffffffffff9c RBP: 00007faff0813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007faff09e6038 R14: 00007faff09e5fa0 R15: 00007fff61520ab8