{"api_version":"1","generated_at":"2026-11-24T16:02:29+00:00","cve":"CVE-2026-98397","urls":{"html":"https://cve.report/CVE-2026-98397","api":"https://cve.report/api/cve/CVE-2026-98397.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98397","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98397"},"summary":{"title":"platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown","description":"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().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-14 14:17:50","updated_at":"2026-10-19 10:18:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/144113b0a70fa18033a747ee5db6803308f7688c","name":"https://git.kernel.org/stable/c/144113b0a70fa18033a747ee5db6803308f7688c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c62b6e081119f2ab03cfcafde1f83c0f50e8e726","name":"https://git.kernel.org/stable/c/c62b6e081119f2ab03cfcafde1f83c0f50e8e726","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98397","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98397","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1448c2d2ca5cc7f4ea6694e6bc809946de0a751c c62b6e081119f2ab03cfcafde1f83c0f50e8e726 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1448c2d2ca5cc7f4ea6694e6bc809946de0a751c 144113b0a70fa18033a747ee5db6803308f7688c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.7 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/platform/x86/x86-android-tablets/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c62b6e081119f2ab03cfcafde1f83c0f50e8e726","status":"affected","version":"1448c2d2ca5cc7f4ea6694e6bc809946de0a751c","versionType":"git"},{"lessThan":"144113b0a70fa18033a747ee5db6803308f7688c","status":"affected","version":"1448c2d2ca5cc7f4ea6694e6bc809946de0a751c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/platform/x86/x86-android-tablets/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.2"},{"lessThan":"7.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.7","versionStartIncluding":"7.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"7.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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()."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:18:50.767Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c62b6e081119f2ab03cfcafde1f83c0f50e8e726"},{"url":"https://git.kernel.org/stable/c/144113b0a70fa18033a747ee5db6803308f7688c"}],"title":"platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98397","datePublished":"2026-10-14T13:25:59.081Z","dateReserved":"2026-09-25T10:25:14.346Z","dateUpdated":"2026-10-19T09:18:50.767Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-14 14:17:50","lastModifiedDate":"2026-10-19 10:18:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98397","Ordinal":"1","Title":"platform/x86: x86-android-tablets: hold device reference for sec","CVE":"CVE-2026-98397","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98397","Ordinal":"1","NoteData":"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().","Type":"Description","Title":"platform/x86: x86-android-tablets: hold device reference for sec"}]}}}