Bug 2300407 (CVE-2024-41038) - CVE-2024-41038 kernel: firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers
Summary: CVE-2024-41038 kernel: firmware: cs_dsp: Prevent buffer overrun when processi...
Keywords:
Status: NEW
Alias: CVE-2024-41038
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301549
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 15:33 UTC by OSIDB Bzimport
Modified: 2024-12-04 00:46 UTC (History)
4 users (show)

Fixed In Version: kernel 6.1.100, kernel 6.6.41, kernel 6.9.10, kernel 6.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:7043 0 None None None 2024-09-24 09:43:22 UTC
Red Hat Product Errata RHBA-2024:7198 0 None None None 2024-09-26 09:49:03 UTC
Red Hat Product Errata RHBA-2024:7236 0 None None None 2024-09-26 14:37:53 UTC
Red Hat Product Errata RHBA-2024:7637 0 None None None 2024-10-03 14:46:11 UTC
Red Hat Product Errata RHBA-2024:8227 0 None None None 2024-10-17 06:46:24 UTC
Red Hat Product Errata RHSA-2024:10771 0 None None None 2024-12-04 00:46:09 UTC
Red Hat Product Errata RHSA-2024:7000 0 None None None 2024-09-24 02:35:02 UTC
Red Hat Product Errata RHSA-2024:7001 0 None None None 2024-09-24 00:39:39 UTC
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:36:36 UTC

Description OSIDB Bzimport 2024-07-29 15:33:02 UTC
In the Linux kernel, the following vulnerability has been resolved:

firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers

Check that all fields of a V2 algorithm header fit into the available
firmware data buffer.

The wmfw V2 format introduced variable-length strings in the algorithm
block header. This means the overall header length is variable, and the
position of most fields varies depending on the length of the string
fields. Each field must be checked to ensure that it does not overflow
the firmware data buffer.

As this ia bugfix patch, the fixes avoid making any significant change to
the existing code. This makes it easier to review and less likely to
introduce new bugs.

Comment 1 Mauro Matteo Cascella 2024-07-30 09:12:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072923-CVE-2024-41038-41ba@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 09:12:52 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301549]

Comment 131 errata-xmlrpc 2024-09-24 00:39:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:7001 https://access.redhat.com/errata/RHSA-2024:7001

Comment 132 errata-xmlrpc 2024-09-24 02:35:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:7000 https://access.redhat.com/errata/RHSA-2024:7000

Comment 133 errata-xmlrpc 2024-11-12 09:36:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315

Comment 134 errata-xmlrpc 2024-12-04 00:46:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2024:10771 https://access.redhat.com/errata/RHSA-2024:10771


Note You need to log in before you can comment on or make changes to this bug.