Skip to contentSkip to conversation

CVE-2026-89831: f2fs: protect critical_task_priority updates with s_umount

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

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: protect critical_task_priority updates with s_umount

The sysfs store path already takes s_umount for GC thread control entries, and ckpt_thread_ioprio is covered as well.

critical_task_priority also updates checkpoint or GC kthread scheduling state, but it is not covered by that serialization. It can race with remount or teardown paths that are stopping those threads.

Protect critical_task_priority sysfs writes with s_umount too.

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

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

	Issue introduced in 7.0 with commit 52190933c37a96164b271f3f30c16099d9eb8c09 and fixed in 7.2.5 with commit bee6dfcc111b1dffdb3e13d73b7028b699fa0165
	Issue introduced in 7.0 with commit 52190933c37a96164b271f3f30c16099d9eb8c09 and fixed in 7.3-rc1 with commit 8e4692c6c165e81b2cbb847d8da4b45a53483b33

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

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/sysfs.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/bee6dfcc111b1dffdb3e13d73b7028b699fa0165
	https://git.kernel.org/stable/c/8e4692c6c165e81b2cbb847d8da4b45a53483b33