{"id":"CVE-2026-138935","aliases":["CVE-2026-138935"],"related":[],"kind":"vulnerability","state":"published","title":"i3c: master: adi: free the IRQ before unregistering the master","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: adi: free the IRQ before unregistering the master\n\nadi_i3c_master_irq() is requested with devm_request_irq(), so it stays\nregistered when adi_i3c_master_remove() runs, and the writes masking the\ncontroller IRQ sources do not synchronize with a handler that is already\nrunning on another CPU. i3c_master_unregister() then frees the\nstruct i3c_dev_desc objects that master->ibi.slots[] still point to, so\nthe IBI path in adi_i3c_master_handle_ibi() can dereference freed memory.\n\nFix this by storing the IRQ number in the private structure and calling\ndevm_free_irq() after the IRQ sources are masked, so a running handler\nis finished before the master is torn down.\n\nThis issue was found by an in-house static analysis tool.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: adi: free the IRQ before unregistering the master\n\nadi_i3c_master_irq() is requested with devm_request_irq(), so it stays\nregistered when adi_i3c_master_remove() runs, and the writes masking the\ncontroller IRQ sources do not synchronize with a handler that is already\nrunning on another CPU. i3c_master_unregister() then frees the\nstruct i3c_dev_desc objects that master->ibi.slots[] still point to, so\nthe IBI path in adi_i3c_master_handle_ibi() can dereference freed memory.\n\nFix this by storing the IRQ number in the private structure and calling\ndevm_free_irq() after the IRQ sources are masked, so a running handler\nis finished before the master is torn down.\n\nThis issue was found by an in-house static analysis tool.","source":"cvelist"}],"published":"2026-11-30T13:26:21.053Z","modified":"2026-11-30T14:17:54.133Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086","fixed":"d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b","status":"affected"},{"type":"git","introduced":"a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086","fixed":"1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57","status":"affected"},{"type":"git","introduced":"a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086","fixed":"1c1e2d90aa452764df66bb1dd774aa0d06d89cc8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c1e2d90aa452764df66bb1dd774aa0d06d89cc8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138935","url":"https://www.cve.org/CVERecord?id=CVE-2026-138935","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:21.053Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138935","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138935","licence":"Public domain","modified":"2026-11-30T14:17:54.133Z"}],"updatedAt":"2026-11-30T14:32:24.185Z","epss":{"score":0.00198,"percentile":0.10118,"date":"2026-12-01T12:00:22.000Z"}}