[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024080740-CVE-2024-42238-a5fd@gregkh>
Date: Wed, 7 Aug 2024 17:14:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-42238: firmware: cs_dsp: Return error if block header overflows file
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
firmware: cs_dsp: Return error if block header overflows file
Return an error from cs_dsp_power_up() if a block header is longer
than the amount of data left in the file.
The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop
while there was enough data left in the file for a valid region. This
protected against overrunning the end of the file data, but it didn't
abort the file processing with an error.
The Linux kernel CVE team has assigned CVE-2024-42238 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.16 with commit f6bc909e7673 and fixed in 6.1.100 with commit b8be70566b33
Issue introduced in 5.16 with commit f6bc909e7673 and fixed in 6.6.41 with commit 90ab191b7d18
Issue introduced in 5.16 with commit f6bc909e7673 and fixed in 6.9.10 with commit 6eabd2338380
Issue introduced in 5.16 with commit f6bc909e7673 and fixed in 6.10 with commit 959fe01e85b7
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-2024-42238
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/firmware/cirrus/cs_dsp.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/b8be70566b33abbd0180105070b4c67cfef8c44f
https://git.kernel.org/stable/c/90ab191b7d181057d71234e8632e06b5844ac38e
https://git.kernel.org/stable/c/6eabd23383805725eff416c203688b7a390d4153
https://git.kernel.org/stable/c/959fe01e85b7241e3ec305d657febbe82da16a02
Powered by blists - more mailing lists