{"api_version":"1","generated_at":"2026-10-27T10:31:37+00:00","cve":"CVE-2026-99091","urls":{"html":"https://cve.report/CVE-2026-99091","api":"https://cve.report/api/cve/CVE-2026-99091.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99091","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99091"},"summary":{"title":"Bluetooth: MGMT: Fix status of pending commands flushed on power off","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix status of pending commands flushed on power off\n\ncmd_complete_rsp() receives a struct cmd_lookup and, for a pending\ncommand that has no cmd_complete callback, falls through to\ncmd_status_rsp(cmd, data). cmd_status_rsp() reads data as a u8 *, so\nthe status sent comes from the first byte of match->sk's\nrepresentation, not from match->mgmt_status.\n\ncommit f53e1c9c726d (\"Bluetooth: MGMT: Fix possible crash on\nmgmt_index_removed\") changed the callers' data from &status to &match\nand updated the cmd_complete branch to match->mgmt_status, but left\nthe fall-through passing data unchanged.\n\nIn mgmt_index_removed() match->sk is NULL, so every such command is\nanswered with status 0x00 (Success) instead of\nMGMT_STATUS_INVALID_INDEX. In __mgmt_power_off() it is NULL too,\nunless a Set Powered command was pending: then settings_rsp() has\nstored that command's socket in match->sk, and the byte sent comes\nfrom the socket pointer. Either way the status the caller set,\nMGMT_STATUS_NOT_POWERED (or MGMT_STATUS_INVALID_INDEX when the device\nis being unregistered), is lost.\n\nPass the status the callers set.\n\nThis was seen on a QCA9377 laptop: bluetoothd's Start Discovery,\npending when the adapter was powered off, was answered with Command\nStatus 0x00 and no parameters, and bluetoothd 5.72 crashed on the\nzero-length success. BlueZ master has since added the length check\non that path (\"adapter: Fix crash on short start discovery reply\",\nBlueZ a734b06059cb), but userspace should still be told Not Powered,\nnot Success.\n\nTested on Ubuntu 7.0.0-31 with a virtual controller (hci_vhci):\npower off is held in HCI Write Scan Enable while a Start Discovery is\nsubmitted, and the flush answers it with status 0x00 before this\nchange and 0x0f (Not Powered) after.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-26 15:16:47","updated_at":"2026-10-26 15:16:47"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/07976405a3c71253e50533ee7b7a8b0dc16ab6ba","name":"https://git.kernel.org/stable/c/07976405a3c71253e50533ee7b7a8b0dc16ab6ba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7ed7e038b520cf0dfa12d61c2caddb95e2f6922d","name":"https://git.kernel.org/stable/c/7ed7e038b520cf0dfa12d61c2caddb95e2f6922d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ec227cddd13cd7ac9077d263a73473ac370a055d","name":"https://git.kernel.org/stable/c/ec227cddd13cd7ac9077d263a73473ac370a055d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/44ce36c5789ac84e65de1e98c32db9a5ac04ed47","name":"https://git.kernel.org/stable/c/44ce36c5789ac84e65de1e98c32db9a5ac04ed47","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/86ef0f58bdecdedb3a1240971c56d71b7e4ce3fc","name":"https://git.kernel.org/stable/c/86ef0f58bdecdedb3a1240971c56d71b7e4ce3fc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99091","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99091","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4883296505aa7e4863c6869b689afb6005633b23 44ce36c5789ac84e65de1e98c32db9a5ac04ed47 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f53e1c9c726d83092167f2226f32bd3b73f26c21 7ed7e038b520cf0dfa12d61c2caddb95e2f6922d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f53e1c9c726d83092167f2226f32bd3b73f26c21 ec227cddd13cd7ac9077d263a73473ac370a055d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f53e1c9c726d83092167f2226f32bd3b73f26c21 07976405a3c71253e50533ee7b7a8b0dc16ab6ba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f53e1c9c726d83092167f2226f32bd3b73f26c21 86ef0f58bdecdedb3a1240971c56d71b7e4ce3fc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 19b40ca62607cef78369549d1af091f2fd558931 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0cc47233af35fb5f10b5e6a027cb4ccd480caf9a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8c3f7943a29145d8a2d8e24893762f7673323eae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.55 6.6.160 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.120 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.10.14 6.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.11.3 6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.160 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.113 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.57 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.11 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/bluetooth/mgmt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"44ce36c5789ac84e65de1e98c32db9a5ac04ed47","status":"affected","version":"4883296505aa7e4863c6869b689afb6005633b23","versionType":"git"},{"lessThan":"7ed7e038b520cf0dfa12d61c2caddb95e2f6922d","status":"affected","version":"f53e1c9c726d83092167f2226f32bd3b73f26c21","versionType":"git"},{"lessThan":"ec227cddd13cd7ac9077d263a73473ac370a055d","status":"affected","version":"f53e1c9c726d83092167f2226f32bd3b73f26c21","versionType":"git"},{"lessThan":"07976405a3c71253e50533ee7b7a8b0dc16ab6ba","status":"affected","version":"f53e1c9c726d83092167f2226f32bd3b73f26c21","versionType":"git"},{"lessThan":"86ef0f58bdecdedb3a1240971c56d71b7e4ce3fc","status":"affected","version":"f53e1c9c726d83092167f2226f32bd3b73f26c21","versionType":"git"},{"status":"affected","version":"19b40ca62607cef78369549d1af091f2fd558931","versionType":"git"},{"status":"affected","version":"0cc47233af35fb5f10b5e6a027cb4ccd480caf9a","versionType":"git"},{"status":"affected","version":"8c3f7943a29145d8a2d8e24893762f7673323eae","versionType":"git"},{"lessThan":"6.6.160","status":"affected","version":"6.6.55","versionType":"semver"},{"lessThan":"6.2","status":"affected","version":"6.1.120","versionType":"semver"},{"lessThan":"6.11","status":"affected","version":"6.10.14","versionType":"semver"},{"lessThan":"6.12","status":"affected","version":"6.11.3","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/bluetooth/mgmt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.12"},{"lessThan":"6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.160","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.113","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.57","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.160","versionStartIncluding":"6.6.55","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.113","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.57","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.11","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.120","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix status of pending commands flushed on power off\n\ncmd_complete_rsp() receives a struct cmd_lookup and, for a pending\ncommand that has no cmd_complete callback, falls through to\ncmd_status_rsp(cmd, data). cmd_status_rsp() reads data as a u8 *, so\nthe status sent comes from the first byte of match->sk's\nrepresentation, not from match->mgmt_status.\n\ncommit f53e1c9c726d (\"Bluetooth: MGMT: Fix possible crash on\nmgmt_index_removed\") changed the callers' data from &status to &match\nand updated the cmd_complete branch to match->mgmt_status, but left\nthe fall-through passing data unchanged.\n\nIn mgmt_index_removed() match->sk is NULL, so every such command is\nanswered with status 0x00 (Success) instead of\nMGMT_STATUS_INVALID_INDEX. In __mgmt_power_off() it is NULL too,\nunless a Set Powered command was pending: then settings_rsp() has\nstored that command's socket in match->sk, and the byte sent comes\nfrom the socket pointer. Either way the status the caller set,\nMGMT_STATUS_NOT_POWERED (or MGMT_STATUS_INVALID_INDEX when the device\nis being unregistered), is lost.\n\nPass the status the callers set.\n\nThis was seen on a QCA9377 laptop: bluetoothd's Start Discovery,\npending when the adapter was powered off, was answered with Command\nStatus 0x00 and no parameters, and bluetoothd 5.72 crashed on the\nzero-length success. BlueZ master has since added the length check\non that path (\"adapter: Fix crash on short start discovery reply\",\nBlueZ a734b06059cb), but userspace should still be told Not Powered,\nnot Success.\n\nTested on Ubuntu 7.0.0-31 with a virtual controller (hci_vhci):\npower off is held in HCI Write Scan Enable while a Start Discovery is\nsubmitted, and the flush answers it with status 0x00 before this\nchange and 0x0f (Not Powered) after."}],"providerMetadata":{"dateUpdated":"2026-10-26T14:52:00.262Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/44ce36c5789ac84e65de1e98c32db9a5ac04ed47"},{"url":"https://git.kernel.org/stable/c/7ed7e038b520cf0dfa12d61c2caddb95e2f6922d"},{"url":"https://git.kernel.org/stable/c/ec227cddd13cd7ac9077d263a73473ac370a055d"},{"url":"https://git.kernel.org/stable/c/07976405a3c71253e50533ee7b7a8b0dc16ab6ba"},{"url":"https://git.kernel.org/stable/c/86ef0f58bdecdedb3a1240971c56d71b7e4ce3fc"}],"title":"Bluetooth: MGMT: Fix status of pending commands flushed on power off","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99091","datePublished":"2026-10-26T14:52:00.262Z","dateReserved":"2026-09-25T10:25:14.390Z","dateUpdated":"2026-10-26T14:52:00.262Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-26 15:16:47","lastModifiedDate":"2026-10-26 15:16:47","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99091","Ordinal":"1","Title":"Bluetooth: MGMT: Fix status of pending commands flushed on power","CVE":"CVE-2026-99091","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99091","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix status of pending commands flushed on power off\n\ncmd_complete_rsp() receives a struct cmd_lookup and, for a pending\ncommand that has no cmd_complete callback, falls through to\ncmd_status_rsp(cmd, data). cmd_status_rsp() reads data as a u8 *, so\nthe status sent comes from the first byte of match->sk's\nrepresentation, not from match->mgmt_status.\n\ncommit f53e1c9c726d (\"Bluetooth: MGMT: Fix possible crash on\nmgmt_index_removed\") changed the callers' data from &status to &match\nand updated the cmd_complete branch to match->mgmt_status, but left\nthe fall-through passing data unchanged.\n\nIn mgmt_index_removed() match->sk is NULL, so every such command is\nanswered with status 0x00 (Success) instead of\nMGMT_STATUS_INVALID_INDEX. In __mgmt_power_off() it is NULL too,\nunless a Set Powered command was pending: then settings_rsp() has\nstored that command's socket in match->sk, and the byte sent comes\nfrom the socket pointer. Either way the status the caller set,\nMGMT_STATUS_NOT_POWERED (or MGMT_STATUS_INVALID_INDEX when the device\nis being unregistered), is lost.\n\nPass the status the callers set.\n\nThis was seen on a QCA9377 laptop: bluetoothd's Start Discovery,\npending when the adapter was powered off, was answered with Command\nStatus 0x00 and no parameters, and bluetoothd 5.72 crashed on the\nzero-length success. BlueZ master has since added the length check\non that path (\"adapter: Fix crash on short start discovery reply\",\nBlueZ a734b06059cb), but userspace should still be told Not Powered,\nnot Success.\n\nTested on Ubuntu 7.0.0-31 with a virtual controller (hci_vhci):\npower off is held in HCI Write Scan Enable while a Start Discovery is\nsubmitted, and the flush answers it with status 0x00 before this\nchange and 0x0f (Not Powered) after.","Type":"Description","Title":"Bluetooth: MGMT: Fix status of pending commands flushed on power"}]}}}