CVE-2024-56654

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

State
Published
Severity
7.8 High
Published
Dec 27, 2024
Updated
Aug 5, 2026
Reserved
Dec 27, 2024

Read the record on cve.org

Description

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();

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a0bfde167b506423111ddb8cd71930497a40fc54 to before 0108132d7d76d884e443d18b4f067cdf2811911bAffected
  • a0bfde167b506423111ddb8cd71930497a40fc54 to before f9ecc90b5d501b3a5a62d0685d5104f934bb0104Affected
  • a0bfde167b506423111ddb8cd71930497a40fc54 to before 581dd2dc168fe0ed2a7a5534a724f0d3751c93aeAffected
  • b475c1109251e30ec21fb574d72a1c71a4ab0039Affected
  • 2ccde10127447c1a5caad8469fede945bdb62fdfAffected
  • 6.4.16 to before 6.5Affected
  • 6.5.3 to before 6.6Affected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.67 through 6.6.*Not affected
  • 6.12.6 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.