CVE-2026-31511
Use-After-Free Vulnerability in Linux Bluetooth MGMT Component
Publication date: 2026-04-22
Last updated on: 2026-04-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 6.16.10 (inc) to 6.17 (exc) |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | From 6.19 (inc) to 6.19.11 (exc) |
| linux | linux_kernel | From 6.17.1 (inc) to 6.18.21 (exc) |
| linux | linux_kernel | From 6.12.59 (inc) to 6.12.80 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's Bluetooth management code. Specifically, it involves a dangling pointer issue in the function mgmt_add_adv_patterns_monitor_complete. The problem occurs because the condition checking was incorrect, causing the function mgmt_pending_free(cmd) to free memory (kfree(cmd)) without first unlinking the command from a list. As a result, the list still contains a pointer to freed memory, which is a dangling pointer.
Subsequent operations that traverse this list, such as mgmt_pending_foreach during __mgmt_power_off or another mgmt_pending_valid call, would then dereference this freed memory, potentially leading to undefined behavior or crashes.
How can this vulnerability impact me? :
This vulnerability can lead to the Linux kernel dereferencing freed memory due to a dangling pointer. This can cause system instability, crashes, or potentially allow an attacker to exploit the kernel memory corruption for privilege escalation or denial of service.