# CVE-2026-139046: media: cx231xx: Fix cleanup path on failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:22.041Z
- Modified: 2026-11-30T14:18:10.067Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before 97783d8945570d00b6ed239f89c21a8566b0e667; from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before e18438e09766a569388598ac81bc5d3177e0839f; from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before e945ff72c4308b9a746b97cb7227a83e2d4fbda5; from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before 094d4821283e2a6fe6f0647de691f4664c48b72e; from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before 5afa77304fc3bd98eb950a2efa6272a08c4d58f8; from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before c7091528ab213890694dada122a3f75a63c735e3; from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before 617b0c1115217fed876c9fddea4a527a50d2ec5a; from 4d2a7d3509f52106c50007c1dc0b8d79e8040128 before 6e30287eaf3e41b86dfb86df3b811526693d74b4; 3.17 (not affected: before 3.17; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/97783d8945570d00b6ed239f89c21a8566b0e667>
- <https://git.kernel.org/stable/c/e18438e09766a569388598ac81bc5d3177e0839f>
- <https://git.kernel.org/stable/c/e945ff72c4308b9a746b97cb7227a83e2d4fbda5>
- <https://git.kernel.org/stable/c/094d4821283e2a6fe6f0647de691f4664c48b72e>
- <https://git.kernel.org/stable/c/5afa77304fc3bd98eb950a2efa6272a08c4d58f8>
- <https://git.kernel.org/stable/c/c7091528ab213890694dada122a3f75a63c735e3>
- <https://git.kernel.org/stable/c/617b0c1115217fed876c9fddea4a527a50d2ec5a>
- <https://git.kernel.org/stable/c/6e30287eaf3e41b86dfb86df3b811526693d74b4>

## Sources

- CVE List: [CVE-2026-139046](https://www.cve.org/CVERecord?id=CVE-2026-139046), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139046](https://nvd.nist.gov/vuln/detail/CVE-2026-139046), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139046 · Whole record: https://cve.day/CVE-2026-139046.json · Rebuilt by cve.day 2026-11-30T14:32:28.381Z
