CVE-2026-139046
media: cx231xx: Fix cleanup path on failure
Description
In the Linux kernel, the following vulnerability has been resolved: media: cx231xx: Fix cleanup path on failure If cx231xx_init_v4l2() fails the probe currently jumps to err_init, which only unregisters the V4L2 device. The analog devices and I2C resources are left registered while the driver state can be released. A subsequent driver bind attempts to create the same I2C mux channel links and triggers a warning when the existing "channel-0" link is encountered. The remaining devices may also access released driver state. This produces the following warning can't create symlink to channel 0 WARNING: drivers/i2c/i2c-mux.c:403 at i2c_mux_add_adapter+0xcd8/0xeb0 Call Trace: i2c_mux_add_adapter+0xcdc/0xeb0 cx231xx_dev_init+0x2fb/0x1260 cx231xx_usb_probe+0xc48/0x2140 usb_probe_interface+0x657/0xc70 ... Jump to err_video_alt instead, which performs the full device cleanup before unregistering the V4L2 device.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Nov. 30, 2026, 2:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the patch to fix the resource cleanup path.
- Update the Linux kernel to include the fix.
- Test the driver after applying the patch.
- Verify all resources are released on probe failure.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139046.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139046 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139046
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139046 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139046 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: media: cx231xx: Fix cleanup path on failure If cx231xx_init_v4l2() fails the probe currently jumps to err_init, which only unregisters the V4L2 device. The analog devices and I2C resources are left registered while the driver state can be released. A subsequent driver bind attempts to create the same I2C mux channel links and triggers a warning when the existing "channel-0" link is encountered. The remaining devices may also access released driver state. This produces the following warning can't create symlink to channel 0 WARNING: drivers/i2c/i2c-mux.c:403 at i2c_mux_add_adapter+0xcd8/0xeb0 Call Trace: i2c_mux_add_adapter+0xcdc/0xeb0 cx231xx_dev_init+0x2fb/0x1260 cx231xx_usb_probe+0xc48/0x2140 usb_probe_interface+0x657/0xc70 ... Jump to err_video_alt instead, which performs the full device cleanup before unregistering the V4L2 device. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139046.json">CVE-2026-139046</a> Added Reference https://git.kernel.org/stable/c/094d4821283e2a6fe6f0647de691f4664c48b72e Added Reference https://git.kernel.org/stable/c/5afa77304fc3bd98eb950a2efa6272a08c4d58f8 Added Reference https://git.kernel.org/stable/c/617b0c1115217fed876c9fddea4a527a50d2ec5a Added Reference https://git.kernel.org/stable/c/6e30287eaf3e41b86dfb86df3b811526693d74b4 Added Reference https://git.kernel.org/stable/c/97783d8945570d00b6ed239f89c21a8566b0e667 Added Reference https://git.kernel.org/stable/c/c7091528ab213890694dada122a3f75a63c735e3 Added Reference https://git.kernel.org/stable/c/e18438e09766a569388598ac81bc5d3177e0839f Added Reference https://git.kernel.org/stable/c/e945ff72c4308b9a746b97cb7227a83e2d4fbda5