In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: Avoid potential use-after-free in hcierrorreset
While handling the HCIEVHARDWAREERROR event, if the underlying BT controller is not responding, the GPIO reset mechanism would free the hcidev and lead to a use-after-free in hcierrorreset.
Here's the call trace observed on a ChromeOS device with Intel AX201: queueworkon+0x3e/0x6c _hcicmdsyncsk+0x2ee/0x4c0 [bluetooth <HASH:3b4a6>] ? initwaitentry+0x31/0x31 _hcicmdsync+0x16/0x20 [bluetooth <HASH:3b4a 6>] hcierrorreset+0x4f/0xa4 [bluetooth <HASH:3b4a 6>] processonework+0x1d8/0x33f workerthread+0x21b/0x373 kthread+0x13a/0x152 ? prcontwork+0x54/0x54 ? kthreadblkcg+0x31/0x31 retfrom_fork+0x1f/0x30
This patch holds the reference count on the hcidev while processing a HCIEVHARDWAREERROR event to avoid potential crash.
[
    {
        "id": "CVE-2024-26801-1d9dd06c",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ab9a19d896f5a0dd386e1f001c5309bc35f433b"
    },
    {
        "id": "CVE-2024-26801-284234bb",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd594cdc24f2e48dab441732e6dfcafd6b0711d1"
    },
    {
        "id": "CVE-2024-26801-30e5a597",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98fb98fd37e42fd4ce13ff657ea64503e24b6090"
    },
    {
        "id": "CVE-2024-26801-36a10a0c",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd594cdc24f2e48dab441732e6dfcafd6b0711d1"
    },
    {
        "id": "CVE-2024-26801-51d51ec6",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2"
    },
    {
        "id": "CVE-2024-26801-5b1a104c",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ab9a19d896f5a0dd386e1f001c5309bc35f433b"
    },
    {
        "id": "CVE-2024-26801-5be0fbc5",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da4569d450b193e39e87119fd316c0291b585d14"
    },
    {
        "id": "CVE-2024-26801-5e39c08a",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@45085686b9559bfbe3a4f41d3d695a520668f5e1"
    },
    {
        "id": "CVE-2024-26801-8cf345a3",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e0b278650f07acf2e0932149183458468a731c03"
    },
    {
        "id": "CVE-2024-26801-8d4c2be7",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e0b278650f07acf2e0932149183458468a731c03"
    },
    {
        "id": "CVE-2024-26801-9a1bc16b",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2449007d3f73b2842c9734f45f0aadb522daf592"
    },
    {
        "id": "CVE-2024-26801-b1ce05ac",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98fb98fd37e42fd4ce13ff657ea64503e24b6090"
    },
    {
        "id": "CVE-2024-26801-c162ce59",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@45085686b9559bfbe3a4f41d3d695a520668f5e1"
    },
    {
        "id": "CVE-2024-26801-c8d080ac",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2"
    },
    {
        "id": "CVE-2024-26801-d55a9b6a",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "272679897722884051206453187241767839316",
                "87201873254340998730022417324809912238",
                "68253332196076199643888584881357565123",
                "33824817782906018369457942193779240003",
                "217791066778936436828629365708510317405",
                "77171878588819061224649778312571437498",
                "170862361250029665446326957077255267016",
                "334805206605807429914498764511726509477",
                "3583549876438024327491379577378869616"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "net/bluetooth/hci_core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da4569d450b193e39e87119fd316c0291b585d14"
    },
    {
        "id": "CVE-2024-26801-fecb2bbc",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "198254442759688686235550867033146402128",
            "length": 364.0
        },
        "target": {
            "file": "net/bluetooth/hci_core.c",
            "function": "hci_error_reset"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2449007d3f73b2842c9734f45f0aadb522daf592"
    }
]