syzbot


WARNING in minix_unlink

Status: upstream: reported on 2024/09/15 23:46
Reported-by: syzbot+956eb664a75fe7aaf417@syzkaller.appspotmail.com
First crash: 68d, last: 3d12h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in minix_unlink fs C 6 1d11h 9h47m 0/28 upstream: reported C repro on 2024/11/22 18:44

Sample crash report:
minix_free_block (loop6:20): bit already cleared
minix_free_block (loop6:21): bit already cleared
minix_free_block (loop6:22): bit already cleared
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7414 at fs/inode.c:307 drop_nlink+0xbb/0x100
Modules linked in:
CPU: 1 PID: 7414 Comm: syz-executor Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:drop_nlink+0xbb/0x100 fs/inode.c:307
Code: 49 8b 1e 48 8d bb c8 07 00 00 be 08 00 00 00 e8 bb a3 ed ff f0 48 ff 83 c8 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 c5 c9 a3 ff <0f> 0b eb 89 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 62 ff ff ff 4c
RSP: 0018:ffffc900034c7c50 EFLAGS: 00010293
RAX: ffffffff81dca9db RBX: 1ffff1100c55ea0f RCX: ffff88801de31dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81dca95f R09: ffffed100c55ea17
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888062af5078
R13: ffff888074b40758 R14: ffff888062af5030 R15: dffffc0000000000
FS:  000055557b068500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe3dbde038 CR3: 00000000231c0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_dec_link_count include/linux/fs.h:2505 [inline]
 minix_unlink+0x14a/0x1a0 fs/minix/namei.c:167
 vfs_unlink+0x359/0x5f0 fs/namei.c:4280
 do_unlinkat+0x4a3/0x950 fs/namei.c:4348
 __do_sys_unlink fs/namei.c:4396 [inline]
 __se_sys_unlink fs/namei.c:4394 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4394
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f938c6bad07
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 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:00007fff646fef58 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f938c6bad07
RDX: 00007fff646fef80 RSI: 00007fff646ff010 RDI: 00007fff646ff010
RBP: 00007fff646ff010 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff64700100
R13: 00007f938c72e5fc R14: 000000000003f20f R15: 00007fff647011c0
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/19 15:56 linux-5.15.y 0a51d2d4527b 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in minix_unlink
2024/09/15 23:46 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in minix_unlink
* Struck through repros no longer work on HEAD.