CVE-2026-72259: ASoC: mediatek: mt8192: Release reserved memory on cleanup
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8192: Release reserved memory on cleanup
The MT8192 AFE probe calls of_reserved_mem_device_init() and falls back to preallocated buffers when no reserved memory region is available. When the reserved memory assignment succeeds, however, the driver never releases it.
Register a devm cleanup action after a successful reserved-memory assignment so the assignment is released on probe failure and driver unbind.
The Linux kernel CVE team has assigned CVE-2026-72259 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6.102 with commit aa771d2928fedd7fb10aa373601eeee0ed8ccfae and fixed in 6.6.145 with commit 989cbe8cc86f4639f4e1fbe84ea0339759e92f1f Issue introduced in 6.12.42 with commit 3b13b5a4f29e50bbc3c464823cf8c94b93a16367 and fixed in 6.12.97 with commit 756cfc0039fe9dc1388ea231821508a78a087afe Issue introduced in 6.17 with commit ec4a10ca4a68ec97f12f4d17d7abb74db34987db and fixed in 6.18.40 with commit 51c367230e30ed80b49d5330831c1f2c59405b02 Issue introduced in 6.17 with commit ec4a10ca4a68ec97f12f4d17d7abb74db34987db and fixed in 7.1.5 with commit 4c9df23e121f1095f02cc7e1531ce3a6d74ff697 Issue introduced in 6.17 with commit ec4a10ca4a68ec97f12f4d17d7abb74db34987db and fixed in 7.2-rc1 with commit 965e17ae6751c5d3302430c8ebd650e72d45a85f Issue introduced in 6.15.10 with commit c2ab521120eb83103bc5927bb7b7aa84043f495f Issue introduced in 6.16.1 with commit 40bff79f167ff700cf1f203b1ad54b389d0e7189
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-72259
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/soc/mediatek/mt8192/mt8192-afe-pcm.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/989cbe8cc86f4639f4e1fbe84ea0339759e92f1f https://git.kernel.org/stable/c/756cfc0039fe9dc1388ea231821508a78a087afe https://git.kernel.org/stable/c/51c367230e30ed80b49d5330831c1f2c59405b02 https://git.kernel.org/stable/c/4c9df23e121f1095f02cc7e1531ce3a6d74ff697 https://git.kernel.org/stable/c/965e17ae6751c5d3302430c8ebd650e72d45a85f