Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < 97783d8945570d00b6ed239f89c21a8566b0e667affected
  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < e18438e09766a569388598ac81bc5d3177e0839faffected
  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < e945ff72c4308b9a746b97cb7227a83e2d4fbda5affected
  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < 094d4821283e2a6fe6f0647de691f4664c48b72eaffected
  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < 5afa77304fc3bd98eb950a2efa6272a08c4d58f8affected
  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < c7091528ab213890694dada122a3f75a63c735e3affected
  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < 617b0c1115217fed876c9fddea4a527a50d2ec5aaffected
  • 4d2a7d3509f52106c50007c1dc0b8d79e8040128 to < 6e30287eaf3e41b86dfb86df3b811526693d74b4affected

Linux Linux

Default version status: affected

  • 3.17affected
  • 0 to < 3.17unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.117 to ≤ 6.12.*unaffected
  • 6.18.63 to ≤ 6.18.*unaffected
  • 7.3.4 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References