Not scored
media: cx231xx: Fix cleanup path on failure
- Severity
- Not scored
- Exploit likelihood
- 0.37% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139046 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139046 changed 2026-11-30 | Public domain |