{"id":"CVE-2026-98247","aliases":["CVE-2026-98247"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_codec: validate vendor codec count length","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_codec: validate vendor codec count length\n\nThe Read Local Supported Codecs parsers consume the variable-sized\nstandard codec array before parsing the vendor codec count.  Although the\ninitial reply-size check includes a vendor count byte in the fixed layout,\nit does not guarantee that the byte remains after the standard codec array.\n\nIf a controller reply ends immediately after that array, calculating the\nvendor codec array size reads vnd_codecs->num beyond the skb data.  Use\nskb_pull_data() to validate and consume each codec header before using its\ncount in both command variants.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_codec: validate vendor codec count length\n\nThe Read Local Supported Codecs parsers consume the variable-sized\nstandard codec array before parsing the vendor codec count.  Although the\ninitial reply-size check includes a vendor count byte in the fixed layout,\nit does not guarantee that the byte remains after the standard codec array.\n\nIf a controller reply ends immediately after that array, calculating the\nvendor codec array size reads vnd_codecs->num beyond the skb data.  Use\nskb_pull_data() to validate and consume each codec header before using its\ncount in both command variants.","source":"cvelist"}],"published":"2026-10-06T08:45:16.048Z","modified":"2026-10-19T10:18:25.610Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8","status":"affected"},{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"a6da782fefae611e68a1aa79644065fc8ca5abcd","status":"affected"},{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"e4cfd3c4299105237458b27958bd7b0aa4c60795","status":"affected"},{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"f49a543d76d48f184b34225d9c0e2fc4cbdea8ec","status":"affected"},{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"12a82819b0cada6e304790b1097f8f9006eb6123","status":"affected"},{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"d0795cfd6f655f4de84868a4f4bb41a03f037b3d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9c04b9a4d08b95dee901d24b7607c4cbd65fa0a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6da782fefae611e68a1aa79644065fc8ca5abcd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4cfd3c4299105237458b27958bd7b0aa4c60795","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f49a543d76d48f184b34225d9c0e2fc4cbdea8ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12a82819b0cada6e304790b1097f8f9006eb6123","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d0795cfd6f655f4de84868a4f4bb41a03f037b3d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98247","url":"https://www.cve.org/CVERecord?id=CVE-2026-98247","licence":"CVE Terms of Use","modified":"2026-10-19T09:16:18.761Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98247","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98247","licence":"Public domain","modified":"2026-10-19T10:18:25.610Z"}],"updatedAt":"2026-11-25T22:59:42.302Z","epss":{"score":0.00211,"percentile":0.12089,"date":"2026-12-01T12:00:22.000Z"}}