CVE-2026-64246: power: reset: linkstation-poweroff: fix use-after-free in the linkstation_poweroff_init()
Greg Kroah-Hartman <[email protected]> Fri, 24 Jul 2026 17:31:20 +0200
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026072418-CVE-2026-64246-4a2c@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: power: reset: linkstation-poweroff: fix use-after-free in the linkstation_poweroff_init() Move of_node_put(dn) after the of_match_node() call, which still needs the node pointer. The node reference is correctly released after use. The Linux kernel CVE team has assigned CVE-2026-64246 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit e2f471efe1d607a7aff38ce53ec717cebe4283d6 and fixed in 5.15.211 with commit 93c7ee139721936b6fa717572e74d3994603ae13 Issue introduced in 5.15 with commit e2f471efe1d607a7aff38ce53ec717cebe4283d6 and fixed in 6.1.177 with commit cdda7d384c05485a232ae9a849f6445accb095bf Issue introduced in 5.15 with commit e2f471efe1d607a7aff38ce53ec717cebe4283d6 and fixed in 6.6.144 with commit c04d606f8b35ee7d3ed243f63893a607e9d6c0bc Issue introduced in 5.15 with commit e2f471efe1d607a7aff38ce53ec717cebe4283d6 and fixed in 6.12.95 with commit 3928ae803dee044b01076c478c279c0bd54164cd Issue introduced in 5.15 with commit e2f471efe1d607a7aff38ce53ec717cebe4283d6 and fixed in 6.18.38 with commit 2205275be9be981e70ff29610b0117d8853fac70 Issue introduced in 5.15 with commit e2f471efe1d607a7aff38ce53ec717cebe4283d6 and fixed in 7.1.3 with commit d109e72f3fbccb540473285d17d7519584f7f76e Issue introduced in 5.15 with commit e2f471efe1d607a7aff38ce53ec717cebe4283d6 and fixed in 7.2-rc1 with commit 8eec545cde69e46e9a1d2b7d915ce4f5df85b3bd 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-64246 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/reset/linkstation-poweroff.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/93c7ee139721936b6fa717572e74d3994603ae13 https://git.kernel.org/stable/c/cdda7d384c05485a232ae9a849f6445accb095bf https://git.kernel.org/stable/c/c04d606f8b35ee7d3ed243f63893a607e9d6c0bc https://git.kernel.org/stable/c/3928ae803dee044b01076c478c279c0bd54164cd https://git.kernel.org/stable/c/2205275be9be981e70ff29610b0117d8853fac70 https://git.kernel.org/stable/c/d109e72f3fbccb540473285d17d7519584f7f76e https://git.kernel.org/stable/c/8eec545cde69e46e9a1d2b7d915ce4f5df85b3bd