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: 680d, last: 12d
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 324d 548d 0/3 auto-obsoleted due to no activity on 2024/02/28 16:21
linux-6.1 WARNING in do_mkdirat (2) 55 now 196d 0/3 upstream: reported on 2024/03/27 02:15
linux-5.15 WARNING in do_mkdirat 16 36d 462d 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 (228):
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/09/26 17:53 upstream 11a299a7933e 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/09/16 06:12 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2024/09/13 17:44 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/09/11 22:08 upstream 7c6a3a65ace7 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2024/09/11 03:32 upstream 8d8d276ba2fb 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/09/08 15:48 upstream d1f2d51b711a 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/09/03 22:01 upstream 88fac17500f4 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/09/03 20:07 upstream 67784a74e258 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/09/02 15:28 upstream 67784a74e258 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/09/02 06:17 upstream c9f016e72b5c 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/30 15:50 upstream 20371ba12063 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2024/08/28 10:44 upstream 86987d84b968 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/24 00:55 upstream 3d5f968a177d d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/23 07:24 upstream aa0743a22936 ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/21 03:20 upstream 521b1e7f4cf0 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/18 06:04 upstream 810996a36309 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/18 05:23 upstream 810996a36309 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/17 11:38 upstream 85652baa895b dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/17 05:55 upstream 85652baa895b dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/16 07:21 upstream a4a35f6cbebb e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/16 05:18 upstream a4a35f6cbebb e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/16 00:00 upstream a4a35f6cbebb e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/14 18:43 upstream 9d5906799f7d e6b88e20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/12 14:00 upstream 7c626ce4bae1 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/12 12:40 upstream 7c626ce4bae1 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/12 08:26 upstream 7006fe2f7f78 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/11 10:38 upstream 5189dafa4cf9 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/11 04:38 upstream 34ac1e82e5a7 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/10 09:19 upstream afdab700f65e 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/09 12:09 upstream ee9a43b7cfe2 a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/06 13:34 upstream b446a2dae984 e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/04 18:44 upstream a5dbd76a8942 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/04 15:24 upstream defaf1a2113a 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/04 09:31 upstream defaf1a2113a 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/08/03 17:23 upstream 17712b7ea075 1786a2a8 .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/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/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/31 23:31 linux-next 931a3b3bccc9 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2024/09/09 11:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/09/09 07:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/09/06 13:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/30 13:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/27 02:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci be6d853c7631 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/26 02:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci be6d853c7631 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/25 12:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci be6d853c7631 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/24 15:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci be6d853c7631 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/21 11:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 048499f92ed7 db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/20 05:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5c43d43bad35 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/17 21:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5c43d43bad35 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/13 14:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/07 19:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 7b2f2f35 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/06 11:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/02 20:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 53683cf2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2024/08/01 10:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 1e9c4cf3 .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.