iio: trigger: cancel reenable_work before freeing trigger (Linux Linux)

CVE-2026-98656
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected a18aeac73c0f692ba40964f5f56e182312ae843b < beec4c9e23b8293c41d3448f9807c28fc9a599d4 ; affected 9020ef659885f2622cfb386cc229b6d618362895 < 4e790a5bd4249877bcf0c94db12ac490965f9296 ; affected 9020ef659885f2622cfb386cc229b6d618362895 < ac5d26a46c90ff61fd574eff4e8f0d71c905828a ; affected 9020ef659885f2622cfb386cc229b6d618362895 < cf513df1a2c75566cdc802d9da47f62e8d6cfd18 ; affected 9020ef659885f2622cfb386cc229b6d618362895 < e64703280ce7a23a43c27efebeb7da457c88bf5c ; affected 9020ef659885f2622cfb386cc229b6d618362895 < 882d0011c59ff8ac15188ec9ce071399ecfa10ad
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.113 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD