CVE-2026-99068: ALSA: ctxfi: Fix memory leakage when clearing DAO input mappers
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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 indao_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.
The Linux kernel CVE team has assigned CVE-2026-99068 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit e576e7843c0d65b82d4092e5b386d9fbf5bc10c3 and fixed in 6.18.57 with commit f7dc71c1ce885f5d9f128037ebc75d9c0356e060 Issue introduced in 6.14 with commit e576e7843c0d65b82d4092e5b386d9fbf5bc10c3 and fixed in 7.2.11 with commit 0919d8dd19f92e12829055c75fced9a454d644bf Issue introduced in 6.14 with commit e576e7843c0d65b82d4092e5b386d9fbf5bc10c3 and fixed in 7.3 with commit 593d46fc6af9a0178a46e77d6d24b20d2314165f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99068
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/pci/ctxfi/ctdaio.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f7dc71c1ce885f5d9f128037ebc75d9c0356e060 https://git.kernel.org/stable/c/0919d8dd19f92e12829055c75fced9a454d644bf https://git.kernel.org/stable/c/593d46fc6af9a0178a46e77d6d24b20d2314165f