CVE-2026-93283: i3c: master: Fix device_register() error path
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
i3c: master: Fix device_register() error path
When device_register() fails in i3c_master_register_new_i3c_devs(), put_device() is called to drop the reference taken by device_register(). That drops the last reference, so the device's release callback i3c_device_release() runs and frees the i3c_device.
Two problems follow from that:
i3c_device_release() does WARN_ON(i3cdev->desc), so it warns because desc->dev->desc still points back at the descriptor. Clear it before calling put_device().
After put_device() frees the i3c_device, desc->dev is left pointing at freed memory, so clear desc->dev as well. That prevents, for example, i3c_master_unregister_i3c_devs() seeing desc->dev as non-NULL and dereferencing it.
The Linux kernel CVE team has assigned CVE-2026-93283 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10.201 with commit 1832ed55df45f4145335ad992fb83813cdc58b5d and fixed in 5.10.270 with commit 5bf498623f8397d45f85f14cd631c5e5a565c2fb Issue introduced in 5.15.139 with commit d48fe8d98171e0fffdeaa8b37ce0a6444bff819b and fixed in 5.15.221 with commit 20a2b6df91fd782ef2ff551febef594d0b46a9a7 Issue introduced in 6.1.63 with commit 174ae0a3b89e7804e4ea3d31bd83d6e43f39568c and fixed in 6.1.188 with commit a14dbdf471001dd0601b0c491184990c178a199c Issue introduced in 6.6.2 with commit e49a51a96b531f1b4bcd8d358e645b6c74ef67e6 and fixed in 6.6.157 with commit d22ad96f1a0c89e0ba66a2facc7430f0923919e3 Issue introduced in 6.7 with commit cab63f64887616e3c4e31cfd8103320be6ebc8d3 and fixed in 6.12.110 with commit 7f8e2c4f3704d9774bb26b49b1ad6a60ae57d4a0 Issue introduced in 6.7 with commit cab63f64887616e3c4e31cfd8103320be6ebc8d3 and fixed in 6.18.52 with commit 7ef12e1dd06e442eebf370f6e53c41bd056d0f22 Issue introduced in 6.7 with commit cab63f64887616e3c4e31cfd8103320be6ebc8d3 and fixed in 7.2.6 with commit 6ecf17bf5fe8da51a6e3fc9e03a76898fcc5c6cf Issue introduced in 6.7 with commit cab63f64887616e3c4e31cfd8103320be6ebc8d3 and fixed in 7.3-rc1 with commit 74be657d98a8d684c0475f3cbd450ef2a30ffc73 Issue introduced in 5.4.261 with commit 204beeb509d37669de34560e83bb8abffe7ee63a Issue introduced in 6.5.12 with commit b24cf43d9babf1265a2bb0ae8d198267cef43b83
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93283
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/i3c/master.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/5bf498623f8397d45f85f14cd631c5e5a565c2fb https://git.kernel.org/stable/c/20a2b6df91fd782ef2ff551febef594d0b46a9a7 https://git.kernel.org/stable/c/a14dbdf471001dd0601b0c491184990c178a199c https://git.kernel.org/stable/c/d22ad96f1a0c89e0ba66a2facc7430f0923919e3 https://git.kernel.org/stable/c/7f8e2c4f3704d9774bb26b49b1ad6a60ae57d4a0 https://git.kernel.org/stable/c/7ef12e1dd06e442eebf370f6e53c41bd056d0f22 https://git.kernel.org/stable/c/6ecf17bf5fe8da51a6e3fc9e03a76898fcc5c6cf https://git.kernel.org/stable/c/74be657d98a8d684c0475f3cbd450ef2a30ffc73