syzbot


WARNING in do_mkdirat

Status: upstream: reported C repro on 2022/12/03 14:52
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+919c5a9be8433b8bf201@syzkaller.appspotmail.com
First crash: 600d, last: 1d05h
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly fs report (Feb 2024) 0 (1) 2024/02/12 21:31
Re: [syzbot] WARNING in do_mkdirat 20 (20) 2023/01/03 13:36
[syzbot] WARNING in do_mkdirat 2 (5) 2022/12/10 18:06
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in do_mkdirat 7 243d 468d 0/3 auto-obsoleted due to no activity on 2024/02/28 16:21
linux-6.1 WARNING in do_mkdirat (2) 44 3d10h 116d 0/3 upstream: reported on 2024/03/27 02:15
linux-5.15 WARNING in do_mkdirat 11 6d15h 382d 0/3 upstream: reported on 2023/07/05 09:42
Last patch testing requests (13)
Created Duration User Patch Repo Result
2024/04/03 09:11 20m retest repro upstream OK log
2024/03/06 16:30 24m retest repro upstream report log
2024/03/06 15:49 27m retest repro upstream OK log
2024/01/06 21:49 20m retest repro upstream OK log
2023/12/14 21:30 2h41m retest repro linux-next OK log
2023/11/24 15:04 21m retest repro upstream report log
2023/11/24 15:04 31m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2023/11/24 13:53 17m retest repro upstream OK log
2023/09/04 15:44 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/09/04 15:44 13m retest repro upstream report log
2022/12/15 23:51 23m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log
2022/12/11 00:29 20m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3ecc37918c80 report log
2022/12/10 01:14 24m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0d1409e4ff08 report log

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff888077a5f318, owner = 0x0, curr 0xffff888015e8d940, list empty
WARNING: CPU: 1 PID: 5438 at kernel/locking/rwsem.c:1369 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 1 PID: 5438 at kernel/locking/rwsem.c:1369 up_write+0x460/0x510 kernel/locking/rwsem.c:1632
Modules linked in:
CPU: 1 PID: 5438 Comm: syz-executor192 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__up_write kernel/locking/rwsem.c:1369 [inline]
RIP: 0010:up_write+0x460/0x510 kernel/locking/rwsem.c:1632
Code: ea 03 80 3c 02 00 75 53 48 8b 13 4d 89 f1 41 55 4d 89 f8 4c 89 e1 48 c7 c6 00 96 cc 8a 48 c7 c7 20 95 cc 8a e8 51 e3 e6 ff 90 <0f> 0b 90 90 5a e9 a0 fc ff ff 48 89 ef e8 be f5 77 00 e9 0d fd ff
RSP: 0018:ffffc90003edfe08 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff888077a5f318 RCX: ffffffff814cf119
RDX: ffff888015e8d940 RSI: ffffffff814cf126 RDI: 0000000000000001
RBP: ffff888077a5f320 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff888077a5f318
R13: ffffffff8acc9460 R14: ffff888015e8d940 R15: 0000000000000000
FS:  00007f28c7db36c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffd0a33db8 CR3: 0000000023652000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:807 [inline]
 done_path_create fs/namei.c:3942 [inline]
 do_mkdirat+0x1ca/0x3a0 fs/namei.c:4148
 __do_sys_mkdir fs/namei.c:4165 [inline]
 __se_sys_mkdir fs/namei.c:4163 [inline]
 __x64_sys_mkdir+0xf2/0x140 fs/namei.c:4163
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f28c7e180d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f28c7db3218 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f28c7eb2718 RCX: 00007f28c7e180d9
RDX: 00007f28c7e180d9 RSI: 0000000000000000 RDI: 00000000200001c0
RBP: 00007f28c7eb2710 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f28c7e7ea68
R13: 00007f28c7e6c07b R14: 0031656c69662f2e R15: 006b6c6265737566
 </TASK>

Crashes (163):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/15 03:12 upstream 052d534373b7 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-upstream-kasan-gce-selinux-root WARNING in do_mkdirat
2023/01/11 13:04 upstream 7dd4b804e080 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2022/12/10 18:05 upstream 3ecc37918c80 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in do_mkdirat
2024/03/20 09:02 upstream 78c3925c048c a485f239 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in do_mkdirat
2022/12/10 22:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 67be1ae7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in do_mkdirat
2022/12/09 19:50 upstream 0d1409e4ff08 67be1ae7 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in do_mkdirat
2023/01/28 17:58 linux-next e2f86c02fdc9 9dfcf09c .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/07/20 09:02 upstream 3c3ff7be9729 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/07/16 00:57 upstream 5e0497553643 e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/07/09 20:57 upstream 34afb82a3c67 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/07/09 06:50 upstream 4376e966ecb7 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2024/07/05 14:10 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2024/07/05 04:39 upstream 661e504db04c 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/07/04 12:30 upstream 795c58e4c7fc 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/07/04 09:03 upstream 795c58e4c7fc 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/20 13:01 upstream 2ccbdf43d5e7 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/17 01:16 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2024/06/16 14:02 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/16 05:19 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in do_mkdirat
2024/06/16 04:03 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/15 04:02 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/15 00:16 upstream 2ccbdf43d5e7 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2024/06/14 17:51 upstream 2ccbdf43d5e7 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2024/06/14 14:43 upstream 2ccbdf43d5e7 a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2024/06/14 11:46 upstream 2ccbdf43d5e7 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/11 23:10 upstream 83a7eefedc9b 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/10 03:41 upstream 83a7eefedc9b 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/06/09 01:23 upstream 061d1af7b030 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/05/06 20:08 upstream dd5a440a31fa d884b519 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/04/29 18:52 upstream b947cc5bf6d7 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/04/29 04:18 upstream e67572cd2204 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2024/04/22 06:01 upstream 48cf398f15fc af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in do_mkdirat
2024/02/04 18:53 upstream 3a0e92207940 a67b2c42 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in do_mkdirat
2024/05/16 21:00 upstream 3c999d1ae3c7 ad5321c6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in do_mkdirat
2022/11/29 14:42 upstream ca57f02295f1 ca9683b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/07/18 10:40 linux-next 73399b58e5e5 7403ec00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/07/05 21:02 linux-next 0b58e108042b 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/07/04 15:00 linux-next 0b58e108042b dc6bbff0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/07/04 04:22 linux-next 0b58e108042b 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/06/25 09:29 linux-next 62c97045b8f7 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/06/07 11:49 linux-next d35b2284e966 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/06/03 06:52 linux-next 861a3cb5a2a8 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/05/31 13:38 linux-next 0e1980c40b6e 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/05/29 19:43 linux-next 9d99040b1bc8 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/05/20 06:43 linux-next 632483ea8004 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/05/11 01:34 linux-next 75fa778d74b7 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/04/19 03:22 linux-next 7b4f2bc91c15 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/04/18 21:49 linux-next 7b4f2bc91c15 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/07/14 07:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/07/13 18:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/07/06 04:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8a03d70c27fc 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/07/04 02:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fdd6064ff31c 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/06/30 01:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5e456a31d1ac 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/06/05 15:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 e1e2c66e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/06/02 02:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/06/01 12:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/05/27 01:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/05/21 20:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/05/04 22:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 78186bd77b47 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/04/26 18:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6a71d2909427 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
* Struck through repros no longer work on HEAD.