VDB

CVE-2026-43059

CVE-2026-43059 PUBLISHED

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

Reported by linux · Published May 5, 2026

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.

Affected products

VendorProductVersions
LinuxLinux0b60eb04b8524e1b4b3f07fea0d16fda9a677d9a, d71b98f253b079cbadc83266383f26fe7e9e103b, 302a1f674c00dd5581ab8e493ef44767c5101aab
LinuxLinux6.17, 0, 6.6.160
LinuxLinux7.0, 6.17, 0
linuxlinux_kernel6.12.59, 6.17, 6.17

Timeline

  • May 5, 2026 CVE Published
  • May 5, 2026 PoC Published (2 in total, the first dated here)
  • May 5, 2026 Security Advisory (94 in total, the first dated here)
  • May 18, 2026 EPSS Score (25 in total, the first dated here)
  • Aug 3, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (87 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-43059
vulnetix vdb fixes CVE-2026-43059

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-43059/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›