CVE-2024-56654

Source
https://cve.org/CVERecord?id=CVE-2024-56654
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56654.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56654
Downstream
AZL (1)
BELL (1)
DEBIAN (1)
MGASA (2)
OESA (2)
RHSA (1)
SUSE (8)
UBUNTU (1)
Related
Published
2024-12-27T15:06:18Z
Modified
2026-11-13T04:03:24Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
Details

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();
Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56654.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a0bfde167b506423111ddb8cd71930497a40fc54
Fixed
0108132d7d76d884e443d18b4f067cdf2811911b
Fixed
f9ecc90b5d501b3a5a62d0685d5104f934bb0104
Fixed
581dd2dc168fe0ed2a7a5534a724f0d3751c93ae
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b475c1109251e30ec21fb574d72a1c71a4ab0039
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2ccde10127447c1a5caad8469fede945bdb62fdf

Affected versions

v6.*
v6.4.16
v6.5.10
v6.5.11
v6.5.12
v6.5.13
v6.5.3
v6.5.4
v6.5.5
v6.5.6
v6.5.7
v6.5.8
v6.5.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56654.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.16
Fixed
6.5
Type
ECOSYSTEM
Events
Introduced
6.5.3
Fixed
6.6
Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.67
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56654.json"