# CVE-2026-98397: platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-02)
- Published: 2026-10-14T13:25:59.081Z
- Modified: 2026-10-19T10:18:44.370Z
- Assigned by: Linux

## Description

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

platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown

In gpio_secondary_fwnode_init(), acpi_bus_find_device_by_name() returns a
device reference, but the local dev variable is declared with
__free(put_device), dropping the reference at the end of each iteration.
Meanwhile, devm_add_action_or_reset() saves the dev pointer for
gpio_secondary_unset() without incrementing its reference count, which
could lead to a use-after-free during driver teardown if the device is
released in the interim.

Acquire an explicit device reference with get_device() when registering
the devres action, and drop it with put_device() inside
gpio_secondary_unset().

(As written by CVE List.)

## Affected

- Linux Linux: from 1448c2d2ca5cc7f4ea6694e6bc809946de0a751c before c62b6e081119f2ab03cfcafde1f83c0f50e8e726; from 1448c2d2ca5cc7f4ea6694e6bc809946de0a751c before 144113b0a70fa18033a747ee5db6803308f7688c; 7.2 (not affected: before 7.2; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c62b6e081119f2ab03cfcafde1f83c0f50e8e726>
- <https://git.kernel.org/stable/c/144113b0a70fa18033a747ee5db6803308f7688c>

## Sources

- CVE List: [CVE-2026-98397](https://www.cve.org/CVERecord?id=CVE-2026-98397), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98397](https://nvd.nist.gov/vuln/detail/CVE-2026-98397), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98397 · Whole record: https://cve.day/CVE-2026-98397.json · Rebuilt by cve.day 2026-11-25T22:59:44.634Z
