syzbot


WARNING in pivot_root

Status: upstream: reported syz repro on 2025/09/02 00:18
Reported-by: syzbot+a5d1a92a77885bbf2a1e@syzkaller.appspotmail.com
First crash: 1d05h, last: 1d05h
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in pivot_root ntfs3 -1 syz error 2 709d 705d 0/29 auto-obsoleted due to no activity on 2023/12/17 19:36
upstream WARNING in sys_pivot_root ntfs3 -1 syz unreliable inconclusive 1 612d 679d 0/29 auto-obsoleted due to no activity on 2024/04/08 19:29

Sample crash report:
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff8880707736d0, owner = 0x0, curr 0xffff888075a4d940, list empty
WARNING: CPU: 1 PID: 7079 at kernel/locking/rwsem.c:1372 __up_write kernel/locking/rwsem.c:1371 [inline]
WARNING: CPU: 1 PID: 7079 at kernel/locking/rwsem.c:1372 up_write+0x3a1/0x420 kernel/locking/rwsem.c:1626
Modules linked in:
CPU: 1 PID: 7079 Comm: syz.1.862 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__up_write kernel/locking/rwsem.c:1371 [inline]
RIP: 0010:up_write+0x3a1/0x420 kernel/locking/rwsem.c:1626
Code: 44 d0 48 c7 c7 80 f6 8b 8a 48 c7 c6 c0 f8 8b 8a 48 8b 14 24 4c 89 f1 4d 89 e0 4c 8b 4c 24 08 41 52 e8 a3 93 ea ff 48 83 c4 08 <0f> 0b e9 6b fd ff ff 48 c7 c1 e8 a5 1f 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc9000c817d90 EFLAGS: 00010296
RAX: 3e0b70c5517a8800 RBX: ffff8880707736d0 RCX: ffff888075a4d940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff1c3ee26
R10: fffffbfff1c3ee26 R11: 1ffffffff1c3ee25 R12: 0000000000000000
R13: ffff888070773728 R14: ffff8880707736d0 R15: 1ffff1100e0ee6db
FS:  00007fb6301a26c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f442cdfdf98 CR3: 000000007a385000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __do_sys_pivot_root fs/namespace.c:3983 [inline]
 __se_sys_pivot_root+0x4a9/0xc00 fs/namespace.c:3897
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb62f38ebe9
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:00007fb6301a2038 EFLAGS: 00000246 ORIG_RAX: 000000000000009b
RAX: ffffffffffffffda RBX: 00007fb62f5c6090 RCX: 00007fb62f38ebe9
RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000200000000000
RBP: 00007fb62f411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb62f5c6128 R14: 00007fb62f5c6090 R15: 00007ffd2f29a328
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/02 00:17 linux-6.1.y f89b6e15694c 807a3b61 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in pivot_root
* Struck through repros no longer work on HEAD.