CVE-2024-27005 json
interconnect: Don't access req_list while it's being manipulated
published 2024-05-01 2 y ago modified 2026-10-30 9 d ago also EUVD-2024-24267
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
interconnect: Don't access req_list while it's being manipulated
The icc_lock mutex was split into separate icc_lock and icc_bw_lock mutexes in [1] to avoid lockdep splats. However, this didn't adequately protect access to icc_node::req_list.
The icc_set_bw() function will eventually iterate over req_list while only holding icc_bw_lock, but req_list can be modified while only holding icc_lock. This causes races between icc_set_bw(), of_icc_get(), and icc_put().
Example A:
CPU0 CPU1 ---- ---- icc_set_bw(path_a) mutex_lock(&icc_bw_lock); icc_put(path_b) mutex_lock(&icc_lock); aggregate_requests() hlist_for_each_entry(r, ... hlist_del(... <r = invalid pointer>
Example B:
CPU0 CPU1 ---- ---- icc_set_bw(path_a) mutex_lock(&icc_bw_lock); path_b = of_icc_get() of_icc_get_by_index() mutex_lock(&icc_lock); path_find() path_init() aggregate_requests() hlist_for_each_entry(r, ... hlist_add_head(... <r = invalid pointer>
Fix this by ensuring icc_bw_lock is always held before manipulating icc_node::req_list. The additional places icc_bw_lock is held don't perform any memory allocations, so we should still be safe from the original lockdep splats that motivated the separate locks.
[1] commit af42269c3523 ("interconnect: Fix locking for runpm vs reclaim")
Patch / fix
- Linux Linux 5.15.151, 6.1.81, 6.6, 6.6.29, 6.8.8, 6.9
- linux Debian 14, Debian 13 6.8.9-1
debian advisories DEBIAN-CVE-2024-27005
- linux Ubuntu 24.04 LTS 6.8.0-38.38
- linux-aws Ubuntu 24.04 LTS 6.8.0-1011.12
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1010.11
- linux-gke Ubuntu 24.04 LTS 6.8.0-1006.9
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1008.8
- linux-azure Ubuntu 24.04 LTS 6.8.0-1010.10
- linux-intel Ubuntu 24.04 LTS 6.8.0-1007.14
- linux-raspi Ubuntu 24.04 LTS 6.8.0-1007.7
ubuntu advisories UBUNTU-CVE-2024-27005
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-40.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-40.1
- kernel-source Linux Micro 6.1, Linux Micro 6.0 6.4.0-39.1
- kernel-default Linux Micro 6.1, Linux Micro 6.0 6.4.0-39.1
- kernel-kvmsmall Linux Micro 6.1, Linux Micro 6.0 6.4.0-39.1
- kernel-default-base Linux Micro 6.1, Linux Micro 6.0 6.4.0-39.1.21.16
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.31.2
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.31.1
suse advisories SUSE-SU-2026:20845-1SUSE-SU-2026:20876-1SUSE-SU-2026:20477-1SUSE-SU-2026:20498-1SUSE-SU-2026:0587-1SUSE-SU-2026:0472-1
- git.kernel.org/stable/c/fe549d8e976300d0dd75bd904eb216bed8b145e0 commit
- git.kernel.org/stable/c/19ec82b3cad1abef2a929262b8c1528f4e0c192d commit
- git.kernel.org/stable/c/8401bc2c188030fb14d1cb43c402a1cf42d86dd2 commit
- git.kernel.org/stable/c/d0d04efa2e367921654b5106cc5c05e3757c2b42 commit
- git.kernel.org/stable/c/4c65507121ea8e0b47fae6d2049c8688390d46b6 commit
- git.kernel.org/stable/c/de1bf25b6d771abdb52d43546cf57ad775fb68a1 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-27005 updated cvss 5.5
kernel: interconnect: Don't access req_list while it's being manipulated
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H |
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
- Technology feeds
References
- git.kernel.org /stable/c/fe549d8e976300d0dd75bd904eb216bed8b145e0
- git.kernel.org /stable/c/19ec82b3cad1abef2a929262b8c1528f4e0c192d
- git.kernel.org /stable/c/8401bc2c188030fb14d1cb43c402a1cf42d86dd2
-
git.kernel.org
/stable/c/d0d04efa2e367921654b5106cc5c05e3757c2b42
patch
-
git.kernel.org
/stable/c/4c65507121ea8e0b47fae6d2049c8688390d46b6
patch
-
git.kernel.org
/stable/c/de1bf25b6d771abdb52d43546cf57ad775fb68a1
patch
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
Sources
- CVE List CVE-2024-27005
- NVD CVE-2024-27005
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.