{"schema":"threatline.record/2","record":{"id":"CVE-2026-98397","aliases":[],"summary":"platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown\n\nIn gpio_secondary_fwnode_init(), acpi_bus_find_device_by_name() returns a\ndevice reference, but the local dev variable is declared with\n__free(put_device), dropping the reference at the end of each iteration.\nMeanwhile, devm_add_action_or_reset() saves the dev pointer for\ngpio_secondary_unset() without incrementing its reference count, which\ncould lead to a use-after-free during driver teardown if the device is\nreleased in the interim.\n\nAcquire an explicit device reference with get_device() when registering\nthe devres action, and drop it with put_device() inside\ngpio_secondary_unset().","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98397","source_modified_at":"2026-10-19T09:18:50.767Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"1448c2d2ca5cc7f4ea6694e6bc809946de0a751c","lessThan":"c62b6e081119f2ab03cfcafde1f83c0f50e8e726","status":"affected","versionType":"git"},{"version":"1448c2d2ca5cc7f4ea6694e6bc809946de0a751c","lessThan":"144113b0a70fa18033a747ee5db6803308f7688c","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98397","source_modified_at":"2026-10-19T09:18:50.767Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","status":"unaffected","versionType":"semver"},{"version":"7.2.7","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98397","source_modified_at":"2026-10-19T09:18:50.767Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"144113b0a70fa18033a747ee5db6803308f7688c","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00198,"percentile":0.0902,"score_date":"2026-10-23"},"published_at":"2026-10-14T13:25:59.081Z","modified_at":"2026-10-19T09:18:50.767Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98397","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:18:50.767Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98397","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/c62b6e081119f2ab03cfcafde1f83c0f50e8e726"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/144113b0a70fa18033a747ee5db6803308f7688c"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:18:50.767Z","content_hash":"523043f061fac645e9533a61e89f87f83145614d3a341b6b6092be9739fdd8b3"}}
