syzbot


WARNING in unlock_mount

Status: auto-obsoleted due to no activity on 2023/12/03 05:00
Reported-by: syzbot+b12591e6da843405b9eb@syzkaller.appspotmail.com
First crash: 467d, last: 466d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in unlock_mount 3 466d 484d 0/3 auto-obsoleted due to no activity on 2023/12/02 19:20
linux-5.15 WARNING in unlock_mount (2) 2 65d 80d 0/3 upstream: reported on 2024/09/13 21:17
upstream WARNING in unlock_mount fs 7 98d 239d 0/28 auto-obsoleted due to no activity on 2024/11/25 05:01
linux-6.1 WARNING in unlock_mount (2) 6 116d 244d 0/3 auto-obsoleted due to no activity on 2024/11/16 19:35
linux-6.1 WARNING in unlock_mount (3) 1 9d06h 9d06h 0/3 upstream: reported on 2024/11/24 09:42

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff0000d3a94590, owner = 0x0, curr 0xffff00012a460000, list empty
WARNING: CPU: 0 PID: 5150 at kernel/locking/rwsem.c:1342 __up_write kernel/locking/rwsem.c:1341 [inline]
WARNING: CPU: 0 PID: 5150 at kernel/locking/rwsem.c:1342 up_write+0x384/0x438 kernel/locking/rwsem.c:1594
Modules linked in:
CPU: 0 PID: 5150 Comm: syz-executor.0 Not tainted 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __up_write kernel/locking/rwsem.c:1341 [inline]
pc : up_write+0x384/0x438 kernel/locking/rwsem.c:1594
lr : __up_write kernel/locking/rwsem.c:1341 [inline]
lr : up_write+0x384/0x438 kernel/locking/rwsem.c:1594
sp : ffff8000208d7a30
x29: ffff8000208d7a40 x28: 1ffff0000411af60 x27: 1fffe000180a67ac
x26: dfff800000000000 x25: 1fffe0001a7528bf x24: ffff0000d3a945e8
x23: 0000000000000000 x22: 0000000000000000 x21: ffff00012a460000
x20: ffff0000d3a94590 x19: ffff0000d3a94590 x18: 0000000000000001
x17: ff80800008334ef4 x16: ffff800011967c34 x15: ffff800008334ef4
x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000040000
x11: 00000000000066b4 x10: ffff80001e379000 x9 : 0b4151d957dd3900
x8 : 0b4151d957dd3900 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff8000208d7198 x4 : ffff8000149dfd20 x3 : ffff80000854c990
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 00000000000000bd
Call trace:
 __up_write kernel/locking/rwsem.c:1341 [inline]
 up_write+0x384/0x438 kernel/locking/rwsem.c:1594
 inode_unlock include/linux/fs.h:792 [inline]
 unlock_mount+0x1d8/0x244 fs/namespace.c:2281
 do_new_mount_fc fs/namespace.c:2943 [inline]
 do_new_mount+0x6e4/0x8c4 fs/namespace.c:2996
 path_mount+0x590/0x104c fs/namespace.c:3324
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount fs/namespace.c:3522 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3522
 __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:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 130
hardirqs last  enabled at (129): [<ffff80000832ab34>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (130): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (8): [<ffff8000080300b4>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31
softirqs last disabled at (6): [<ffff800008030080>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18
---[ end trace ff6e480ce1fa1878 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/25 05:00 linux-5.15.y f6f7927ac664 49be837e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in unlock_mount
2023/08/24 04:50 linux-5.15.y f6f7927ac664 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in unlock_mount
* Struck through repros no longer work on HEAD.