{
  "id": "CVE-2025-40301",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40301",
  "published_at": "2025-12-08T00:46:24.863Z",
  "title": "Bluetooth: hci_event: validate skb length for unknown CC opcode",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/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: hci_event: validate skb length for unknown CC opcode\n\nIn hci_cmd_complete_evt(), if the command complete event has an unknown\nopcode, we assume the first byte of the remaining skb-\u003edata contains the\nreturn status. However, parameter data has previously been pulled in\nhci_event_func(), which may leave the skb empty. If so, using skb-\u003edata[0]\nfor the return status uses un-init memory.\n\nThe fix is to check skb-\u003elen before using skb-\u003edata.",
  "cvss_by_source": {
    "cna": 7.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, \u003c fea895de78d3bb2f0c09db9f10b18f8121b15759",
          "\u003e= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, \u003c 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8",
          "\u003e= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, \u003c cf2c2acec1cf456c3d11c11a7589e886a0f963a9",
          "\u003e= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, \u003c 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50",
          "\u003e= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, \u003c 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5"
        ],
        "fixed_in": [
          "fea895de78d3bb2f0c09db9f10b18f8121b15759",
          "779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8",
          "cf2c2acec1cf456c3d11c11a7589e886a0f963a9",
          "1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50",
          "5c5f1f64681cc889d9b13e4a61285e9e029d6ab5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.1"
        ],
        "fixed_in": [
          "0",
          "6.1.159",
          "6.6.117",
          "6.12.58",
          "6.17.8",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to fea895de78d3bb2f0c09db9f10b18f8121b15759 or 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8 or cf2c2acec1cf456c3d11c11a7589e886a0f963a9 or 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50 or 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5 or later.",
      "Upgrade Linux to 0 or 6.1.159 or 6.6.117 or 6.12.58 or 6.17.8 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
