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

media: i2c/tw9906: Fix potential memory leak in tw9906_probe()

In one of the error paths in tw9906_probe(), the memory allocated in
v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that
by calling v4l2_ctrl_handler_free() on the handler in that error path.
Published: 2026-05-06
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel media driver for the TW9906 I2C device contains a memory leak introduced during error handling in the probe function. Memory allocated via v4l2_ctrl_handler_init and v4l2_ctrl_new_std is not freed in an error path, allowing an attacker to gradually consume system memory, potentially leading to denial of service or system instability. This weakness corresponds to CWE-401.

Affected Systems

The flaw resides in the Linux kernel, specifically in the tw9906 driver within the media subsystem. The affected kernel versions are not explicitly specified, so any kernel release that includes this driver prior to the commit that fixes the leak is vulnerable. Systems running a Linux kernel version that still contains the problematic tw9906_probe implementation without the v4l2_ctrl_handler_free call are impacted.

Risk and Exploitability

No EPSS is available and the vulnerability is not listed in the CISA KEV catalog, so it is not known to be actively exploited today. The absence of a publicly known CVSS score suggests moderate risk; the memory leak could be exploited by a local attacker with sufficient privileges or by an attacker who can force the kernel to load the TW9906 driver, such as through a malicious I2C device. The actual impact requires sustained conditions and is less likely to be a high‑impact vector, but provisioning for an eventual denial of service is prudent.

Generated by OpenCVE AI on May 6, 2026 at 14:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the tw9906 probe fix from the 0c333385 commit
  • If the driver is not required, disable or blacklist the i2c/tw9906 module by adjusting the kernel configuration or adding the module to a blacklist
  • Monitor system memory usage for abnormal spikes and enforce strict access controls on I2C device nodes to limit local attacker privileges

Generated by OpenCVE AI on May 6, 2026 at 14:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 06 May 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 06 May 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: i2c/tw9906: Fix potential memory leak in tw9906_probe() In one of the error paths in tw9906_probe(), the memory allocated in v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that by calling v4l2_ctrl_handler_free() on the handler in that error path.
Title media: i2c/tw9906: Fix potential memory leak in tw9906_probe()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-06T11:28:38.246Z

Reserved: 2026-05-01T14:12:55.996Z

Link: CVE-2026-43246

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-06T12:16:45.103

Modified: 2026-05-06T13:07:51.607

Link: CVE-2026-43246

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-06T18:15:09Z

Weaknesses