Back

HIGH

ALSA: ac97: fix a double free in snd_ac97_controller_register()

Published Feb 4, 2026

Description

If ac97_add_adapter() fails, put_device() is the correct way to drop the device reference. kfree() is not required. Add kfree() if idr_alloc() fails and in ac97_adapter_release() to do the cleanup.

Found by code review.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (10)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Feb 4, 2026
Updated Aug 5, 2026
Reserved Jan 31, 2026
NVD
Status Deferred
Modified Jul 30, 2026
Red Hat
Severity Moderate
Public date Feb 4, 2026