CVE-2024-56654

CVE-2024-56654

High · published December 27, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
12.8
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating

The usage of rcu_read_(un)lock while inside list_for_each_entry_rcu is

not safe since for the most part entries fetched this way shall be

treated as rcu_dereference:

Note that the value returned by rcu_dereference() is valid

only within the enclosing RCU read-side critical section [1]_.

For example, the following is **not** legal::

rcu_read_lock();

p = rcu_dereference(head.next);

rcu_read_unlock();

x = p->address; /* BUG!!! */

rcu_read_lock();

y = p->data; /* BUG!!! */

rcu_read_unlock();

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00227 · 12.8th percentile
Published
2024-12-27T20:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.4.16, < 6.56.5
linux/linux_kernel≥ 6.5.3, < 6.6.676.6.67
linux/linux_kernel≥ 6.7, < 6.12.66.12.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 27 DEC 15:06Z
    Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
    cvelistv5