Skip to contentSkip to conversation

CVE-2026-97504: watchdog: lenovo_se10_wdt: Fix use-after-free and resource leak risk

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

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

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

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

watchdog: lenovo_se10_wdt: Fix use-after-free and resource leak risk

Review by sashiko.dev highlighted potential use after free and resource leak instances.

Set se10_pdev to null to prevent use after free

Remove DMI call back and instead directly call se10_create_platform_device. Handle error cases appropriately

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

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

	Fixed in 6.12.111 with commit e9adbc3a116dfa8c7b643180dabf6166c99bcec7
	Fixed in 6.18.53 with commit c9f1fb55646534370b00824a1fdb47718c72f115
	Fixed in 7.2 with commit 3394e894880a60338a2981dd688fd25e88d79667

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

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/watchdog/lenovo_se10_wdt.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/e9adbc3a116dfa8c7b643180dabf6166c99bcec7
	https://git.kernel.org/stable/c/c9f1fb55646534370b00824a1fdb47718c72f115
	https://git.kernel.org/stable/c/3394e894880a60338a2981dd688fd25e88d79667