CVE-2026-138935
publishedi3c: master: adi: free the IRQ before unregistering the master
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 to < d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b · a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 to < 1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57 · a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 to < 1c1e2d90aa452764df66bb1dd774aa0d06d89cc8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 to < d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b (affected · git)a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 to < 1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57 (affected · git)a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086 to < 1c1e2d90aa452764df66bb1dd774aa0d06d89cc8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
i3c: master: adi: free the IRQ before unregistering the master
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6c9358a5da6cfbe51960e4fdf79c8c229328669519235712a4b4cd5cfb6daf07
- Ingested
- 30 Nov 2026, 13:36:39 UTC
- Source record
- Official CVE record