Skip to contentSkip to conversation

CVE-2026-80591: f2fs: fix listxattr handling of corrupted xattr entries

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

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

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

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

f2fs: fix listxattr handling of corrupted xattr entries

Validate the xattr entry before reading its fields in f2fs_listxattr(). Return -EFSCORRUPTED when the entry is outside the valid xattr storage area instead of returning a successful partial result.

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

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

	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 5.10.261 with commit 7dfac47e4189692f35230f3064acf2540e6d75fe
	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 5.15.212 with commit c8a10f174316e80d577e6549099b71a7a2111f3f
	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 6.1.178 with commit dfa4891c27bccbd83d511a065721e85621f275a1
	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 6.6.145 with commit 2770041f34b52334ea63351ffb1cc2007a9de46e
	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 6.12.96 with commit 7dd01f7d0291583e3e5420c95c7d584e114899bd
	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 6.18.39 with commit ec9f79c8d5b28a928e65b67cd138c841571cf502
	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 7.1.5 with commit 3c0dbfecd859fd02fe9008f33a83146102ccd9ba
	Issue introduced in 5.5 with commit 688078e7f36c293dae25b338ddc9e0a2790f6e06 and fixed in 7.2 with commit 5ef5bc304f23c3fe255d4936472378dcb74d0e94
	Issue introduced in 4.14.181 with commit ae811cecbbb231f11a84acaf74baca1283b964c7
	Issue introduced in 4.19.119 with commit ed523cbd4a6594edf123dc03ec9d70ea4f793671
	Issue introduced in 5.4.36 with commit 5811f24abd27a8a0791c6909c6ff803659060c84

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-80591

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/f2fs/xattr.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/7dfac47e4189692f35230f3064acf2540e6d75fe
	https://git.kernel.org/stable/c/c8a10f174316e80d577e6549099b71a7a2111f3f
	https://git.kernel.org/stable/c/dfa4891c27bccbd83d511a065721e85621f275a1
	https://git.kernel.org/stable/c/2770041f34b52334ea63351ffb1cc2007a9de46e
	https://git.kernel.org/stable/c/7dd01f7d0291583e3e5420c95c7d584e114899bd
	https://git.kernel.org/stable/c/ec9f79c8d5b28a928e65b67cd138c841571cf502
	https://git.kernel.org/stable/c/3c0dbfecd859fd02fe9008f33a83146102ccd9ba
	https://git.kernel.org/stable/c/5ef5bc304f23c3fe255d4936472378dcb74d0e94