CVE-2026-31511: Linux kernel · Bluetooth: MGMT: Fix dangling pointer on mgmt_add_adv_patterns_monitor_complete
Affects Linux kernelSource CVE Database V5
Not known to be exploited · CVSS 7.8 High · fixed in bafec9325d4de26b6c49db75b5d5172de652aae0 : patch Linux kernel soon.
Data as of 26 Oct 2026, 13:07 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-10-16.
- Patch
- Available – fixed in bafec9325d4de26b6c49db75b5d5172de652aae0, 340666172cf747de58c283d2eef1f335f050538b, 2074dfffad76981ca451cb7fc98703d04ac562fe +4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Fix dangling pointer on mgmt_add_adv_patterns_monitor_complete This fixes the condition checking so mgmt_pending_valid is executed whenever status != -ECANCELED otherwise calling mgmt_pending_free(cmd) would kfree(cmd) without unlinking it from the list first, leaving a dangling pointer. Any subsequent list traversal (e.g., mgmt_pending_foreach during __mgmt_power_off, or another mgmt_pending_valid call) would dereference freed memory.
References
- git.kernel.org/stable/c/2074dfffad76981ca451cb7fc98703d04ac562fe (opens in a new tab)
- git.kernel.org/stable/c/340666172cf747de58c283d2eef1f335f050538b (opens in a new tab)
- git.kernel.org/stable/c/bafec9325d4de26b6c49db75b5d5172de652aae0 (opens in a new tab)
- git.kernel.org/stable/c/3a89c33deffb3cb7877a7ea2e50734cd12b064f2 (opens in a new tab)
- git.kernel.org/stable/c/5f5fa4cd35f707344f65ce9e225b6528691dbbaa (opens in a new tab)