syzbot
WARNING in minix_rmdir
Status:
upstream: reported C repro on 2025/12/27 21:41
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+ad0c1f4d763cfeb7f15c@syzkaller.appspotmail.com
First crash: 212d, last: 15d
▶
▼
Fix bisection attempts (4)
Sample crash report:
syz.0.17[5933]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
loop0: detected capacity change from 0 to 64
syz.0.17: attempt to access beyond end of device
loop0: rw=2049, sector=268435468, nr_sectors = 2 limit=64
Buffer I/O error on dev loop0, logical block 134217734, lost async page write
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5933 at fs/inode.c:332 drop_nlink+0xbf/0x100 fs/inode.c:332
Modules linked in:
CPU: 1 PID: 5933 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:drop_nlink+0xbf/0x100 fs/inode.c:332
Code: 48 8b 1b 48 8d bb 78 07 00 00 be 08 00 00 00 e8 17 0c ea ff f0 48 ff 83 78 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 41 92 91 ff <0f> 0b eb 88 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 62 ff ff ff 4c
RSP: 0018:ffffc90003267cf0 EFLAGS: 00010293
RAX: ffffffff81f5532f RBX: ffff88805e180590 RCX: ffff88802c825a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffea0001b41977 R09: 1ffffd400036832e
R10: dffffc0000000000 R11: fffff9400036832f R12: 1ffff1100bc300bd
R13: ffff88805e180040 R14: ffff88805e1805e8 R15: dffffc0000000000
FS: 00005555885d7500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000077453000 CR4: 00000000003506e0
Call Trace:
<TASK>
inode_dec_link_count include/linux/fs.h:2340 [inline]
minix_unlink fs/minix/namei.c:158 [inline]
minix_rmdir+0x216/0x290 fs/minix/namei.c:168
vfs_rmdir+0x352/0x4b0 fs/namei.c:4204
do_rmdir+0x29f/0x590 fs/namei.c:4263
__do_sys_rmdir fs/namei.c:4282 [inline]
__se_sys_rmdir fs/namei.c:4280 [inline]
__x64_sys_rmdir+0x49/0x50 fs/namei.c:4280
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7feb4379de59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffee93be6a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007feb43a25fa0 RCX: 00007feb4379de59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000000c0
RBP: 00007feb43833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007feb43a25fac R14: 00007feb43a25fa0 R15: 00007feb43a25fa0
</TASK>
* Struck through repros no longer work on HEAD.