Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f9ecc90b5d501b3a5a62d0685d5104f934bb0104, Kernel 6.5, Kernel 6.6 and 4 more.
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();
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a0bfde167b506423111ddb8cd71930497a40fc54 <f9ecc90b5d501b3a5a62d0685d5104f934bb0104, >=6.4.16 <6.5, >=6.5.3 <6.6, >=a0bfde167b506423111ddb8cd71930497a40fc54 <0108132d7d76d884e443d18b4f067cdf2811911b, >=a0bfde167b506423111ddb8cd71930497a40fc54 <581dd2dc168fe0ed2a7a5534a724f0d3751c93ae, =2ccde10127447c1a5caad8469fede945bdb62fdf, =6.6, =b475c1109251e30ec21fb574d72a1c71a4ab0039 | f9ecc90b5d501b3a5a62d0685d5104f934bb0104, 6.5, 6.6, 0108132d7d76d884e443d18b4f067cdf2811911b, 581dd2dc168fe0ed2a7a5534a724f0d3751c93ae |
| linux-kernel: Kernel | >=6.5.3 <6.6, >=6.6.0 <6.6.67, >=6.7.0 <6.12.6, >=6.4.16 <6.5 | 6.6, 6.6.67, 6.12.6, 6.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket