{"id":"CVE-2024-56654","aliases":["CVE-2024-56654"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_event: Fix using rcu_read_(un)lock while iterating\n\nThe usage of rcu_read_(un)lock while inside list_for_each_entry_rcu is\nnot safe since for the most part entries fetched this way shall be\ntreated as rcu_dereference:\n\n\tNote that the value returned by rcu_dereference() is valid\n\tonly within the enclosing RCU read-side critical section [1]_.\n\tFor example, the following is **not** legal::\n\n\t\trcu_read_lock();\n\t\tp = rcu_dereference(head.next);\n\t\trcu_read_unlock();\n\t\tx = p->address;\t/* BUG!!! */\n\t\trcu_read_lock();\n\t\ty = p->data;\t/* BUG!!! */\n\t\trcu_read_unlock();","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_event: Fix using rcu_read_(un)lock while iterating\n\nThe usage of rcu_read_(un)lock while inside list_for_each_entry_rcu is\nnot safe since for the most part entries fetched this way shall be\ntreated as rcu_dereference:\n\n\tNote that the value returned by rcu_dereference() is valid\n\tonly within the enclosing RCU read-side critical section [1]_.\n\tFor example, the following is **not** legal::\n\n\t\trcu_read_lock();\n\t\tp = rcu_dereference(head.next);\n\t\trcu_read_unlock();\n\t\tx = p->address;\t/* BUG!!! */\n\t\trcu_read_lock();\n\t\ty = p->data;\t/* BUG!!! */\n\t\trcu_read_unlock();","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Bluetooth: hci_event: Se solucionó el uso de rcu_read_(un)lock durante la iteración El uso de rcu_read_(un)lock mientras se está dentro de list_for_each_entry_rcu no es seguro ya que en la mayor parte de los casos las entradas obtenidas de esta manera se tratarán como rcu_dereference: Tenga en cuenta que el valor devuelto por rcu_dereference() solo es válido dentro de la sección crítica del lado de lectura de RCU [1]_. Por ejemplo, lo siguiente **no** es legal:: rcu_read_lock(); p = rcu_dereference(head.next); rcu_read_unlock(); x = p-&gt;address; /* ¡ERROR! */ rcu_read_lock(); y = p-&gt;data; /* ¡ERROR! */ rcu_read_unlock();","source":"nvd"}],"published":"2024-12-27T15:06:18.224Z","modified":"2026-08-05T11:45:52.018Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a0bfde167b506423111ddb8cd71930497a40fc54","fixed":"0108132d7d76d884e443d18b4f067cdf2811911b","status":"affected"},{"type":"git","introduced":"a0bfde167b506423111ddb8cd71930497a40fc54","fixed":"f9ecc90b5d501b3a5a62d0685d5104f934bb0104","status":"affected"},{"type":"git","introduced":"a0bfde167b506423111ddb8cd71930497a40fc54","fixed":"581dd2dc168fe0ed2a7a5534a724f0d3751c93ae","status":"affected"},{"type":"git","version":"b475c1109251e30ec21fb574d72a1c71a4ab0039","status":"affected"},{"type":"git","version":"2ccde10127447c1a5caad8469fede945bdb62fdf","status":"affected"},{"type":"semver","introduced":"6.4.16","fixed":"6.5","status":"affected"},{"type":"semver","introduced":"6.5.3","fixed":"6.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.67","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.6","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.4.16","fixed":"6.5"},{"status":"affected","introduced":"6.5.3","fixed":"6.6.67"},{"status":"affected","introduced":"6.7","fixed":"6.12.6"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0108132d7d76d884e443d18b4f067cdf2811911b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9ecc90b5d501b3a5a62d0685d5104f934bb0104","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/581dd2dc168fe0ed2a7a5534a724f0d3751c93ae","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:00:19.506Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56654","url":"https://www.cve.org/CVERecord?id=CVE-2024-56654","licence":"CVE Terms of Use","modified":"2026-08-05T11:45:52.018Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56654","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56654","licence":"Public domain","modified":"2026-08-04T11:22:18.380Z"}],"updatedAt":"2026-11-25T22:58:50.505Z","epss":{"score":0.00227,"percentile":0.1441,"date":"2026-12-01T12:00:22.000Z"}}