# CVE-2026-43059: Bluetooth: MGMT: Fix list corruption and UAF in command complete handlers

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-05-05T15:17:25.727Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

Bluetooth: MGMT: Fix list corruption and UAF in command complete handlers

Commit 302a1f674c00 ("Bluetooth: MGMT: Fix possible UAFs") introduced
mgmt_pending_valid(), which not only validates the pending command but
also unlinks it from the pending list if it is valid. This change in
semantics requires updates to several completion handlers to avoid list
corruption and memory safety issues.

This patch addresses two left-over issues from the aforementioned rework:

1. In mgmt_add_adv_patterns_monitor_complete(), mgmt_pending_remove()
is replaced with mgmt_pending_free() in the success path. Since
mgmt_pending_valid() already unlinks the command at the beginning of
the function, calling mgmt_pending_remove() leads to a double list_del()
and subsequent list corruption/kernel panic.

2. In set_mesh_complete(), the use of mgmt_pending_foreach() in the error
path is removed. Since the current command is already unlinked by
mgmt_pending_valid(), this foreach loop would incorrectly target other
pending mesh commands, potentially freeing them while they are still being
processed concurrently (leading to UAFs). The redundant mgmt_cmd_status()
is also simplified to use cmd->opcode directly.

(As written by CVE List.)

## Affected

- Linux Linux: from 0b60eb04b8524e1b4b3f07fea0d16fda9a677d9a before 3d6de8467236cd763ddc7d06127689bdfbfbd8ff; from d71b98f253b079cbadc83266383f26fe7e9e103b before 695b45b2262fcb5e71bed1175aad59c72f92aa78; from 302a1f674c00dd5581ab8e493ef44767c5101aab before b5c5e96f3b0a5003c3ff98ebb33e59afec51dd77; from 302a1f674c00dd5581ab8e493ef44767c5101aab before 02023ff760cc104a5d86a82ef5b8dd89098ad78d; from 302a1f674c00dd5581ab8e493ef44767c5101aab before 17f89341cb4281d1da0e2fb0de5406ab7c4e25ef; 87a1f16f07c6c43771754075e08f45b41d237421; from 6.6.140 before 6.6.160; from 6.12.59 before 6.12.78; from 6.16.10 before 6.17; 6.17 (not affected: before 6.17; from 6.6.160 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.20 up to 6.18.*; from 6.19.10 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.6.140 before 6.7; from 6.12.59 before 6.12.78; from 6.16.10 before 6.17; from 6.17.1 before 6.18.20; from 6.19 before 6.19.10; 6.17; 7.0

## References

- <https://git.kernel.org/stable/c/3d6de8467236cd763ddc7d06127689bdfbfbd8ff>
- <https://git.kernel.org/stable/c/695b45b2262fcb5e71bed1175aad59c72f92aa78> (patch)
- <https://git.kernel.org/stable/c/b5c5e96f3b0a5003c3ff98ebb33e59afec51dd77> (patch)
- <https://git.kernel.org/stable/c/02023ff760cc104a5d86a82ef5b8dd89098ad78d> (patch)
- <https://git.kernel.org/stable/c/17f89341cb4281d1da0e2fb0de5406ab7c4e25ef> (patch)

## Sources

- CVE List: [CVE-2026-43059](https://www.cve.org/CVERecord?id=CVE-2026-43059), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43059](https://nvd.nist.gov/vuln/detail/CVE-2026-43059), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43059 · Whole record: https://cve.day/CVE-2026-43059.json · Rebuilt by cve.day 2026-11-25T22:59:20.610Z
