CVE-2026-89938
iio: chemical: atlas-sensor: use iio_trigger_poll_nested() to fix remove UAF
Check your servers for CVE-2026-89938
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89938 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
iio: chemical: atlas-sensor: use iio_trigger_poll_nested() to fix remove UAF
The atlas driver requests its hardware data-ready IRQ with devm_request_threaded_irq(); its threaded handler queues an irq_work, atlas_work_handler(), that calls iio_trigger_poll(data->trig).
The IRQ is devm-managed, so free_irq() runs from the devres unwind after atlas_remove() returns without flushing that irq_work. Once a buffer is enabled, conversion-complete IRQs keep firing and queueing it; a pending irq_work can therefore run after the unwind has freed atlas_data/indio_dev and the trigger, when atlas_work_handler() derives the atlas_data pointer via container_of() and dereferences data->trig, a use-after-free.
Call iio_trigger_poll_nested() directly from the threaded handler instead of bouncing through irq_work. free_irq() then drains the threaded handler, closing the window; other iio drivers with a threaded data-ready IRQ do the same (e.g. bmi270).
This issue was found by an in-house static analysis tool.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.66% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7103b99b031cb0ff6979331757bfc4893f37ae9e, before f64b437641b5a70c18bb0fd38da2b69d8926c871 affected from 7103b99b031cb0ff6979331757bfc4893f37ae9e, before 91e12b0fbd7047d02bf4ef4dbc491b9ef0159250 affected from 7103b99b031cb0ff6979331757bfc4893f37ae9e, before 2071624c3d0f497ca91da78858e6f30d7112fea6 affected from 7103b99b031cb0ff6979331757bfc4893f37ae9e, before 30b0d44c978bbc857bd68b71dab371805653de70 affected from 7103b99b031cb0ff6979331757bfc4893f37ae9e, before be61c8c6252671ecf1fee0ad90f87669e0be1e20
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.51 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89938 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89938
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89938
trivy image --scanners vuln IMAGE | grep CVE-2026-89938
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f64b437641b5a70c18bb0fd38da2b69d8926c871 git.kernel.org
- https://git.kernel.org/stable/c/91e12b0fbd7047d02bf4ef4dbc491b9ef0159250 git.kernel.org
- https://git.kernel.org/stable/c/2071624c3d0f497ca91da78858e6f30d7112fea6 git.kernel.org
- https://git.kernel.org/stable/c/30b0d44c978bbc857bd68b71dab371805653de70 git.kernel.org
- https://git.kernel.org/stable/c/be61c8c6252671ecf1fee0ad90f87669e0be1e20 git.kernel.org
Source: the record CVE-2026-89938 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse