{"id":"CVE-2026-64403","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-07-25T10:17:23.850","lastModified":"2026-10-19T21:17:35.757","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: validate option length before reading conf opt value\n\nl2cap_get_conf_opt() derives the option length from the\nattacker-controlled opt->len field and immediately dereferences\nopt->val (as u8, get_unaligned_le16() or get_unaligned_le32(), or a\nraw pointer for the default case) before any caller has confirmed\nthat opt->len bytes are present in the buffer. The callers\n(l2cap_parse_conf_req(), l2cap_parse_conf_rsp() and\nl2cap_conf_rfc_get()) only detect a malformed option afterwards, once\nthe running length has gone negative, by which point the\nout-of-bounds read has already executed.\n\nAn existing post-hoc length check keeps the garbage value from being\nconsumed, so this is not a data leak in the current control flow. It\nis still a validate-after-use ordering bug: up to 4 bytes are read\npast the end of the buffer before it is known to contain them, and it\nis fragile to future changes in the callers.\n\nFix it at the source. Pass the end of the buffer into\nl2cap_get_conf_opt() and refuse to touch opt->val unless the full\noption (header + value) fits. Each caller computes an end pointer\nonce before the loop and checks the return value directly instead of\ninferring the error from a negative length."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/bluetooth/l2cap_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"cca81b4bc672604a84f6d224a55cc77ec7dee619","versionType":"git","status":"affected"},{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"f70d4aa88068096f35d73e3a05eff33c0a16b9cd","versionType":"git","status":"affected"},{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"7d871e969b941ce25653f7716203a0ea4d07ad4b","versionType":"git","status":"affected"},{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"98d93c226bdfaa79bbdd86981921d7f106374225","versionType":"git","status":"affected"},{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"996d3da39899aceb8f4910911a3f19a45a7d9d1b","versionType":"git","status":"affected"},{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"73abbaf91aa33da87c008fb62c148ade561bb606","versionType":"git","status":"affected"},{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"6b47bdaacfd0045687880177e0987055d8f4765a","versionType":"git","status":"affected"},{"version":"7c9cbd0b5e38a1672fcd137894ace3b042dfbf69","lessThan":"687617555cedfb74c9e3cb85d759b908dcb17856","versionType":"git","status":"affected"},{"version":"78c2887130f1a7d1883195732be1b6cdab667487","versionType":"git","status":"affected"},{"version":"ac7c597c465eb09391e40febbe088bdad601080b","versionType":"git","status":"affected"},{"version":"ade4560e4fea198866e033fe1c02f063d6d7db2e","versionType":"git","status":"affected"},{"version":"99665dcf6ff803351b5e658f3a929cb498561e36","versionType":"git","status":"affected"},{"version":"2b59d36f22622c92c0b06aee7571f0a86a217188","versionType":"git","status":"affected"},{"version":"15d6538a0d6e0f6de5116081a948cba7cc3e1d3d","versionType":"git","status":"affected"},{"version":"a556547bae00528f24b42786b41a14047db14b84","versionType":"git","status":"affected"},{"version":"3.16.66","lessThan":"3.17","versionType":"semver","status":"affected"},{"version":"3.18.138","lessThan":"3.19","versionType":"semver","status":"affected"},{"version":"4.4.178","lessThan":"4.5","versionType":"semver","status":"affected"},{"version":"4.9.167","lessThan":"4.10","versionType":"semver","status":"affected"},{"version":"4.14.110","lessThan":"4.15","versionType":"semver","status":"affected"},{"version":"4.19.33","lessThan":"4.20","versionType":"semver","status":"affected"},{"version":"5.0.6","lessThan":"5.1","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/bluetooth/l2cap_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","versionType":"semver","status":"unaffected"},{"version":"5.10.261","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.212","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.178","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.96","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.39","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.1.4","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":4.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-16T15:40:12.145113Z","id":"CVE-2026-64403","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-476"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-125"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16.66","versionEndExcluding":"3.17","matchCriteriaId":"EAFB90C8-E6AC-40FC-B718-C6569511F43B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.18.138","versionEndExcluding":"3.19","matchCriteriaId":"F833EC2A-D0F3-4B78-ACB8-05D2EF98BAC3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.178","versionEndExcluding":"4.5","matchCriteriaId":"A722E651-3556-4E10-9B6A-7D0CE8D0C5D7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.167","versionEndExcluding":"4.10","matchCriteriaId":"5A810207-8023-4209-95E1-F4608AD30BC2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.110","versionEndExcluding":"4.15","matchCriteriaId":"9D307FAA-524F-4DDE-A789-61E8ACCBCB69"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.33","versionEndExcluding":"4.20","matchCriteriaId":"1C615A8F-45B4-4CC3-9024-95838A7048AC"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.6","versionEndExcluding":"5.10.261","matchCriteriaId":"67AA953F-BE56-4173-9237-969D0FAF963B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.212","matchCriteriaId":"8E99FB01-CD93-41AF-A653-3F450652B9A6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.178","matchCriteriaId":"092233C7-F4E0-40C8-BD4D-A28FE50DFE20"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.145","matchCriteriaId":"7046B092-F810-4440-ACE6-60218518EECE"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.96","matchCriteriaId":"38A8100E-2B1A-462F-AEE9-8901B870FEF2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.39","matchCriteriaId":"914AE4BC-3D59-4C5A-9DB5-9CE327B429F7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.1.4","matchCriteriaId":"6228DDD6-4557-4AA3-9F43-AB995D471E42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*","matchCriteriaId":"5E8B9085-7ADB-4A05-89EF-12949B6A0509"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*","matchCriteriaId":"1FC0D50D-9D58-4947-A197-A5A3FF07E7E3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/687617555cedfb74c9e3cb85d759b908dcb17856","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6b47bdaacfd0045687880177e0987055d8f4765a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/73abbaf91aa33da87c008fb62c148ade561bb606","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7d871e969b941ce25653f7716203a0ea4d07ad4b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/98d93c226bdfaa79bbdd86981921d7f106374225","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/996d3da39899aceb8f4910911a3f19a45a7d9d1b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/cca81b4bc672604a84f6d224a55cc77ec7dee619","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f70d4aa88068096f35d73e3a05eff33c0a16b9cd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}