CVE-2026-138935: i3c: master: adi: free the IRQ before unregistering the master

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

adii3cmasterirq() is requested with devmrequestirq(), so it stays registered when adii3cmasterremove() runs, and the writes masking the controller IRQ sources do not synchronize with a handler that is already running on another CPU. i3cmasterunregister() then frees the struct i3cdevdesc objects that master->ibi.slots[] still point to, so the IBI path in adii3cmasterhandleibi() can dereference freed memory.

Fix this by storing the IRQ number in the private structure and calling devmfreeirq() 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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Store the IRQ number in the private structure, mask the IRQ sources, then call devm_free_irq() before i3c_master_unregister() so any running handler finishes before the master is torn down.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203