CVE-2026-99068: ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers
In the Linux kernel, the following vulnerability has been resolved:
ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers
Commit e576e7843c0d ("ALSA: ctxfi: Simplify daoclear{left,right}input() functions") centralized the DAO input mapper clearing logic in daoclearinput(), but omitted the kfree() calls.
It removes the mapper entries from the list and sets their pointers to NULL without freeing the allocated array. This leaks memory each time daoclearinput() is called.
Store the base pointer of the allocation before clearing the mapper entries and free the array after removing entries from the list.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Store the base pointer of the allocated DAO input mapper array before clearing mapper entries, remove the entries from the list, and free the array afterward.