Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97504 Overview
CVE-2026-97504 affects the Linux kernel's lenovo_se10_wdt watchdog driver. A code review by sashiko.dev identified a use-after-free condition and a resource leak in the driver's platform device handling. The flaw stems from the driver failing to null se10_pdev after release and from improper error handling during Desktop Management Interface (DMI) callback–driven platform device creation. The upstream fix removes the DMI callback and directly invokes se10_create_platform_device, with explicit error paths. Patches have been merged to the stable kernel tree across multiple branches.
Critical Impact
Local triggering of the use-after-free in the watchdog driver can lead to kernel memory corruption, resource exhaustion, or system instability on affected Lenovo SE10 platforms.
Affected Products
- Linux kernel builds that include the lenovo_se10_wdt watchdog driver
- Lenovo SE10 edge platform systems using the affected watchdog driver
- Stable kernel branches prior to the commits referenced in the patch set
Discovery Timeline
- 2026-09-24 - CVE-2026-97504 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97504
Vulnerability Analysis
The lenovo_se10_wdt driver registers a platform device for the Lenovo SE10 watchdog hardware. The driver kept a module-scoped pointer, se10_pdev, referencing the created platform device. On error or teardown paths, the pointer was not reset to NULL after the underlying device was released. Subsequent accesses through the stale pointer created a use-after-free condition in kernel space.
The original implementation also relied on a DMI callback to trigger platform device creation. The callback's error handling did not consistently unwind partially allocated resources. This produced a resource leak when creation failed after partial initialization.
The fix sets se10_pdev to NULL once the device is released, preventing dereferences of freed memory. It also removes the DMI callback and calls se10_create_platform_device directly, allowing failures to be handled with standard return-code checking.
Root Cause
Two coding defects contribute to CVE-2026-97504. First, missing pointer invalidation after platform_device_unregister leaves a dangling reference classified as [CWE-416] Use After Free. Second, incomplete cleanup in the DMI callback path leaves allocations unfreed, consistent with [CWE-401] Missing Release of Memory after Effective Lifetime.
Attack Vector
Exploitation requires local access to a system running the vulnerable driver on affected Lenovo SE10 hardware. An attacker able to trigger the driver's error paths or teardown sequence may induce memory corruption. The flaw is not remotely reachable and depends on hardware presence and kernel configuration. See the upstream commits for full change context: Kernel Patch 3394e89, Kernel Patch c9f1fb5, and Kernel Patch e9adbc3.
No verified public exploit code is available. The vulnerability is best described in prose based on the upstream fix commits.
Detection Methods for CVE-2026-97504
Indicators of Compromise
- Kernel oops or panic messages referencing lenovo_se10_wdt, se10_pdev, or platform_device_unregister in dmesg and /var/log/kern.log.
- KASAN (Kernel Address Sanitizer) reports flagging use-after-free in the watchdog subsystem on affected hosts.
- Unexpected unloads or reloads of the lenovo_se10_wdt module without administrator action.
Detection Strategies
- Inventory running kernel versions and confirm whether the lenovo_se10_wdt module is present and loaded via lsmod | grep lenovo_se10_wdt.
- Compare installed kernel package versions against distribution advisories referencing the stable commits 3394e89, c9f1fb5, and e9adbc3.
- Enable KASAN in test or canary builds to surface the use-after-free path before production rollout.
Monitoring Recommendations
- Forward kernel ring buffer events to a centralized log store and alert on watchdog-subsystem faults.
- Track module load, unload, and error events on Lenovo SE10 edge devices.
- Monitor host stability metrics such as unplanned reboots and watchdog resets on affected hardware fleets.
How to Mitigate CVE-2026-97504
Immediate Actions Required
- Identify Lenovo SE10 systems running kernels that include the lenovo_se10_wdt driver.
- Apply the vendor or distribution kernel update that incorporates the upstream fix commits.
- Restrict local privileged access on affected systems until patched kernels are deployed.
Patch Information
The fix is distributed across three upstream commits in the stable kernel tree: Kernel Patch 3394e89, Kernel Patch c9f1fb5, and Kernel Patch e9adbc3. The patches set se10_pdev to NULL after release and replace the DMI callback with a direct call to se10_create_platform_device with proper error handling. Rebuild and reboot into the patched kernel to activate the fix.
Workarounds
- Blacklist the lenovo_se10_wdt module on affected hosts if hardware watchdog functionality is not required, using /etc/modprobe.d/.
- Prevent automatic module loading by adding install lenovo_se10_wdt /bin/true to a modprobe configuration file.
- Reduce local attack surface by limiting shell access and enforcing least-privilege policies until patches are applied.
# Configuration example
echo 'blacklist lenovo_se10_wdt' | sudo tee /etc/modprobe.d/disable-lenovo-se10-wdt.conf
echo 'install lenovo_se10_wdt /bin/true' | sudo tee -a /etc/modprobe.d/disable-lenovo-se10-wdt.conf
sudo rmmod lenovo_se10_wdt 2>/dev/null || true
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

