syzbot


WARNING in unlock_mount (3)

Status: moderation: reported on 2025/09/20 12:30
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+fa9d81d5751939bdaeed@syzkaller.appspotmail.com
First crash: 101d, last: 2d15h
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in unlock_mount -1 3 855d 872d 0/3 auto-obsoleted due to no activity on 2023/12/02 19:20
upstream WARNING in unlock_mount (2) fs -1 1 166d 165d 0/29 auto-obsoleted due to no activity on 2025/09/11 12:01
linux-5.15 WARNING in unlock_mount (2) -1 2 454d 469d 0/3 auto-obsoleted due to no activity on 2025/01/06 17:35
upstream WARNING in unlock_mount fs -1 7 486d 627d 0/29 auto-obsoleted due to no activity on 2024/11/25 05:01
linux-5.15 WARNING in unlock_mount -1 2 854d 855d 0/3 auto-obsoleted due to no activity on 2023/12/03 05:00
linux-6.1 WARNING in unlock_mount (2) -1 6 505d 632d 0/3 auto-obsoleted due to no activity on 2024/11/16 19:35
linux-5.15 WARNING in unlock_mount (3) -1 1 269d 269d 0/3 auto-obsoleted due to no activity on 2025/07/11 02:56
linux-6.1 WARNING in unlock_mount (3) -1 2 370d 397d 0/3 auto-obsoleted due to no activity on 2025/03/31 14:44

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current)
WARNING: kernel/locking/rtmutex_common.h:182 at debug_rt_mutex_unlock kernel/locking/rtmutex_common.h:182 [inline], CPU#1: syz.2.204/7226
WARNING: kernel/locking/rtmutex_common.h:182 at rt_mutex_slowunlock+0x6c0/0x8a0 kernel/locking/rtmutex.c:1419, CPU#1: syz.2.204/7226
Modules linked in:
CPU: 1 UID: 0 PID: 7226 Comm: syz.2.204 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:debug_rt_mutex_unlock kernel/locking/rtmutex_common.h:182 [inline]
RIP: 0010:rt_mutex_slowunlock+0x6c7/0x8a0 kernel/locking/rtmutex.c:1419
Code: db 8e 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 c0 01 00 00 83 3d 4d 01 08 04 00 75 13 48 8d 3d 30 01 0b 04 48 c7 c6 e0 1e eb 8a <67> 48 0f b9 3a 90 e9 35 fa ff ff 90 0f 0b 90 e9 59 fe ff ff be 02
RSP: 0018:ffffc90004757b80 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff88804a655fe0 RCX: 0000000000080000
RDX: ffffc9000f3e5000 RSI: ffffffff8aeb1ee0 RDI: ffffffff8ede4460
RBP: ffffc90004757c68 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1db688f R12: dffffc0000000000
R13: ffff88804a655f90 R14: 0000000000000246 R15: 1ffff920008eaf78
FS:  00007f6dc413d6c0(0000) GS:ffff888126def000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6dc413cf98 CR3: 0000000029004000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:1037 [inline]
 __unlock_mount fs/namespace.c:2786 [inline]
 unlock_mount+0xbd/0x3a0 fs/namespace.c:2796
 do_new_mount_fc fs/namespace.c:3659 [inline]
 do_new_mount+0x72e/0xa10 fs/namespace.c:3712
 do_mount fs/namespace.c:4035 [inline]
 __do_sys_mount fs/namespace.c:4224 [inline]
 __se_sys_mount+0x313/0x410 fs/namespace.c:4201
 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:0x7f6dc5eff749
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:00007f6dc413d038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f6dc6156090 RCX: 00007f6dc5eff749
RDX: 0000200000000180 RSI: 0000200000000000 RDI: 0000000000000000
RBP: 00007f6dc5f83f91 R08: 0000200000000040 R09: 0000000000000000
R10: 0000000000000400 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6dc6156128 R14: 00007f6dc6156090 R15: 00007fff2626fb08
 </TASK>
----------------
Code disassembly (best guess):
   0:	db 8e 48 c1 e8 03    	fisttpl 0x3e8c148(%rsi)
   6:	42 0f b6 04 20       	movzbl (%rax,%r12,1),%eax
   b:	84 c0                	test   %al,%al
   d:	0f 85 c0 01 00 00    	jne    0x1d3
  13:	83 3d 4d 01 08 04 00 	cmpl   $0x0,0x408014d(%rip)        # 0x4080167
  1a:	75 13                	jne    0x2f
  1c:	48 8d 3d 30 01 0b 04 	lea    0x40b0130(%rip),%rdi        # 0x40b0153
  23:	48 c7 c6 e0 1e eb 8a 	mov    $0xffffffff8aeb1ee0,%rsi
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	90                   	nop
  30:	e9 35 fa ff ff       	jmp    0xfffffa6a
  35:	90                   	nop
  36:	0f 0b                	ud2
  38:	90                   	nop
  39:	e9 59 fe ff ff       	jmp    0xfffffe97
  3e:	be                   	.byte 0xbe
  3f:	02                   	.byte 0x2

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/23 23:37 upstream b927546677c8 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in unlock_mount
2025/12/21 19:52 upstream 9094662f6707 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in unlock_mount
2025/12/12 06:45 upstream d358e5254674 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in unlock_mount
2025/10/28 16:39 upstream fd57572253bc fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in unlock_mount
2025/10/26 12:48 upstream 72761a7e3122 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in unlock_mount
2025/12/24 12:09 upstream b927546677c8 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in unlock_mount
2025/12/08 03:14 upstream 37bb2e7217b0 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in unlock_mount
2025/12/04 10:52 upstream cc25df3e2e22 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in unlock_mount
2025/11/20 12:00 upstream 23cb64fb7625 2cc4c24a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in unlock_mount
2025/11/16 18:28 upstream 7254a2b52279 f7988ea4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in unlock_mount
2025/09/16 12:23 upstream 46a51f4f5eda e2beed91 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in unlock_mount
2025/10/18 22:28 linux-next 93f3bab4310d 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in unlock_mount
2025/10/15 11:05 linux-next 13863a59e410 b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in unlock_mount
2025/09/27 11:52 linux-next 262858079afd 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in unlock_mount
* Struck through repros no longer work on HEAD.