Back

LOW

ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()

Published Dec 24, 2025

Description

If clk_hw_register() fails, the corresponding clk should not be unregistered.

To handle errors from loops, clean up partial iterations before doing the goto. So add a clk_hw_unregister(). Then use a while (--i >= 0) loop in the unwind section.

Affected products

Remediation

Red Hat statement

This is an error handling path bug that only manifests during driver probe failures for the da7219 audio codec. The issue requires specific hardware (Dialog Semiconductor DA7219) and a failure condition during clock registration. Normal operation is unaffected, and the practical exploit scenario is very limited.

Weaknesses (0)

No CWE recorded.

References (11)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Dec 24, 2025
Updated May 11, 2026
Reserved Dec 24, 2025

CISA Vulnrichment

No data

NVD

Status Deferred
Modified Jun 17, 2026

Red Hat

Severity Low
Public date Dec 24, 2025
Bugzilla 2424979

ENISA EUVD

Assigner Linux
Published Dec 24, 2025
Updated May 11, 2026

GitHub

No data