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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

media: cx231xx: Fix cleanup path on failure

If cx231xxinitv4l2() fails the probe currently jumps to errinit, 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 i2cmuxaddadapter+0xcd8/0xeb0 Call Trace: i2cmuxaddadapter+0xcdc/0xeb0 cx231xxdevinit+0x2fb/0x1260 cx231xxusbprobe+0xc48/0x2140 usbprobeinterface+0x657/0xc70 ...

Jump to errvideoalt instead, which performs the full device cleanup before unregistering the V4L2 device.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the cx231xx probe cleanup path, jump to err_video_alt instead of err_init when cx231xx_init_v4l2() fails, so device and I2C resources are cleaned up before the V4L2 device is unregistered.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

Frequently Asked Questions

1

When can this issue be triggered?

It is triggered when cx231xx_init_v4l2() fails during cx231xx USB driver probing. A subsequent attempt to bind the driver can then encounter I2C mux resources left behind by the failed probe.

2

What are the observable signs of an affected system?

A later driver bind may log "can't create symlink to channel 0" and an i2c_mux_add_adapter warning when it encounters an existing "channel-0" link. The call trace can include cx231xx_dev_init and cx231xx_usb_probe.

3

What is the impact of the incomplete cleanup?

Analog devices and I2C resources can remain registered after the driver state is released. Those remaining devices may subsequently access released driver state.

4

What does the fix change?

The corrected failure path jumps to err_video_alt rather than err_init. This performs full device cleanup before the V4L2 device is unregistered.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203