CVE-2024-56654

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56654
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56654.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56654
Downstream
Related
Published
2024-12-27T15:15:25Z
Modified
2025-01-06T22:33:09Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Bluetooth: hcievent: Fix using rcuread_(un)lock while iterating

The usage of rcuread(un)lock while inside listforeachentryrcu 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();
References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}