CVE-2024-56654
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/12/2024
Last modified:
06/01/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating<br />
<br />
The usage of rcu_read_(un)lock while inside list_for_each_entry_rcu is<br />
not safe since for the most part entries fetched this way shall be<br />
treated as rcu_dereference:<br />
<br />
Note that the value returned by rcu_dereference() is valid<br />
only within the enclosing RCU read-side critical section [1]_.<br />
For example, the following is **not** legal::<br />
<br />
rcu_read_lock();<br />
p = rcu_dereference(head.next);<br />
rcu_read_unlock();<br />
x = p->address; /* BUG!!! */<br />
rcu_read_lock();<br />
y = p->data; /* BUG!!! */<br />
rcu_read_unlock();
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.4.16 (including) | 6.5 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.5.3 (including) | 6.6.67 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.6 (excluding) |
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page