CVE-2026-138988

media: marvell: manage the MMP camera clock provider

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

media: marvell: manage the MMP camera clock provider

mmpcam_probe() registers an OF clock provider before requesting the IRQ.
Neither a later probe failure nor driver removal unregisters that provider,
although the underlying clock is registered with devm_clk_register().
This leaves the provider referring to a clock whose lifetime has ended.

Use devm_of_clk_add_hw_provider() with the existing mclk_hw so the provider
is unregistered before the managed clock and camera storage are released.

This issue was identified during our ongoing static-analysis research while
reviewing kernel code.

Analysis

AI-generated

Technical impact

This flaw occurs when the Marvell MMP camera driver registers an OF clock provider before it has fully established the underlying clock and interrupts. Neither a subsequent probe failure nor the driver's removal path cleans up this provider, so the provider ends up pointing to a clock object whose lifetime has already expired. The result is a dangling reference that can trigger a crash or other undefined behaviour when the kernel later attempts to use the provider. The weakness is a classic use‑after‑free scenario that undermines the stability of the system.

Affected Systems

The bug affects Linux kernel media drivers that use the Marvell MMP camera interface. No specific kernel version ranges are listed in the advisory, so any kernel that includes the unpatched mmpcam driver is potentially vulnerable.

Risk and Exploitability

The CVSS score is not provided and the EPSS entry is absent, so the exact likelihood of exploitation is unclear. The flaw is listed as not in CISA KEV, indicating it is not a known exploited vulnerability. An attacker would need privileged access to load or restart the camera driver on a target device to trigger the provider deregistration failure. The attack vector is therefore limited to local or privileged execution and could result in loss of availability for that device or, in worst cases, a kernel crash.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s kernel patch that defers OF clock provider registration until all resources are confirmed and ensures the provider is unregistered on probe failure or driver removal.
  • Confirm that all probe error paths and module_remove() routines invoke devm_of_clk_del_provider() or equivalent cleanup for the MMP camera clock provider.
  • If a patch is not yet released, disable or remove the Marvell MMP camera device to avoid use of the dangling provider, or reboot into a kernel that does not load the affected driver.

Generated by OpenCVE AI on November 30, 2026 at 18:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: marvell: manage the MMP camera clock provider mmpcam_probe() registers an OF clock provider before requesting the IRQ. Neither a later probe failure nor driver removal unregisters that provider, although the underlying clock is registered with devm_clk_register(). This leaves the provider referring to a clock whose lifetime has ended. Use devm_of_clk_add_hw_provider() with the existing mclk_hw so the provider is unregistered before the managed clock and camera storage are released. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
Title media: marvell: manage the MMP camera clock provider
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM