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: 460d, last: 11d
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 (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in do_mkdirat 7 104d 328d 0/3 auto-obsoleted due to no activity on 2024/02/28 16:21
linux-5.15 WARNING in do_mkdirat 6 59d 242d 0/3 upstream: reported on 2023/07/05 09:42
Last patch testing requests (13)
Created Duration User Patch Repo Result
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
2023/09/04 15:44 14m retest repro linux-next report log
2023/09/04 09:24 13m retest repro upstream report log
2023/09/04 09:24 9m 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 (94):
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
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/02/17 02:25 upstream 0f1dd5e91e2b 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/01/22 22:19 upstream 6613476e225e 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2024/01/14 17:19 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in do_mkdirat
2023/12/23 21:49 upstream 3f82f1c3a036 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/12/22 10:37 upstream 24e0d2e527a3 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/12/22 01:33 upstream 9a6b294ab496 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/12/19 07:24 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/12/18 03:52 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/11/30 21:01 upstream 3b47bc037bd4 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/11/28 13:35 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2023/10/26 21:49 upstream 3a568e3a961b 23afc60f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2023/09/15 12:15 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2023/09/10 21:30 upstream 535a265d7f0d 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2023/09/07 07:32 upstream 65d6e954e378 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2023/09/06 16:34 upstream 65d6e954e378 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs 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
2023/08/21 08:45 upstream f7757129e3de d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/08/14 22:17 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/08/06 20:43 upstream f0ab9f34e59e 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/08/01 17:00 upstream 5d0c230f1de8 df07ffe8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in do_mkdirat
2023/07/30 12:39 upstream d31e3792919e 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/07/29 13:45 upstream ffabf7c73176 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/07/12 10:32 upstream 3f01e9fed845 2f19aa4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/07/02 14:11 upstream 995b406c7e97 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in do_mkdirat
2023/06/29 09:44 upstream e8f75c0270d9 ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in do_mkdirat
2023/06/25 21:33 upstream 547cc9be86f4 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/06/08 10:55 upstream 5f63595ebd82 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/06/06 11:56 upstream f8dba31b0a82 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/05/29 05:10 upstream e338142b39cf cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2023/05/26 16:20 upstream 9db898594c54 b40ef614 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/05/07 21:54 upstream fc4354c6e5c2 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2023/04/29 00:01 upstream 22b8cc3e78f5 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mkdirat
2023/04/24 20:50 upstream 1a0beef98b58 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/03/21 23:14 upstream 2faac9a98f01 8b4eb097 .config console log report info ci-qemu-upstream WARNING in do_mkdirat
2023/03/19 03:39 upstream 534293368afa 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/03/16 23:44 upstream 0ddc84d2dd43 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mkdirat
2023/03/13 21:44 upstream fc89d7fb499b 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2023/03/06 00:28 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mkdirat
2023/02/17 04:55 upstream 3ac88fa4605e 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs 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
2023/04/27 08:51 upstream 6e98b09da931 6f5b1cc4 .config console log report info ci-qemu-upstream-386 WARNING in do_mkdirat
2023/03/19 01:19 upstream 534293368afa 7939252e .config console log report info ci-qemu-upstream-386 WARNING in do_mkdirat
2024/02/21 15:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e6ac7c55d3ec 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/12/15 13:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d5b235ec8eab 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/11/10 13:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 45e9b83e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/10/26 01:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 850ffb9bb2bd 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/07/14 17:08 linux-next 7c2878be5732 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2023/04/11 11:55 linux-next 009795d283d1 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mkdirat
2023/06/12 22:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d8b213732169 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/05/16 03:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f1fcbaa18b28 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/05/13 04:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/04/30 12:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mkdirat
2023/04/22 16:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .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.