{"vuln_id":"CVE-2024-27005","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\ninterconnect: Don't access req_list while it's being manipulated\n\nThe icc_lock mutex was split into separate icc_lock and icc_bw_lock\nmutexes in [1] to avoid lockdep splats. However, this didn't adequately\nprotect access to icc_node::req_list.\n\nThe icc_set_bw() function will eventually iterate over req_list while\nonly holding icc_bw_lock, but req_list can be modified while only\nholding icc_lock. This causes races between icc_set_bw(), of_icc_get(),\nand icc_put().\n\nExample A:\n\n  CPU0                               CPU1\n  ----                               ----\n  icc_set_bw(path_a)\n    mutex_lock(&icc_bw_lock);\n                                     icc_put(path_b)\n                                       mutex_lock(&icc_lock);\n    aggregate_requests()\n      hlist_for_each_entry(r, ...\n                                       hlist_del(...\n        <r = invalid pointer>\n\nExample B:\n\n  CPU0                               CPU1\n  ----                               ----\n  icc_set_bw(path_a)\n    mutex_lock(&icc_bw_lock);\n                                     path_b = of_icc_get()\n                                       of_icc_get_by_index()\n                                         mutex_lock(&icc_lock);\n                                         path_find()\n                                           path_init()\n    aggregate_requests()\n      hlist_for_each_entry(r, ...\n                                             hlist_add_head(...\n        <r = invalid pointer>\n\nFix this by ensuring icc_bw_lock is always held before manipulating\nicc_node::req_list. The additional places icc_bw_lock is held don't\nperform any memory allocations, so we should still be safe from the\noriginal lockdep splats that motivated the separate locks.\n\n[1] commit af42269c3523 (\"interconnect: Fix locking for runpm vs reclaim\")","published_at":"2024-05-01T06:15:18.883000Z","modified_at":"2026-11-24T10:00:22.127780Z","first_seen_at":"2026-11-23T08:34:13.949119Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-362","CWE-667"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00189,"epss_percentile":0.084,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-27005"},"matched_alias":null,"items":[{"id":17485,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2024-27005: 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 spl…","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(... 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(... 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\") Affected: Debian:12:linux, Debian:13:linux, Debian:14:linux Fixed in: 6.8.9-1 References: https://security-tracker.debian.org/tracker/CVE-2024-27005","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2024-27005","published_at":"2024-05-01T06:15:18.883000Z","updated_at":"2026-11-24T10:00:22.127780Z","fetched_at":"2026-11-24T03:06:38.634377Z","severity":"high","cvss_score":7.8,"epss":0.00189,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":"12:linux","vuln_id":"CVE-2024-27005","vuln_ids":["CVE-2024-27005","DEBIAN-CVE-2024-27005"],"tags":["osv","debian","fix-available"],"cluster_id":13872,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17485","html":"https://vulnwatch.ve1ve2.com/item/17485"}},{"id":15230,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2024-27005: 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 spl…","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(... 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(... 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\") References: https://git.kernel.org/stable/c/19ec82b3cad1abef2a929262b8c1528f4e0c192d https://git.kernel.org/stable/c/4c65507121ea8e0b47fae6d2049c8688390d46b6 https://git.kernel.org/stable/c/c09cb28772494bba45a0c9066aeb5e5df47d17f8 https://git.kernel.org/stable/c/d0d04efa2e367921654b5106cc5c05e3757c2b42 https://git.kernel.org/stable/c/de1bf25b6d771abdb52d43546cf57ad775fb68a1 https://git.kernel.org/stable/c/fe549d8e976300d0dd75bd904eb216bed8b145e0 https://git.kernel.org/stable/c/4c65507121ea8e0b47fae6d2049c8688390d46b6 https://git.kernel.org/stable/c/d0d04efa2e367921654b5106cc5c05e3757c2b42 https://git.kernel.org/stable/c/de1bf25b6d771abdb52d43546cf57ad775fb68a1 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27005","published_at":"2024-05-01T06:15:18.883000Z","updated_at":"2026-11-23T08:17:11.863000Z","fetched_at":"2026-11-23T08:34:13.729454Z","severity":"high","cvss_score":7.8,"epss":0.00189,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2024-27005","vuln_ids":["CVE-2024-27005"],"tags":["CWE-362","CWE-667"],"cluster_id":13872,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/15230","html":"https://vulnwatch.ve1ve2.com/item/15230"}}]}