Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ca642da4b33d385c5a633287e1c4155f1ea09638 before c5c7c7b6cfae73c46e4544a9ef08ff89231a670d; affected ca642da4b33d385c5a633287e1c4155f1ea09638 before d8ac49391a1562dc784fc91e810e696284cb647e; affected ca642da4b33d385c5a633287e1c4155f1ea09638 before b15782627b6562f7b6d628f4699316f26340f835; affected ca642da4b33d385c5a633287e1c4155f1ea09638 before 24b399f51812d727dc25d7814c4d7e0cca38201e; affected ca642da4b33d385c5a633287e1c4155f1ea09638 before d736eba9c453fedce664fdf592c8b71ecff1932b |
| Linux / Linux | affected 5.15; unaffected 0 before 5.15; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c5c7c7b6cfae73c46e4544a9ef08ff89231a670d
- https://git.kernel.org/stable/c/d8ac49391a1562dc784fc91e810e696284cb647e
- https://git.kernel.org/stable/c/b15782627b6562f7b6d628f4699316f26340f835
- https://git.kernel.org/stable/c/24b399f51812d727dc25d7814c4d7e0cca38201e
- https://git.kernel.org/stable/c/d736eba9c453fedce664fdf592c8b71ecff1932b