syzbot


WARNING in unlock_mount

Status: moderation: reported on 2024/04/08 10:56
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+c8facc9509b2512dbef5@syzkaller.appspotmail.com
First crash: 26d, last: 26d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in unlock_mount 3 249d 267d 0/3 auto-obsoleted due to no activity on 2023/12/02 19:20
linux-5.15 WARNING in unlock_mount 2 249d 250d 0/3 auto-obsoleted due to no activity on 2023/12/03 05:00
linux-6.1 WARNING in unlock_mount (2) 2 12d 27d 0/3 upstream: reported on 2024/04/03 03:20

Sample crash report:
WARNING: CPU: 1 PID: 11091 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 1 PID: 11091 at kernel/locking/rwsem.c:1370 up_write+0x524/0x760 kernel/locking/rwsem.c:1632
Modules linked in:
CPU: 1 PID: 11091 Comm: syz-executor.4 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __up_write kernel/locking/rwsem.c:1369 [inline]
pc : up_write+0x524/0x760 kernel/locking/rwsem.c:1632
lr : __up_write kernel/locking/rwsem.c:1369 [inline]
lr : up_write+0x524/0x760 kernel/locking/rwsem.c:1632
sp : ffff800097fc7a00
x29: ffff800097fc7a90 x28: 0000000000001000 x27: 1fffe0001dc72e47
x26: dfff800000000000 x25: 1fffe0001dc72e3b x24: ffff0000ee397228
x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000c869da00
x20: ffff0000ee3971d0 x19: ffff0000ee3971d0 x18: 1fffe00036804396
x17: ffff80008ec9d000 x16: ffff80008032116c x15: 0000000000000001
x14: 1fffe00036806be8 x13: 0000000000000000 x12: 0000000000000003
x11: 0000000000000001 x10: 0000000000000003 x9 : 6f669f01ebc55500
x8 : 6f669f01ebc55500 x7 : ffff800080297c0c x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0000c869da00 x1 : ffff80008aedea60 x0 : ffff800125436000
Call trace:
 __up_write kernel/locking/rwsem.c:1369 [inline]
 up_write+0x524/0x760 kernel/locking/rwsem.c:1632
 inode_unlock include/linux/fs.h:809 [inline]
 unlock_mount+0x1d8/0x244 fs/namespace.c:2514
 do_loopback+0x36c/0x3dc fs/namespace.c:2648
 path_mount+0x4b0/0xe04 fs/namespace.c:3673
 do_mount fs/namespace.c:3692 [inline]
 __do_sys_mount fs/namespace.c:3898 [inline]
 __se_sys_mount fs/namespace.c:3875 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3875
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
irq event stamp: 470
hardirqs last  enabled at (469): [<ffff800080297cac>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1397 [inline]
hardirqs last  enabled at (469): [<ffff800080297cac>] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5154
hardirqs last disabled at (470): [<ffff80008ad66988>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470
softirqs last  enabled at (318): [<ffff80008003165c>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (316): [<ffff800080031628>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/04 10:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in unlock_mount
* Struck through repros no longer work on HEAD.