iio: light: gp2ap020a00f: drain irq_work after free_irq (Linux Linux)

CVE-2026-98662
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap020a00f: drain irq_work after free_irq The threaded IRQ handler queues data->work through irq_work_queue() so the trigger is polled from a per-CPU context. free_irq() does not flush an irq_work the handler already queued, so after gp2ap020a00f_remove() returns that work may still run and call iio_trigger_poll() on data->trig, which the devm cleanup has already freed, causing a use-after-free. Add irq_work_sync(&data->work) after free_irq() in remove() and in the probe error path, mirroring commit 78601726d4a5 ("iio: trigger: sysfs: fix use-after-free on remove"). Found by an in-house static analysis tool, confirmed by manual review.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < 6f2bb000493c3b4f5715b3103657393672aea05b
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < d029639b079b28a5334f934c848d895bef0653d1
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < a36814b9fe00970116d30c3143d81e7425c4d334
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < cc71400bc965c0d3894a38ead3d71243400c2d5e
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < a1769877ff52a4f1bfb9ca535d1b5113808bd602
affectée : ≥ bf29fbeaa13d3350ca71df70c705d8b883c45692 < 63213927b141085b6c8719b8037dab3074b7e0fe
Autres versions : non affectée
Linux · Linux
affectée : 3.13
non affectée : ≥ 0 < 3.13
non affectée : ≥ 5.10.273 ≤ 5.10.*
non affectée : ≥ 5.15.224 ≤ 5.15.*
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.113 ≤ 6.12.*
non affectée : ≥ 6.18.56 ≤ 6.18.*
non affectée : ≥ 7.2.10 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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