{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-56654",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-12-27T15:00:39.841Z",
        "datePublished": "2024-12-27T15:06:18.224Z",
        "dateUpdated": "2026-08-05T11:45:52.018Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:45:52.018Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_event: Fix using rcu_read_(un)lock while iterating\n\nThe usage of rcu_read_(un)lock while inside list_for_each_entry_rcu is\nnot safe since for the most part entries fetched this way shall be\ntreated as rcu_dereference:\n\n\tNote that the value returned by rcu_dereference() is valid\n\tonly within the enclosing RCU read-side critical section [1]_.\n\tFor example, the following is **not** legal::\n\n\t\trcu_read_lock();\n\t\tp = rcu_dereference(head.next);\n\t\trcu_read_unlock();\n\t\tx = p->address;\t/* BUG!!! */\n\t\trcu_read_lock();\n\t\ty = p->data;\t/* BUG!!! */\n\t\trcu_read_unlock();"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The vulnerable event handler runs in response to an HCI_LE_Create_BIG command that the local host issues only when a local process creates broadcast ISO sockets via the AF_BLUETOOTH/BTPROTO_ISO syscall interface. BIG creation involves no remote peer, so the attacker must have local system access.\nAC:L - The attacker fully controls both the number of bound BIS connections and the QoS parameters that determine whether the controller returns a failing Create BIG status, and the freed pointer is dereferenced deterministically by the loop's increment step on every failed BIG creation. Heap grooming to control the reallocated hci_conn contents is done from the attacker's own threads.\nPR:L - iso_sock_create(), iso_sock_bind(), and iso_sock_connect() perform no capable() checks, so any unprivileged local user — or a sandboxed Android app with Bluetooth access — can bind and connect the ISO sockets that drive the vulnerable path. No CAP_NET_ADMIN or root is needed to reach the bug.\nUI:N - The entire sequence is driven by the attacker's own socket, setsockopt, bind, and connect calls. No victim action or interaction is required.\nS:U - The use-after-free corrupts kernel heap memory and is exploited within the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - The stale RCU pointer is read from a freed, attacker-sprayable hci_conn slab object, and the resulting pointer is dereferenced at multiple offsets (dst, type, iso_qos), yielding an arbitrary kernel-memory read primitive. The unbounded ev->bis_handle[i++] indexing adds an additional out-of-bounds read.\nI:H - After the free the loop writes through the attacker-controlled pointer (conn->state assignment and set_bit on conn->flags) and calls hci_conn_del(), which invokes conn->cleanup(conn) — an indirect call through an attacker-supplied function pointer, giving arbitrary write and control-flow hijack.\nA:H - Iterating from a kfree'd list node reliably produces a wild-pointer dereference, KASAN splat, or kernel panic even without successful heap grooming. The crash is triggerable on demand by any local user."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/bluetooth/hci_event.c"
                    ],
                    "versions": [
                        {
                            "version": "a0bfde167b506423111ddb8cd71930497a40fc54",
                            "lessThan": "0108132d7d76d884e443d18b4f067cdf2811911b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a0bfde167b506423111ddb8cd71930497a40fc54",
                            "lessThan": "f9ecc90b5d501b3a5a62d0685d5104f934bb0104",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a0bfde167b506423111ddb8cd71930497a40fc54",
                            "lessThan": "581dd2dc168fe0ed2a7a5534a724f0d3751c93ae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b475c1109251e30ec21fb574d72a1c71a4ab0039",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2ccde10127447c1a5caad8469fede945bdb62fdf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.4.16",
                            "lessThan": "6.5",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5.3",
                            "lessThan": "6.6",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/bluetooth/hci_event.c"
                    ],
                    "versions": [
                        {
                            "version": "6.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.67",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.6",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.13",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.6.67"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.12.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.13"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/0108132d7d76d884e443d18b4f067cdf2811911b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f9ecc90b5d501b3a5a62d0685d5104f934bb0104"
                },
                {
                    "url": "https://git.kernel.org/stable/c/581dd2dc168fe0ed2a7a5534a724f0d3751c93ae"
                }
            ],
            "title": "Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-56654",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T20:00:19.506429Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "description": "CWE-noinfo Not enough information"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T20:07:11.020Z"
                }
            }
        ]
    }
}