syzbot


WARNING in do_mknodat (2)

Status: upstream: reported on 2024/04/15 19:44
Reported-by: syzbot+8f6fa902c365d5b882b8@syzkaller.appspotmail.com
First crash: 67d, last: 15h41m
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in do_mknodat fs 1 547d 491d 0/27 closed as invalid on 2023/02/16 16:02
upstream WARNING in do_mknodat (3) fs 76 11h05m 112d 0/27 moderation: reported on 2024/03/01 11:23
linux-6.1 WARNING in do_mknodat 1 232d 232d 0/3 auto-obsoleted due to no activity on 2024/02/10 13:02
upstream WARNING in do_mknodat (2) fs 11 217d 485d 0/27 auto-obsoleted due to no activity on 2024/02/16 05:28
linux-5.15 WARNING in do_mknodat (2) 4 21d 198d 0/3 upstream: reported on 2023/12/06 15:13
linux-5.15 WARNING in do_mknodat 1 310d 310d 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 = 0xffff888028403d58, owner = 0x0, curr 0xffff888063b95940, list empty
WARNING: CPU: 1 PID: 13199 at kernel/locking/rwsem.c:1372 __up_write kernel/locking/rwsem.c:1371 [inline]
WARNING: CPU: 1 PID: 13199 at kernel/locking/rwsem.c:1372 up_write+0x4f5/0x580 kernel/locking/rwsem.c:1626
Modules linked in:
CPU: 1 PID: 13199 Comm: syz-executor.4 Not tainted 6.1.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__up_write kernel/locking/rwsem.c:1371 [inline]
RIP: 0010:up_write+0x4f5/0x580 kernel/locking/rwsem.c:1626
Code: 48 c7 c7 e0 f5 eb 8a 48 c7 c6 20 f8 eb 8a 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 1f d7 e8 ff 48 83 c4 08 <0f> 0b e9 71 fd ff ff 48 c7 c1 e8 be 73 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc90004fa7d20 EFLAGS: 00010292
RAX: 1d35d1d3b2c49b00 RBX: ffffffff8aebf6c0 RCX: 0000000000040000
RDX: ffffc9000a6c9000 RSI: 000000000002ab6e RDI: 000000000002ab6f
RBP: ffffc90004fa7df0 R08: ffffffff8152931e R09: fffff520009f4f05
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff888028403d58 R14: 1ffff920009f4fac R15: dffffc0000000000
FS:  00007f6e063aa6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca3eda9938 CR3: 0000000072d12000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:763 [inline]
 done_path_create fs/namei.c:3929 [inline]
 do_mknodat+0x44f/0x5a0 fs/namei.c:4052
 __do_sys_mknod fs/namei.c:4070 [inline]
 __se_sys_mknod fs/namei.c:4068 [inline]
 __x64_sys_mknod+0x8a/0xa0 fs/namei.c:4068
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6e0567d0a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007f6e063aa0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007f6e057b4050 RCX: 00007f6e0567d0a9
RDX: 0000000000000709 RSI: 0000000000002000 RDI: 0000000020000040
RBP: 00007f6e056ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f6e057b4050 R15: 00007fff6cab09a8
 </TASK>

Crashes (39):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/21 19:08 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/20 10:50 linux-6.1.y eb44d83053d6 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/18 08:53 linux-6.1.y eb44d83053d6 ce6011bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/18 04:24 linux-6.1.y eb44d83053d6 ce6011bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/17 07:47 linux-6.1.y eb44d83053d6 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/16 03:45 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/15 04:19 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/14 19:16 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/14 18:36 linux-6.1.y ae9f2a70d69e 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/13 10:19 linux-6.1.y ae9f2a70d69e 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/13 10:07 linux-6.1.y ae9f2a70d69e 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/10 08:40 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/10 08:40 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/10 07:47 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/07 02:29 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/06 06:40 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/05 23:22 linux-6.1.y 88690811da69 5aa1a7c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/04 10:02 linux-6.1.y 88690811da69 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/04 06:39 linux-6.1.y 88690811da69 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/04 05:50 linux-6.1.y 88690811da69 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/06/04 05:50 linux-6.1.y 88690811da69 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/24 05:14 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/23 14:16 linux-6.1.y 4078fa637fcd 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/23 01:22 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/19 13:42 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/19 13:42 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/08 21:37 linux-6.1.y 909ba1f1b414 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/08 07:22 linux-6.1.y 909ba1f1b414 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/07 21:25 linux-6.1.y 909ba1f1b414 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/07 20:30 linux-6.1.y 909ba1f1b414 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/05/04 15:09 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/30 17:14 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/30 17:14 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/22 18:02 linux-6.1.y 6741e066ec76 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/22 15:37 linux-6.1.y 6741e066ec76 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/21 00:42 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/16 23:58 linux-6.1.y cd5d98c0556c 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/15 19:56 linux-6.1.y cd5d98c0556c b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
2024/04/15 19:43 linux-6.1.y cd5d98c0556c b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_mknodat
* Struck through repros no longer work on HEAD.