CVE-2026-98397
publishedplatform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1448c2d2ca5cc7f4ea6694e6bc809946de0a751c to < c62b6e081119f2ab03cfcafde1f83c0f50e8e726 · 1448c2d2ca5cc7f4ea6694e6bc809946de0a751c to < 144113b0a70fa18033a747ee5db6803308f7688c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 7.2.7 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1448c2d2ca5cc7f4ea6694e6bc809946de0a751c to < c62b6e081119f2ab03cfcafde1f83c0f50e8e726 (affected · git)1448c2d2ca5cc7f4ea6694e6bc809946de0a751c to < 144113b0a70fa18033a747ee5db6803308f7688c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.2 (affected)0 to < 7.2 (unaffected · semver)7.2.7 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ecabd7299d716ee09d33e77b6de07ac2b21c4b0e3094a6b78fa081bb78ff4ccd
- Ingested
- 19 Oct 2026, 09:35:31 UTC
- Source record
- Official CVE record