CVE-2026-31511
Bluetooth: MGMT: Fix dangling pointer on mgmt_add_adv_patterns_monitor_complete
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.
INFO
Published Date :
April 22, 2026, 2:16 p.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest patched version.
- Rebuild and deploy the updated kernel.
- Verify the integrity of the Bluetooth management module.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31511.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31511 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31511
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31511 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31511 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: Bluetooth: MGMT: Corrección de puntero colgante en mgmt_add_adv_patterns_monitor_complete Esto corrige la comprobación de la condición para que mgmt_pending_valid se ejecute siempre que status != -ECANCELED; de lo contrario, llamar a mgmt_pending_free(cmd) haría kfree(cmd) sin desvincularlo de la lista primero, dejando un puntero colgante. Cualquier recorrido de lista posterior (por ejemplo, mgmt_pending_foreach durante __mgmt_power_off, o otra llamada a mgmt_pending_valid) desreferenciaría memoria liberada. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-416 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-31511', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:10:27.942863Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/2074dfffad76981ca451cb7fc98703d04ac562fe Added Reference https://git.kernel.org/stable/c/340666172cf747de58c283d2eef1f335f050538b Added Reference https://git.kernel.org/stable/c/3a89c33deffb3cb7877a7ea2e50734cd12b064f2 Added Reference https://git.kernel.org/stable/c/5f5fa4cd35f707344f65ce9e225b6528691dbbaa Added Reference https://git.kernel.org/stable/c/bafec9325d4de26b6c49db75b5d5172de652aae0 Removed Reference https://git.kernel.org/stable/c/2074dfffad76981ca451cb7fc98703d04ac562fe Removed Reference https://git.kernel.org/stable/c/340666172cf747de58c283d2eef1f335f050538b Removed Reference https://git.kernel.org/stable/c/3a89c33deffb3cb7877a7ea2e50734cd12b064f2 Removed Reference https://git.kernel.org/stable/c/5f5fa4cd35f707344f65ce9e225b6528691dbbaa Removed Reference https://git.kernel.org/stable/c/bafec9325d4de26b6c49db75b5d5172de652aae0 Removed Reference Type https://git.kernel.org/stable/c/340666172cf747de58c283d2eef1f335f050538b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/3a89c33deffb3cb7877a7ea2e50734cd12b064f2 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/5f5fa4cd35f707344f65ce9e225b6528691dbbaa Types: Patch Removed Reference Type https://git.kernel.org/stable/c/bafec9325d4de26b6c49db75b5d5172de652aae0 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0b60eb04b8524e1b4b3f07fea0d16fda9a677d9a', 'lessThan': '2074dfffad76981ca451cb7fc98703d04ac562fe', 'versionType': 'git'}, {'status': 'affected', 'version': 'd71b98f253b079cbadc83266383f26fe7e9e103b', 'lessThan': '340666172cf747de58c283d2eef1f335f050538b', 'versionType': 'git'}, {'status': 'affected', 'version': '302a1f674c00dd5581ab8e493ef44767c5101aab', 'lessThan': 'bafec9325d4de26b6c49db75b5d5172de652aae0', 'versionType': 'git'}, {'status': 'affected', 'version': '302a1f674c00dd5581ab8e493ef44767c5101aab', 'lessThan': '3a89c33deffb3cb7877a7ea2e50734cd12b064f2', 'versionType': 'git'}, {'status': 'affected', 'version': '302a1f674c00dd5581ab8e493ef44767c5101aab', 'lessThan': '5f5fa4cd35f707344f65ce9e225b6528691dbbaa', 'versionType': 'git'}, {'status': 'affected', 'version': '87a1f16f07c6c43771754075e08f45b41d237421', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.59', 'lessThan': '6.12.80', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.16.10', 'lessThan': '6.17', 'versionType': 'semver'}], 'programFiles': ['net/bluetooth/mgmt.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.17'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.17', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.80', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.21', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.11', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/bluetooth/mgmt.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 17, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/2074dfffad76981ca451cb7fc98703d04ac562fe -
Initial Analysis by [email protected]
Apr. 28, 2026
Action Type Old Value New Value Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.16.10 up to (excluding) 6.17 *cpe:2.3:o:linux:linux_kernel:6.17:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.17.1 up to (excluding) 6.18.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12.59 up to (excluding) 6.12.80 Added Reference Type kernel.org: https://git.kernel.org/stable/c/340666172cf747de58c283d2eef1f335f050538b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3a89c33deffb3cb7877a7ea2e50734cd12b064f2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5f5fa4cd35f707344f65ce9e225b6528691dbbaa Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bafec9325d4de26b6c49db75b5d5172de652aae0 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 22, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/340666172cf747de58c283d2eef1f335f050538b Added Reference https://git.kernel.org/stable/c/3a89c33deffb3cb7877a7ea2e50734cd12b064f2 Added Reference https://git.kernel.org/stable/c/5f5fa4cd35f707344f65ce9e225b6528691dbbaa Added Reference https://git.kernel.org/stable/c/bafec9325d4de26b6c49db75b5d5172de652aae0