syzbot


WARNING in do_mknodat (3)

Status: moderation: reported on 2024/03/01 11:23
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+82c0a707f7b49f32d011@syzkaller.appspotmail.com
First crash: 283d, last: 12h43m
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in do_mknodat fs 1 713d 658d 0/28 closed as invalid on 2023/02/16 16:02
linux-6.1 WARNING in do_mknodat 1 399d 399d 0/3 auto-obsoleted due to no activity on 2024/02/10 13:02
upstream WARNING in do_mknodat (2) fs 11 383d 651d 0/28 auto-obsoleted due to no activity on 2024/02/16 05:28
linux-6.1 WARNING in do_mknodat (2) 39 166d 233d 0/3 auto-obsoleted due to no activity on 2024/08/30 19:08
linux-5.15 WARNING in do_mknodat (3) 5 13d 48d 0/3 upstream: reported on 2024/10/17 18:39
linux-6.1 WARNING in do_mknodat (3) 5 3h02m 60d 0/3 upstream: reported on 2024/10/06 10:51
linux-5.15 WARNING in do_mknodat (2) 4 187d 364d 0/3 auto-obsoleted due to no activity on 2024/09/08 20:03
linux-5.15 WARNING in do_mknodat 1 476d 476d 0/3 auto-obsoleted due to no activity on 2023/11/25 05:54

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff88807c3af288, owner = 0x0, curr 0xffff8880263fbc00, list empty
WARNING: CPU: 0 PID: 7241 at kernel/locking/rwsem.c:1368 __up_write kernel/locking/rwsem.c:1367 [inline]
WARNING: CPU: 0 PID: 7241 at kernel/locking/rwsem.c:1368 up_write+0x502/0x590 kernel/locking/rwsem.c:1630
Modules linked in:
CPU: 0 UID: 0 PID: 7241 Comm: syz.0.203 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__up_write kernel/locking/rwsem.c:1367 [inline]
RIP: 0010:up_write+0x502/0x590 kernel/locking/rwsem.c:1630
Code: c7 c7 e0 cb 0a 8c 48 c7 c6 60 ce 0a 8c 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 83 29 e6 ff 48 83 c4 08 90 <0f> 0b 90 90 e9 6a fd ff ff 48 c7 c1 74 82 1d 90 80 e1 07 80 c1 03
RSP: 0018:ffffc900035d7d20 EFLAGS: 00010292
RAX: 867cc9abad561800 RBX: ffffffff8c0accc0 RCX: 0000000000080000
RDX: ffffc9000e6f1000 RSI: 000000000000c1d2 RDI: 000000000000c1d3
RBP: ffffc900035d7df0 R08: ffffffff815688b2 R09: fffffbfff1cfa8a0
R10: dffffc0000000000 R11: fffffbfff1cfa8a0 R12: 0000000000000000
R13: ffff88807c3af288 R14: 1ffff920006bafac R15: dffffc0000000000
FS:  00007f2ad33f66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b318fcff8 CR3: 00000000280a6000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:823 [inline]
 done_path_create fs/namei.c:4131 [inline]
 do_mknodat+0x4c5/0x5b0 fs/namei.c:4254
 __do_sys_mknodat fs/namei.c:4267 [inline]
 __se_sys_mknodat fs/namei.c:4264 [inline]
 __x64_sys_mknodat+0xa7/0xc0 fs/namei.c:4264
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2ad557e819
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:00007f2ad33f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000103
RAX: ffffffffffffffda RBX: 00007f2ad5736080 RCX: 00007f2ad557e819
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c
RBP: 00007f2ad55f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f2ad5736080 R15: 00007fffe40bdb38
 </TASK>

Crashes (123):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/25 05:40 upstream 9f16d5e6f220 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mknodat
2024/11/09 04:36 upstream f1dce1f09380 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/08/21 13:14 upstream b311c1b497e5 db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/08/17 01:38 upstream 85652baa895b dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/07/27 05:53 upstream 2f8c4f506285 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/07/24 17:54 upstream 786c8248dbd3 d1a1b0ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/07/24 06:24 upstream 786c8248dbd3 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/07/23 08:50 upstream 66ebbdfdeb09 708c10c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/07/21 17:25 upstream 2c9b3512402e b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/07/19 22:54 upstream 4305ca0087dd 890ce4f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/07/15 17:52 upstream 0c3836482481 efee4ed2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_mknodat
2024/07/07 19:09 upstream c6653f49e4fd 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/06/27 15:02 upstream afcd48134c58 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/06/24 19:29 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/06/21 20:23 upstream 66cc544fd75c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/06/19 21:01 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mknodat
2024/06/19 19:37 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/06/19 14:10 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_mknodat
2024/06/17 16:10 upstream 2ccbdf43d5e7 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/05/19 10:54 upstream 0450d2083be6 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in do_mknodat
2024/04/25 23:53 upstream e33c4963bf53 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in do_mknodat
2024/02/26 11:18 upstream d206a76d7d27 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_mknodat
2024/11/23 07:43 upstream 06afb0f36106 68da6d95 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in do_mknodat
2024/10/23 13:07 upstream c2ee9f594da8 15fa2979 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in do_mknodat
2024/10/23 05:10 upstream c2ee9f594da8 15fa2979 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in do_mknodat
2024/09/13 15:08 upstream 196145c606d0 73e8a465 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in do_mknodat
2024/09/07 09:10 upstream b31c44928842 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in do_mknodat
2024/06/02 16:35 upstream 83814698cf48 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in do_mknodat
2024/06/06 06:57 upstream 2df0193e62cf c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in do_mknodat
2024/12/05 01:55 linux-next bcf2acd8f64b 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/11/27 05:08 linux-next 6f3d2b5299b0 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/11/26 06:29 linux-next ed9a4ad6e5bd a84878fc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/10/02 15:25 linux-next fe2173353674 a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/10/01 06:58 linux-next 77df9e4bb222 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/09/27 16:00 linux-next 40e0c9d414f5 2b1784d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/08/27 19:21 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/08/16 04:46 linux-next 367b5c3d53e5 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/07/20 02:14 linux-next 41c196e567fb b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/06/21 23:44 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_mknodat
2024/09/09 06:48 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_mknodat
2024/09/09 05:29 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_mknodat
2024/09/07 22:24 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_mknodat
2024/08/23 00:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 048499f92ed7 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/08/17 08:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5c43d43bad35 76120936 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/08/13 17:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/08/11 11:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/08/08 17:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/08/05 20:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/08/03 13:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/07/31 03:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/07/25 15:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 32fcf98f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/07/18 13:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 7403ec00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
2024/07/12 01:30 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_mknodat
2024/07/11 04:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ef445d1539dd c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_mknodat
* Struck through repros no longer work on HEAD.