[GIT PULL] AFFS fixes for 7.4

From: David Sterba

Date: Thu Oct 15 2026 - 15:34:54 EST


Hi,

AFFS has attracted the AI security scanners but there's probably little real
impact. Please pull a few fixes, more will come in the future, but it's low
priority.

Thanks.

----------------------------------------------------------------
The following changes since commit fd73f4a6659897191fa0d40695fe370925dd3780:

Linux 7.3-rc3 (2026-09-13 14:38:02 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/affs-for-7.4

for you to fetch changes up to 78ea2058abf3ee053c0bd9c1b9a77304cb4ae58b:

affs: validate blocks before freeing them (2026-09-14 13:58:29 +0200)

----------------------------------------------------------------
Farhad Alemi (2):
affs: don't instantiate dentry if affs_insert_hash failed
affs: split hash-lock subclass and reject self-referencing dir entry

Kyle Zeng (1):
affs: validate blocks before freeing them

fs/affs/affs.h | 5 +++++
fs/affs/amigaffs.c | 6 +++++-
fs/affs/bitmap.c | 2 +-
fs/affs/inode.c | 3 ++-
4 files changed, 13 insertions(+), 3 deletions(-)