ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0919d8dd19f92e12829055c75fced9a454d644bf, Kernel 593d46fc6af9a0178a46e77d6d24b20d2314165f, Kernel f7dc71c1ce885f5d9f128037ebc75d9c0356e060 and 2 more.
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 dao_clear_{left,right}_input() functions") centralized the DAO input mapper clearing logic in dao_clear_input(), 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 dao_clear_input() 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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=e576e7843c0d65b82d4092e5b386d9fbf5bc10c3 <0919d8dd19f92e12829055c75fced9a454d644bf, >=e576e7843c0d65b82d4092e5b386d9fbf5bc10c3 <593d46fc6af9a0178a46e77d6d24b20d2314165f, >=e576e7843c0d65b82d4092e5b386d9fbf5bc10c3 <f7dc71c1ce885f5d9f128037ebc75d9c0356e060 | 0919d8dd19f92e12829055c75fced9a454d644bf, 593d46fc6af9a0178a46e77d6d24b20d2314165f, f7dc71c1ce885f5d9f128037ebc75d9c0356e060 |
| linux-kernel: Kernel | >=6.14.0 <6.18.57, >=6.19.0 <7.2.11 | 6.18.57, 7.2.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket