WARNING: CPU: 1 PID: 6844 at kernel/locking/rwsem.c:1350 __up_write kernel/locking/rwsem.c:1349 [inline] WARNING: CPU: 1 PID: 6844 at kernel/locking/rwsem.c:1350 up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 Modules linked in: CPU: 1 PID: 6844 Comm: syz.2.843 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_write kernel/locking/rwsem.c:1349 [inline] pc : up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 lr : __up_write kernel/locking/rwsem.c:1349 [inline] lr : up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 sp : ffff800020cc73c0 x29: ffff800020cc73d0 x28: ffff0000f84f8938 x27: dfff800000000000 x26: dfff800000000000 x25: 1fffe0001f08424b x24: ffff0000f8421248 x23: 0000000000000100 x22: ffff0000d8e8d1c1 x21: ffff0000caf41b40 x20: ffff0000f84211f0 x19: ffff0000f84211f0 x18: 1fffe0003683618e x17: 1fffe0003683618e x16: ffff8000082ec92c x15: ffff800014b4ef00 x14: 1ffff0000295606a x13: dfff800000000000 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800021aba000 x9 : 76d26f0d5ad22a00 x8 : 76d26f0d5ad22a00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000804605c x2 : 0000000000000007 x1 : 0000000100000000 x0 : 00000000000000ce Call trace: __up_write kernel/locking/rwsem.c:1349 [inline] up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 inode_unlock include/linux/fs.h:794 [inline] ovl_workdir_create+0x598/0x624 fs/overlayfs/super.c:839 ovl_make_workdir fs/overlayfs/super.c:1374 [inline] ovl_get_workdir+0x344/0x1110 fs/overlayfs/super.c:1524 ovl_fill_super+0x15b4/0x2254 fs/overlayfs/super.c:2080 mount_nodev+0x68/0x104 fs/super.c:1444 ovl_mount+0x3c/0x50 fs/overlayfs/super.c:2171 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1528 do_new_mount+0x278/0x8fc fs/namespace.c:3005 path_mount+0x594/0x101c fs/namespace.c:3335 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount fs/namespace.c:3533 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 17906 hardirqs last enabled at (17905): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (17905): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781 hardirqs last disabled at (17906): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (17896): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (17896): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (17883): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (17883): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (17883): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (17883): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 722ffe7d7948bbe1 ]---