CVE-2026-80624: mfd: cs42l43: Sanity check firmware size
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mfd: cs42l43: Sanity check firmware size
Currently the code checks if a firmware was received, however it does not verify that the firmware size is larger than the firmware header. As the firmware pointer is dereferenced as a pointer to the header structure this could lead to an out of bounds memory access. Add the missing check.
The Linux kernel CVE team has assigned CVE-2026-80624 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6 with commit ace6d14481386ec6c1b63cc2b24c71433a583dc2 and fixed in 6.6.145 with commit 2ce02059ceb6311a33026b62e6e4dc4ed22a3aef Issue introduced in 6.6 with commit ace6d14481386ec6c1b63cc2b24c71433a583dc2 and fixed in 6.12.97 with commit 197a4c54d8a94fe2fb7829661b29f0859c10feb5 Issue introduced in 6.6 with commit ace6d14481386ec6c1b63cc2b24c71433a583dc2 and fixed in 6.18.40 with commit d35e4032f16d7621468c8b56816e7935ebf590a7 Issue introduced in 6.6 with commit ace6d14481386ec6c1b63cc2b24c71433a583dc2 and fixed in 7.1.5 with commit 17d79248b4f370663f9d351409a130fc1ed9416d Issue introduced in 6.6 with commit ace6d14481386ec6c1b63cc2b24c71433a583dc2 and fixed in 7.2 with commit b6ef1a74b3ec254f87a6a3c554fe8f8083ebd37c
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-80624
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:
drivers/mfd/cs42l43.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/2ce02059ceb6311a33026b62e6e4dc4ed22a3aef https://git.kernel.org/stable/c/197a4c54d8a94fe2fb7829661b29f0859c10feb5 https://git.kernel.org/stable/c/d35e4032f16d7621468c8b56816e7935ebf590a7 https://git.kernel.org/stable/c/17d79248b4f370663f9d351409a130fc1ed9416d https://git.kernel.org/stable/c/b6ef1a74b3ec254f87a6a3c554fe8f8083ebd37c