syzbot


WARNING in minix_unlink

Status: upstream: reported C repro on 2024/12/06 04:33
Reported-by: syzbot+56df5be3577930a6838a@syzkaller.appspotmail.com
First crash: 15d, last: 4h44m
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in minix_unlink origin:upstream C 56 7d07h 97d 0/3 upstream: reported C repro on 2024/09/15 23:46
upstream WARNING in minix_unlink fs C inconclusive 113 2h45m 29d 0/28 upstream: reported C repro on 2024/11/22 18:44

Sample crash report:
minix_free_block (loop0:21): bit already cleared
minix_free_block (loop0:22): bit already cleared
minix_free_block (loop0:19): bit already cleared
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4292 at fs/inode.c:332 drop_nlink+0xe4/0x138 fs/inode.c:332
Modules linked in:
CPU: 0 PID: 4292 Comm: syz-executor182 Tainted: G        W          6.1.121-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : drop_nlink+0xe4/0x138 fs/inode.c:332
lr : drop_nlink+0xe4/0x138 fs/inode.c:332
sp : ffff800020fc7a60
x29: ffff800020fc7a60 x28: dfff800000000000 x27: 1fffe0001bd874f8
x26: 0000000000000000 x25: 1ffff000041f8f58 x24: 1ffff000041f8f54
x23: 1fffe0001c37d165 x22: dfff800000000000 x21: 0000000000000000
x20: ffff0000e1be8b28 x19: ffff0000e1be8ae0 x18: 0000000000000010
x17: 0000000000000000 x16: ffff800012279d40 x15: 0000000000000000
x14: 1ffff00002b520b2 x13: 0000000000000000 x12: 0000000000000025
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008aae918
x8 : ffff0000d4a05340 x7 : 0000000000000000 x6 : 0000000000000025
x5 : ffff0000e1be8b68 x4 : ffff0000e1be80c8 x3 : ffff800008ffbe9c
x2 : 0000000000000010 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 drop_nlink+0xe4/0x138 fs/inode.c:332
 inode_dec_link_count include/linux/fs.h:2582 [inline]
 minix_unlink+0x128/0x180 fs/minix/namei.c:167
 vfs_unlink+0x2f0/0x508 fs/namei.c:4322
 do_unlinkat+0x4cc/0x70c fs/namei.c:4390
 __do_sys_unlinkat fs/namei.c:4433 [inline]
 __se_sys_unlinkat fs/namei.c:4426 [inline]
 __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4426
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 19202
hardirqs last  enabled at (19201): [<ffff800008404f44>] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline]
hardirqs last  enabled at (19201): [<ffff800008404f44>] ktime_get_coarse_real_ts64+0x114/0x244 kernel/time/timekeeping.c:2261
hardirqs last disabled at (19202): [<ffff800012327fd4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (18094): [<ffff8000081c3418>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (18094): [<ffff8000081c3418>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (17949): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/21 21:38 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in minix_unlink
2024/12/21 19:39 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in minix_unlink
2024/12/06 04:32 linux-6.1.y e4d90d63d385 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in minix_unlink
* Struck through repros no longer work on HEAD.