{"id":"CVE-2026-138935","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:54.133","lastModified":"2026-11-30T14:17:54.133","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/i3c/master/adi-i3c-master.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086","lessThan":"d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b","versionType":"git","status":"affected"},{"version":"a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086","lessThan":"1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57","versionType":"git","status":"affected"},{"version":"a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086","lessThan":"1c1e2d90aa452764df66bb1dd774aa0d06d89cc8","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/i3c/master/adi-i3c-master.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1c1e2d90aa452764df66bb1dd774aa0d06d89cc8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}