CVE-2026-68227: media: cx231xx: fix devres lifetime
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081016-CVE-2026-68227-a1a8@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: media: cx231xx: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the driver state lifetime so that it is released on driver unbind. The Linux kernel CVE team has assigned CVE-2026-68227 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit 184a82784d50ad82aadc3917a3bdd8314a0e9b9b and fixed in 6.6.148 with commit a373f1a5137e96549a795e7fb9efb5de0ae1d065 Issue introduced in 3.17 with commit 184a82784d50ad82aadc3917a3bdd8314a0e9b9b and fixed in 6.12.101 with commit c5ccb01eb1107acb6aab8ce8fe5a523f215c837e Issue introduced in 3.17 with commit 184a82784d50ad82aadc3917a3bdd8314a0e9b9b and fixed in 6.18.42 with commit f468b7ee5d6332b01e6c538179a4c720e6dae93b Issue introduced in 3.17 with commit 184a82784d50ad82aadc3917a3bdd8314a0e9b9b and fixed in 7.1.6 with commit e797e252bfb3d0d4b3d38e4faef817e05869c240 Issue introduced in 3.17 with commit 184a82784d50ad82aadc3917a3bdd8314a0e9b9b and fixed in 7.2-rc1 with commit 7d6358ab02866e5b7ed8d3a00805297617bbb0ec 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-68227 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/media/usb/cx231xx/cx231xx-cards.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/a373f1a5137e96549a795e7fb9efb5de0ae1d065 https://git.kernel.org/stable/c/c5ccb01eb1107acb6aab8ce8fe5a523f215c837e https://git.kernel.org/stable/c/f468b7ee5d6332b01e6c538179a4c720e6dae93b https://git.kernel.org/stable/c/e797e252bfb3d0d4b3d38e4faef817e05869c240 https://git.kernel.org/stable/c/7d6358ab02866e5b7ed8d3a00805297617bbb0ec