CVE-2026-98656 PUBLISHED

iio: trigger: cancel reenable_work before freeing trigger

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 9020ef659885f2622cfb386cc229b6d618362895 to cf513df1a2c75566cdc802d9da47f62e8d6cfd18 (excl.)
  • affected from 9020ef659885f2622cfb386cc229b6d618362895 to e64703280ce7a23a43c27efebeb7da457c88bf5c (excl.)
  • affected from 9020ef659885f2622cfb386cc229b6d618362895 to 882d0011c59ff8ac15188ec9ce071399ecfa10ad (excl.)
  • affected from 9020ef659885f2622cfb386cc229b6d618362895 to 2a57b9246cecd5dd797a42eb310d6c8816f26d9e (excl.)
  • Version a18aeac73c0f692ba40964f5f56e182312ae843b is affected
  • Version 2c5c948451d57596640b20887b06b523d376eb24 is affected
  • affected from 5.15.17 to 5.16 (excl.)
  • affected from 5.16.3 to 5.17 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.17 is affected
  • unaffected from 0 to 5.17 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References