Skip to contentSkip to conversation

CVE-2026-98412: power: sequencing: fix NULL-pointer dereference in pwrseq_unit_new()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 14

lore
Share & tools
lore
#0 lore raw

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

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

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

power: sequencing: fix NULL-pointer dereference in pwrseq_unit_new()

If memory allocation fails in pwrseq_unit_setup_deps(), pwrseq_unit_put() is called to release the partially initialized unit. However, we've never initialized unit->list and pwrseq_unit_release() will unconditionally call list_del() on it. Initialize unit->list right after allocating the unit struct.

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

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

	Issue introduced in 6.11 with commit 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c and fixed in 6.12.112 with commit 29e03670cc384561a2037c69b0a1cc5232d3c6c3
	Issue introduced in 6.11 with commit 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c and fixed in 6.18.54 with commit 859880b07a75c7a29d141abfacbd750d25a8e920
	Issue introduced in 6.11 with commit 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c and fixed in 7.2.8 with commit 6e571aea60de7f4c62b77510495d1bcc7df406a1
	Issue introduced in 6.11 with commit 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c and fixed in 7.3-rc4 with commit 115b303e8e093d964089ec6f3c40d984d77b33d0

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

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:
drivers/power/sequencing/core.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/29e03670cc384561a2037c69b0a1cc5232d3c6c3
	https://git.kernel.org/stable/c/859880b07a75c7a29d141abfacbd750d25a8e920
	https://git.kernel.org/stable/c/6e571aea60de7f4c62b77510495d1bcc7df406a1
	https://git.kernel.org/stable/c/115b303e8e093d964089ec6f3c40d984d77b33d0