[GIT PULL 11/17 for v6.19] minix

From: Christian Brauner

Date: Fri Nov 28 2025 - 11:51:28 EST


Hey Linus,

/* Summary */
Fix two syzbot corruption bugs in the minix filesystem. Syzbot fuzzes
filesystems by trying to mount and manipulate deliberately corrupted
images. This should not lead to BUG_ONs and WARN_ONs for easy to detect
corruptions.

- Add error handling to minix filesystem for inode corruption detection,
enabling the filesystem to report such corruptions cleanly.

- Fix a drop_nlink warning in minix_rmdir() triggered by corrupted
directory link counts.

- Fix a drop_nlink warning in minix_rename() triggered by corrupted
inode link counts.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:

Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.19-rc1.minix

for you to fetch changes up to 0d534518ce87317e884dbd1485111b0f1606a194:

Merge patch series "Fix two syzbot corruption bugs in minix filesystem" (2025-11-05 13:45:26 +0100)

Please consider pulling these changes from the signed vfs-6.19-rc1.minix tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.19-rc1.minix

----------------------------------------------------------------
Christian Brauner (1):
Merge patch series "Fix two syzbot corruption bugs in minix filesystem"

Jori Koolstra (3):
Add error handling to minix filesystem for inode corruption detection
Fix a drop_nlink warning in minix_rmdir
Fix a drop_nlink warning in minix_rename

fs/minix/inode.c | 16 ++++++++++++++++
fs/minix/minix.h | 9 +++++++++
fs/minix/namei.c | 39 ++++++++++++++++++++++++++++++++-------
3 files changed, 57 insertions(+), 7 deletions(-)