{
  "id": "CVE-2026-43059",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43059",
  "published_at": "2026-05-05T15:17:25.727Z",
  "title": "Bluetooth: MGMT: Fix list corruption and UAF in command complete handlers",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix list corruption and UAF in command complete handlers\n\nCommit 302a1f674c00 (\"Bluetooth: MGMT: Fix possible UAFs\") introduced\nmgmt_pending_valid(), which not only validates the pending command but\nalso unlinks it from the pending list if it is valid. This change in\nsemantics requires updates to several completion handlers to avoid list\ncorruption and memory safety issues.\n\nThis patch addresses two left-over issues from the aforementioned rework:\n\n1. In mgmt_add_adv_patterns_monitor_complete(), mgmt_pending_remove()\nis replaced with mgmt_pending_free() in the success path. Since\nmgmt_pending_valid() already unlinks the command at the beginning of\nthe function, calling mgmt_pending_remove() leads to a double list_del()\nand subsequent list corruption/kernel panic.\n\n2. In set_mesh_complete(), the use of mgmt_pending_foreach() in the error\npath is removed. Since the current command is already unlinked by\nmgmt_pending_valid(), this foreach loop would incorrectly target other\npending mesh commands, potentially freeing them while they are still being\nprocessed concurrently (leading to UAFs). The redundant mgmt_cmd_status()\nis also simplified to use cmd-\u003eopcode directly.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "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:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0b60eb04b8524e1b4b3f07fea0d16fda9a677d9a, \u003c 3d6de8467236cd763ddc7d06127689bdfbfbd8ff",
          "\u003e= d71b98f253b079cbadc83266383f26fe7e9e103b, \u003c 695b45b2262fcb5e71bed1175aad59c72f92aa78",
          "\u003e= 302a1f674c00dd5581ab8e493ef44767c5101aab, \u003c b5c5e96f3b0a5003c3ff98ebb33e59afec51dd77",
          "\u003e= 302a1f674c00dd5581ab8e493ef44767c5101aab, \u003c 02023ff760cc104a5d86a82ef5b8dd89098ad78d",
          "\u003e= 302a1f674c00dd5581ab8e493ef44767c5101aab, \u003c 17f89341cb4281d1da0e2fb0de5406ab7c4e25ef",
          "87a1f16f07c6c43771754075e08f45b41d237421",
          "\u003e= 6.6.140, \u003c 6.6.160",
          "\u003e= 6.12.59, \u003c 6.12.78",
          "\u003e= 6.16.10, \u003c 6.17"
        ],
        "fixed_in": [
          "3d6de8467236cd763ddc7d06127689bdfbfbd8ff",
          "695b45b2262fcb5e71bed1175aad59c72f92aa78",
          "b5c5e96f3b0a5003c3ff98ebb33e59afec51dd77",
          "02023ff760cc104a5d86a82ef5b8dd89098ad78d",
          "17f89341cb4281d1da0e2fb0de5406ab7c4e25ef",
          "6.6.160",
          "6.12.78",
          "6.17"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.17"
        ],
        "fixed_in": [
          "0",
          "6.6.160",
          "6.12.78",
          "6.18.20",
          "6.19.10",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3d6de8467236cd763ddc7d06127689bdfbfbd8ff or 695b45b2262fcb5e71bed1175aad59c72f92aa78 or b5c5e96f3b0a5003c3ff98ebb33e59afec51dd77 or 02023ff760cc104a5d86a82ef5b8dd89098ad78d or 17f89341cb4281d1da0e2fb0de5406ab7c4e25ef or 6.6.160 or 6.12.78 or 6.17 or later.",
      "Upgrade Linux to 0 or 6.6.160 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
