Skip to contentSkip to conversation

CVE-2026-43268: hfsplus: pretend special inodes as regular files

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

hfsplus: pretend special inodes as regular files

Since commit af153bb63a33 ("vfs: catch invalid modes in may_open()") requires any inode be one of S_IFDIR/S_IFLNK/S_IFREG/S_IFCHR/S_IFBLK/ S_IFIFO/S_IFSOCK type, use S_IFREG for special inodes.

The Linux kernel CVE team has assigned CVE-2026-43268 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.10.252 with commit dcac5582f90b55a267d89769073c5651990b2ec5
	Fixed in 5.15.202 with commit 799c492a619a10322543d13e6d2a6d27335c868c
	Fixed in 6.1.165 with commit 676bc99d0b3e356cdfec5d8204518e1aac14ec84
	Fixed in 6.6.128 with commit de9affb698d5034888314880736925c39d6d048e
	Fixed in 6.12.75 with commit d209ebaee93fc5089101d34d1b38a91d7abb03fd
	Fixed in 6.18.16 with commit 67407d6abc9520a8a4661285b3ed294eb73ff6e7
	Fixed in 6.19.6 with commit 9353d4ee26dc33f6ada1646e84660f4c59189763
	Fixed in 7.0 with commit ed8889ca21b6ab37bc1435c4009ce37a79acb9e6

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43268

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
fs/hfsplus/super.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/dcac5582f90b55a267d89769073c5651990b2ec5
	https://git.kernel.org/stable/c/799c492a619a10322543d13e6d2a6d27335c868c
	https://git.kernel.org/stable/c/676bc99d0b3e356cdfec5d8204518e1aac14ec84
	https://git.kernel.org/stable/c/de9affb698d5034888314880736925c39d6d048e
	https://git.kernel.org/stable/c/d209ebaee93fc5089101d34d1b38a91d7abb03fd
	https://git.kernel.org/stable/c/67407d6abc9520a8a4661285b3ed294eb73ff6e7
	https://git.kernel.org/stable/c/9353d4ee26dc33f6ada1646e84660f4c59189763
	https://git.kernel.org/stable/c/ed8889ca21b6ab37bc1435c4009ce37a79acb9e6