[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022655-CVE-2024-58004-cf99@gregkh>
Date: Wed, 26 Feb 2025 18:10:58 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-58004: media: intel/ipu6: remove cpu latency qos request on error
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
media: intel/ipu6: remove cpu latency qos request on error
Fix cpu latency qos list corruption like below. It happens when
we do not remove cpu latency request on error path and free
corresponding memory.
[ 30.634378] l7 kernel: list_add corruption. prev->next should be next (ffffffff9645e960), but was 0000000100100001. (prev=ffff8e9e877e20a8).
[ 30.634388] l7 kernel: WARNING: CPU: 2 PID: 2008 at lib/list_debug.c:32 __list_add_valid_or_report+0x83/0xa0
<snip>
[ 30.634640] l7 kernel: Call Trace:
[ 30.634650] l7 kernel: <TASK>
[ 30.634659] l7 kernel: ? __list_add_valid_or_report+0x83/0xa0
[ 30.634669] l7 kernel: ? __warn.cold+0x93/0xf6
[ 30.634678] l7 kernel: ? __list_add_valid_or_report+0x83/0xa0
[ 30.634690] l7 kernel: ? report_bug+0xff/0x140
[ 30.634702] l7 kernel: ? handle_bug+0x58/0x90
[ 30.634712] l7 kernel: ? exc_invalid_op+0x17/0x70
[ 30.634723] l7 kernel: ? asm_exc_invalid_op+0x1a/0x20
[ 30.634733] l7 kernel: ? __list_add_valid_or_report+0x83/0xa0
[ 30.634742] l7 kernel: plist_add+0xdd/0x140
[ 30.634754] l7 kernel: pm_qos_update_target+0xa0/0x1f0
[ 30.634764] l7 kernel: cpu_latency_qos_update_request+0x61/0xc0
[ 30.634773] l7 kernel: intel_dp_aux_xfer+0x4c7/0x6e0 [i915 1f824655ed04687c2b0d23dbce759fa785f6d033]
The Linux kernel CVE team has assigned CVE-2024-58004 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit f50c4ca0a82003b8a542c3332fd292cf1bc355a2 and fixed in 6.12.14 with commit 1496ec94bd38bdb25ca13b1dd4f8e7a6176ea89d
Issue introduced in 6.10 with commit f50c4ca0a82003b8a542c3332fd292cf1bc355a2 and fixed in 6.13.3 with commit 95275736185ecb71dc97a71d8d9d19e4ffb0a9eb
Issue introduced in 6.10 with commit f50c4ca0a82003b8a542c3332fd292cf1bc355a2 and fixed in 6.14-rc1 with commit facb541ff0805314e0b56e508f7d3cbd07af513c
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-58004
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/media/pci/intel/ipu6/ipu6-isys.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/1496ec94bd38bdb25ca13b1dd4f8e7a6176ea89d
https://git.kernel.org/stable/c/95275736185ecb71dc97a71d8d9d19e4ffb0a9eb
https://git.kernel.org/stable/c/facb541ff0805314e0b56e508f7d3cbd07af513c
Powered by blists - more mailing lists