{"id":"CVE-2026-98656","aliases":["CVE-2026-98656"],"related":[],"kind":"vulnerability","state":"published","title":"iio: trigger: cancel reenable_work before freeing trigger","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: trigger: cancel reenable_work before freeing trigger\n\niio_trigger_notify_done_atomic() defers ->reenable() into\ntrig->reenable_work on the system workqueue, and the worker dereferences\nthe owning trigger through container_of().  Nothing cancels this work\nbefore iio_trig_release() frees the trigger, so a worker armed by the\nlast in-flight IRQ can outlive the free and touch freed memory.\n\nCancel it at the top of iio_trig_release(), which every free path\nreaches through the device core's final put_device().\n\nFound by an in-house static analysis tool.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: trigger: cancel reenable_work before freeing trigger\n\niio_trigger_notify_done_atomic() defers ->reenable() into\ntrig->reenable_work on the system workqueue, and the worker dereferences\nthe owning trigger through container_of().  Nothing cancels this work\nbefore iio_trig_release() frees the trigger, so a worker armed by the\nlast in-flight IRQ can outlive the free and touch freed memory.\n\nCancel it at the top of iio_trig_release(), which every free path\nreaches through the device core's final put_device().\n\nFound by an in-house static analysis tool.","source":"cvelist"}],"published":"2026-10-18T15:44:07.883Z","modified":"2026-10-30T13:21:16.343Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a18aeac73c0f692ba40964f5f56e182312ae843b","fixed":"beec4c9e23b8293c41d3448f9807c28fc9a599d4","status":"affected"},{"type":"git","introduced":"9020ef659885f2622cfb386cc229b6d618362895","fixed":"4e790a5bd4249877bcf0c94db12ac490965f9296","status":"affected"},{"type":"git","introduced":"9020ef659885f2622cfb386cc229b6d618362895","fixed":"ac5d26a46c90ff61fd574eff4e8f0d71c905828a","status":"affected"},{"type":"git","introduced":"9020ef659885f2622cfb386cc229b6d618362895","fixed":"cf513df1a2c75566cdc802d9da47f62e8d6cfd18","status":"affected"},{"type":"git","introduced":"9020ef659885f2622cfb386cc229b6d618362895","fixed":"e64703280ce7a23a43c27efebeb7da457c88bf5c","status":"affected"},{"type":"git","introduced":"9020ef659885f2622cfb386cc229b6d618362895","fixed":"882d0011c59ff8ac15188ec9ce071399ecfa10ad","status":"affected"},{"type":"git","introduced":"9020ef659885f2622cfb386cc229b6d618362895","fixed":"2a57b9246cecd5dd797a42eb310d6c8816f26d9e","status":"affected"},{"type":"git","version":"2c5c948451d57596640b20887b06b523d376eb24","status":"affected"},{"type":"semver","introduced":"5.15.17","fixed":"5.15.224","status":"affected"},{"type":"semver","introduced":"5.16.3","fixed":"5.17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/beec4c9e23b8293c41d3448f9807c28fc9a599d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e790a5bd4249877bcf0c94db12ac490965f9296","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac5d26a46c90ff61fd574eff4e8f0d71c905828a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf513df1a2c75566cdc802d9da47f62e8d6cfd18","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e64703280ce7a23a43c27efebeb7da457c88bf5c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/882d0011c59ff8ac15188ec9ce071399ecfa10ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a57b9246cecd5dd797a42eb310d6c8816f26d9e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98656","url":"https://www.cve.org/CVERecord?id=CVE-2026-98656","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:28.155Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98656","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98656","licence":"Public domain","modified":"2026-10-30T13:21:16.343Z"}],"updatedAt":"2026-11-25T22:59:45.259Z","epss":{"score":0.00173,"percentile":0.06984,"date":"2026-12-01T12:00:22.000Z"}}