Skip to contentSkip to conversation

CVE-2026-98147: printk: Don't WARN on kthread_run failure.

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

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

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

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

printk: Don't WARN on kthread_run failure.

Since __kthread_create_on_node() returns -EINTR upon SIGKILL, we should not use WARN_ON() in order to catch kthread_run() failure.

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

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

	Issue introduced in 6.12 with commit 76f258bf3f2aae570209319944703a92ac64e29e and fixed in 7.2.7 with commit 4e676279798148382497d0e38c0bd51115e64be1
	Issue introduced in 6.12 with commit 76f258bf3f2aae570209319944703a92ac64e29e and fixed in 7.3-rc3 with commit 72dd0ec09e7cc98ed58ddeac26575e5d1ab8a93d

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

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:
kernel/printk/nbcon.c
kernel/printk/printk.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/4e676279798148382497d0e38c0bd51115e64be1
	https://git.kernel.org/stable/c/72dd0ec09e7cc98ed58ddeac26575e5d1ab8a93d