ALSA: ice1712: Fix the card leak at probe error with the auto-cleanup
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.157, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: ice1712: Fix the card leak at probe error with the auto-cleanup snd_ice1712_probe() performs multiple initialization steps after snd_card_new(), but directly returns on failures from later steps without releasing the ALSA card, causing resource leaks when probing fails. Use snd_devm_card_new() together with scope-based cleanup via __free(snd_card_unref), and clear the card pointer after successful registration to keep it alive.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ca642da4b33d385c5a633287e1c4155f1ea09638 · fixed in c5c7c7b6cfae73c46e4544a9ef08ff89231a670d; From ca642da4b33d385c5a633287e1c4155f1ea09638 · fixed in d8ac49391a1562dc784fc91e810e696284cb647e; From ca642da4b33d385c5a633287e1c4155f1ea09638 · fixed in b15782627b6562f7b6d628f4699316f26340f835; From ca642da4b33d385c5a633287e1c4155f1ea09638 · fixed in 24b399f51812d727dc25d7814c4d7e0cca38201e; From ca642da4b33d385c5a633287e1c4155f1ea09638 · fixed in d736eba9c453fedce664fdf592c8b71ecff1932b
- Linux Linux
5.15
- KernelLinux
From 5.15.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6