CVE-2026-138935
i3c: master: adi: free the IRQ before unregistering the master
Check your servers for CVE-2026-138935
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-138935 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:
i3c: master: adi: free the IRQ before unregistering the master
adi_i3c_master_irq() is requested with devm_request_irq(), so it stays registered when adi_i3c_master_remove() runs, and the writes masking the controller IRQ sources do not synchronize with a handler that is already running on another CPU. i3c_master_unregister() then frees the struct i3c_dev_desc objects that master->ibi.slots[] still point to, so the IBI path in adi_i3c_master_handle_ibi() can dereference freed memory.
Fix this by storing the IRQ number in the private structure and calling devm_free_irq() after the IRQ sources are masked, so a running handler is finished before the master is torn down.
This issue was found by an in-house static analysis tool.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086, before d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b affected from a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086, before 1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57 affected from a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086, before 1c1e2d90aa452764df66bb1dd774aa0d06d89cc8
Other versions: unaffected
|
| Linux |
affected 6.18 unaffected before 6.18 unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 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-138935 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138935
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-138935
trivy image --scanners vuln IMAGE | grep CVE-2026-138935
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/d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b git.kernel.org
- https://git.kernel.org/stable/c/1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57 git.kernel.org
- https://git.kernel.org/stable/c/1c1e2d90aa452764df66bb1dd774aa0d06d89cc8 git.kernel.org
Source: the record CVE-2026-138935 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