{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-64406",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-07-19T15:36:31.786Z",
        "datePublished": "2026-07-25T08:50:47.978Z",
        "dateUpdated": "2026-08-17T04:55:04.583Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T04:55:04.583Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: fix UAF in bt_accept_dequeue()\n\nbt_accept_get() takes a temporary reference before dropping the accept\nqueue lock. bt_accept_dequeue() currently drops that reference before\nbt_accept_unlink(), leaving only the queue reference.\n\nbt_accept_unlink() drops the queue reference. The subsequent\nsock_hold() therefore accesses freed memory if it was the final\nreference, as observed by KASAN during listening L2CAP socket cleanup.\n\nRetain the temporary queue-walk reference through unlink and hand it to\nthe caller on success. Drop it explicitly on the closed and\nnot-yet-connected paths."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:A - The vulnerable child is created through an incoming Bluetooth link, with its teardown driven by connection and disconnection events from a nearby peer. Bluetooth radio reachability is adjacent rather than routable network access.\nAC:L - The attacker can control listener cleanup and use an adjacent peer to connect and disconnect before the fixed channel becomes ready, producing the final queue-only reference state. The trigger is repeatable and Bluetooth BR/EDR support is a common default configuration.\nPR:L - Unprivileged SOCK_STREAM or SOCK_SEQPACKET L2CAP sockets and dynamic or fixed-CID binds require no capability; only raw sockets and reserved PSM binds are privileged. Although AF_BLUETOOTH requires init_net, an ordinary host user or user namespace without a new network namespace can reach it.\nUI:N - The attacker can close their own listener while controlling the peer connection lifecycle, requiring no action from another user.\nS:U - Exploitation compromises the vulnerable host kernel but does not inherently cross a VM, IOMMU, or other security-authority boundary.\nC:H - The freed struct sock comes from the general kmalloc-2k cache and can be reclaimed with attacker-controlled data. Subsequent socket and channel dereferences can be developed into arbitrary kernel-memory disclosure.\nI:H - The UAF causes an atomic write to freed memory followed by further operations on the freed socket and channel, enabling heap-spray-based corruption and potential control-flow hijacking.\nA:H - The confirmed post-free write can cause a kernel oops or panic, and the attacker can repeat the connection, disconnection, and cleanup sequence."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/bluetooth/af_bluetooth.c",
                        "net/bluetooth/l2cap_sock.c"
                    ],
                    "versions": [
                        {
                            "version": "751de6ec671fe75ad9cf65a0638d2a06b6a5984d",
                            "lessThan": "c0577c55219be42b6ea2ea8db11e85bfab6f4e8d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "407217734835d21d4e0105ebf347860dc1806f88",
                            "lessThan": "96ad400d5132eb333f28f6f1e2d58f0728ca9547",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7eebd4c2c86f573af87ff165d08a83432eb0b919",
                            "lessThan": "0a98ff4e7b867f72fbb4e1237d81e9fa02ded0a0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5d86d2f1b4d9a508c441d3e45277ae1a73cfed57",
                            "lessThan": "c66a95e60b65d876a927123b0ed36bd6177d9ca6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "87c543e2f78d0871f271df92dab98901bbd5b6f5",
                            "lessThan": "6303ed4bbe0095f4cc195225479bf506e010d1db",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "added1213395071470a900cc845a042fb51882a6",
                            "lessThan": "26168db1ce5a9766cde021b18e590a101c056614",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ab1513597c6cf17cd1ad2a21e3b045421b48e022",
                            "lessThan": "50c662bdcd51b03033a0abed6716bfd377ba1049",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ab1513597c6cf17cd1ad2a21e3b045421b48e022",
                            "lessThan": "4bd0b274054f2679f28b70222b607bb0afc3ab9a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a5ca86a6097a8b030ca3226cd300b17ed330f966",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.259",
                            "lessThan": "5.10.261",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.210",
                            "lessThan": "5.15.212",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.175",
                            "lessThan": "6.1.178",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.142",
                            "lessThan": "6.6.145",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.92",
                            "lessThan": "6.12.96",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.34",
                            "lessThan": "6.18.39",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.11",
                            "lessThan": "7.1",
                            "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/af_bluetooth.c",
                        "net/bluetooth/l2cap_sock.c"
                    ],
                    "versions": [
                        {
                            "version": "7.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.261",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.212",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.96",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.39",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.4",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "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": "5.10.259",
                                    "versionEndExcluding": "5.10.261"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15.210",
                                    "versionEndExcluding": "5.15.212"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.175",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.142",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12.92",
                                    "versionEndExcluding": "6.12.96"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18.34",
                                    "versionEndExcluding": "6.18.39"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.1",
                                    "versionEndExcluding": "7.1.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.1",
                                    "versionEndExcluding": "7.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.0.11"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c0577c55219be42b6ea2ea8db11e85bfab6f4e8d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/96ad400d5132eb333f28f6f1e2d58f0728ca9547"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0a98ff4e7b867f72fbb4e1237d81e9fa02ded0a0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c66a95e60b65d876a927123b0ed36bd6177d9ca6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6303ed4bbe0095f4cc195225479bf506e010d1db"
                },
                {
                    "url": "https://git.kernel.org/stable/c/26168db1ce5a9766cde021b18e590a101c056614"
                },
                {
                    "url": "https://git.kernel.org/stable/c/50c662bdcd51b03033a0abed6716bfd377ba1049"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4bd0b274054f2679f28b70222b607bb0afc3ab9a"
                }
            ],
            "title": "Bluetooth: fix UAF in bt_accept_dequeue()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}