syzbot


WARNING in do_mkdirat

Status: upstream: reported on 2025/09/22 18:38
Reported-by: syzbot+26807111b069b27fa151@syzkaller.appspotmail.com
First crash: 28d, last: 28d
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in do_mkdirat (3) -1 16 180d 248d 0/3 auto-obsoleted due to no activity on 2025/07/02 00:38
linux-6.1 WARNING in do_mkdirat -1 7 700d 924d 0/3 auto-obsoleted due to no activity on 2024/02/28 16:21
linux-6.1 WARNING in do_mkdirat (2) -1 60 320d 572d 0/3 auto-obsoleted due to no activity on 2025/02/12 20:24
linux-6.1 WARNING in do_mkdirat (4) -1 1 57d 57d 0/3 upstream: reported on 2025/08/24 17:03
upstream WARNING in do_mkdirat fs -1 C error error 579 18h51m 1052d 0/29 upstream: reported C repro on 2022/12/03 14:52
linux-5.15 WARNING in do_mkdirat origin:lts-only -1 C inconclusive 21 2h25m 838d 0/3 upstream: reported C repro on 2023/07/05 09:42

Sample crash report:
WARNING: CPU: 1 PID: 7586 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 1 PID: 7586 at kernel/locking/rwsem.c:1370 up_write+0x393/0x410 kernel/locking/rwsem.c:1626
Modules linked in:

CPU: 1 PID: 7586 Comm: syz.6.358 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__up_write kernel/locking/rwsem.c:1369 [inline]
RIP: 0010:up_write+0x393/0x410 kernel/locking/rwsem.c:1626
Code: 44 d0 48 c7 c7 40 b0 aa 8a 48 c7 c6 80 b2 aa 8a 48 8b 14 24 4c 89 f1 4d 89 e0 4c 8b 4c 24 08 41 52 e8 e1 97 e9 ff 48 83 c4 08 <0f> 0b e9 7d fd ff ff 48 c7 c1 60 c6 4a 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc90003dc7df0 EFLAGS: 00010296

RAX: 898e146548266300 RBX: ffff88805b9e00f0 RCX: 0000000000080000
RDX: ffffc9000d49a000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: dffffc0000000000 R08: ffffffff90da768f R09: 1ffffffff21b4ed1
R10: dffffc0000000000 R11: fffffbfff21b4ed2 R12: 0000000000000000
R13: ffff88805b9e0148 R14: ffff88805b9e00f0 R15: 1ffff1100b73c01f
FS:  00007ff24b6686c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3b33eb2286 CR3: 0000000065f46000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:809 [inline]
 done_path_create fs/namei.c:3933 [inline]
 do_mkdirat+0x216/0x440 fs/namei.c:4139
 __do_sys_mkdirat fs/namei.c:4151 [inline]
 __se_sys_mkdirat fs/namei.c:4149 [inline]
 __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ff24a78eec9
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:00007ff24b668038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007ff24a9e6090 RCX: 00007ff24a78eec9
RDX: 00000000000001c0 RSI: 00002000000001c0 RDI: ffffffffffffff9c
RBP: 00007ff24a811f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff24a9e6128 R14: 00007ff24a9e6090 R15: 00007ffd424f37b8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/22 18:38 linux-6.6.y af1544b5d072 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in do_mkdirat
* Struck through repros no longer work on HEAD.