Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-138935

i3c: master: adi: free the IRQ before unregistering the master

Published 30/11/2026 · Updated 30/11/2026 · Linux

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.

Affected products and versions

Linux Linuxa79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 – < d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b · a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 – < 1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57 · a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 – < 1c1e2d90aa452764df66bb1dd774aa0d06d89cc8Fixed in: d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b · 1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57 · 1c1e2d90aa452764df66bb1dd774aa0d06d89cc8
Linux Linux6.18Fixed in: 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.