Skip to contentSkip to conversation

CVE-2026-23250: xfs: check return value of xchk_scrub_create_subord

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 18

lore
Share & tools
lore
#0 lore raw

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

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

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

xfs: check return value of xchk_scrub_create_subord

Fix this function to return NULL instead of a mangled ENOMEM, then fix the callers to actually check for a null pointer and return ENOMEM. Most of the corrections here are for code merged between 6.2 and 6.10.

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

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

	Issue introduced in 6.10 with commit 1a5f6e08d4e379a23da5be974aee50b26a20c5b0 and fixed in 6.12.75 with commit d6f3f7d4dd8a179394cef03c00993d57f5f68601
	Issue introduced in 6.10 with commit 1a5f6e08d4e379a23da5be974aee50b26a20c5b0 and fixed in 6.18.16 with commit 2b658d1249666cc55af9484dcf5f45ca438d4ecc
	Issue introduced in 6.10 with commit 1a5f6e08d4e379a23da5be974aee50b26a20c5b0 and fixed in 6.19.6 with commit b2df809edd8cb7d1c3e19d9f6aabc2bd55d2bfb6
	Issue introduced in 6.10 with commit 1a5f6e08d4e379a23da5be974aee50b26a20c5b0 and fixed in 7.0-rc1 with commit ca27313fb3f23e4ac18532ede4ec1c7cc5814c4a

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

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/xfs/scrub/common.c
fs/xfs/scrub/repair.c
fs/xfs/scrub/scrub.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/d6f3f7d4dd8a179394cef03c00993d57f5f68601
	https://git.kernel.org/stable/c/2b658d1249666cc55af9484dcf5f45ca438d4ecc
	https://git.kernel.org/stable/c/b2df809edd8cb7d1c3e19d9f6aabc2bd55d2bfb6
	https://git.kernel.org/stable/c/ca27313fb3f23e4ac18532ede4ec1c7cc5814c4a