{"schema":"threatline.record/2","record":{"id":"CVE-2026-98662","aliases":[],"summary":"iio: light: gp2ap020a00f: drain irq_work after free_irq","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: gp2ap020a00f: drain irq_work after free_irq\n\nThe threaded IRQ handler queues data->work through irq_work_queue() so\nthe trigger is polled from a per-CPU context.  free_irq() does not flush\nan irq_work the handler already queued, so after gp2ap020a00f_remove()\nreturns that work may still run and call iio_trigger_poll() on data->trig,\nwhich the devm cleanup has already freed, causing a use-after-free.\n\nAdd irq_work_sync(&data->work) after free_irq() in remove() and in the\nprobe error path, mirroring commit 78601726d4a5 (\"iio: trigger: sysfs:\nfix use-after-free on remove\").\n\nFound by an in-house static analysis tool, confirmed by manual review.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98662","source_modified_at":"2026-10-21T12:55:27.142Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"bf29fbeaa13d3350ca71df70c705d8b883c45692","lessThan":"85c20d1cf3f01a506605a16c2f9ce23b9c8b114f","status":"affected","versionType":"git"},{"version":"bf29fbeaa13d3350ca71df70c705d8b883c45692","lessThan":"a36814b9fe00970116d30c3143d81e7425c4d334","status":"affected","versionType":"git"},{"version":"bf29fbeaa13d3350ca71df70c705d8b883c45692","lessThan":"cc71400bc965c0d3894a38ead3d71243400c2d5e","status":"affected","versionType":"git"},{"version":"bf29fbeaa13d3350ca71df70c705d8b883c45692","lessThan":"a1769877ff52a4f1bfb9ca535d1b5113808bd602","status":"affected","versionType":"git"},{"version":"bf29fbeaa13d3350ca71df70c705d8b883c45692","lessThan":"63213927b141085b6c8719b8037dab3074b7e0fe","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98662","source_modified_at":"2026-10-21T12:55:27.142Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"3.13","status":"affected"},{"version":"0","lessThan":"3.13","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.56","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.10","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-98662","source_modified_at":"2026-10-21T12:55:27.142Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"85c20d1cf3f01a506605a16c2f9ce23b9c8b114f","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98662","source_modified_at":"2026-10-21T12:55:27.142Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"63213927b141085b6c8719b8037dab3074b7e0fe","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00168,"percentile":0.05758,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:44:24.421Z","modified_at":"2026-10-21T12:55:27.142Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98662","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T12:55:27.142Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98662","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/85c20d1cf3f01a506605a16c2f9ce23b9c8b114f"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/a36814b9fe00970116d30c3143d81e7425c4d334"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/cc71400bc965c0d3894a38ead3d71243400c2d5e"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/a1769877ff52a4f1bfb9ca535d1b5113808bd602"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/63213927b141085b6c8719b8037dab3074b7e0fe"}],"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-21T12:55:27.142Z","content_hash":"a973fda7a35b9f8a0e30f5ea09be12654d20c84daf87556db465abf5fed2a6c9"}}
