CVE-2026-98656
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: iio: trigger: cancel reenable_work before freeing trigger iio_trigger_notify_done_atomic() defers ->reenable() into trig->reenable_work on the system workqueue, and the worker dereferences the owning trigger through container_of(). Nothing cancels this work before iio_trig_release() frees the trigger, so a worker armed by the last in-flight IRQ can outlive the free and touch freed memory. Cancel it at the top of iio_trig_release(), which every free path reaches through the device core's final put_device(). Found by an in-house static analysis tool.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:18.907000
Last modified
2026-10-30 13:21:16.343000
View original CVE JSON
{
"id": "CVE-2026-98656",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:18.907",
"lastModified": "2026-10-30T13:21:16.343",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/iio/industrialio-trigger.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "a18aeac73c0f692ba40964f5f56e182312ae843b",
"lessThan": "beec4c9e23b8293c41d3448f9807c28fc9a599d4",
"versionType": "git",
"status": "affected"
},
{
"version": "9020ef659885f2622cfb386cc229b6d618362895",
"lessThan": "4e790a5bd4249877bcf0c94db12ac490965f9296",
"versionType": "git",
"status": "affected"
},
{
"version": "9020ef659885f2622cfb386cc229b6d618362895",
"lessThan": "ac5d26a46c90ff61fd574eff4e8f0d71c905828a",
"versionType": "git",
"status": "affected"
},
{
"version": "9020ef659885f2622cfb386cc229b6d618362895",
"lessThan": "cf513df1a2c75566cdc802d9da47f62e8d6cfd18",
"versionType": "git",
"status": "affected"
},
{
"version": "9020ef659885f2622cfb386cc229b6d618362895",
"lessThan": "e64703280ce7a23a43c27efebeb7da457c88bf5c",
"versionType": "git",
"status": "affected"
},
{
"version": "9020ef659885f2622cfb386cc229b6d618362895",
"lessThan": "882d0011c59ff8ac15188ec9ce071399ecfa10ad",
"versionType": "git",
"status": "affected"
},
{
"version": "9020ef659885f2622cfb386cc229b6d618362895",
"lessThan": "2a57b9246cecd5dd797a42eb310d6c8816f26d9e",
"versionType": "git",
"status": "affected"
},
{
"version": "2c5c948451d57596640b20887b06b523d376eb24",
"versionType": "git",
"status": "affected"
},
{
"version": "5.15.17",
"lessThan": "5.15.224",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.16.3",
"lessThan": "5.17",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/iio/industrialio-trigger.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.17",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.17",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.224",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.56",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/2a57b9246cecd5dd797a42eb310d6c8816f26d9e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4e790a5bd4249877bcf0c94db12ac490965f9296",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/882d0011c59ff8ac15188ec9ce071399ecfa10ad",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ac5d26a46c90ff61fd574eff4e8f0d71c905828a",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/beec4c9e23b8293c41d3448f9807c28fc9a599d4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/cf513df1a2c75566cdc802d9da47f62e8d6cfd18",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e64703280ce7a23a43c27efebeb7da457c88bf5c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}