{"api_version":"1","generated_at":"2026-04-23T02:25:57+00:00","cve":"CVE-2026-31512","urls":{"html":"https://cve.report/CVE-2026-31512","api":"https://cve.report/api/cve/CVE-2026-31512.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31512","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31512"},"summary":{"title":"Bluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv()\n\nl2cap_ecred_data_rcv() reads the SDU length field from skb->data using\nget_unaligned_le16() without first verifying that skb contains at least\nL2CAP_SDULEN_SIZE (2) bytes. When skb->len is less than 2, this reads\npast the valid data in the skb.\n\nThe ERTM reassembly path correctly calls pskb_may_pull() before reading\nthe SDU length (l2cap_reassemble_sdu, L2CAP_SAR_START case). Apply the\nsame validation to the Enhanced Credit Based Flow Control data path.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-22 14:16:50","updated_at":"2026-04-22 14:16:50"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e47315b84d0eb188772c3ff5cf073cdbdefca6b4","name":"https://git.kernel.org/stable/c/e47315b84d0eb188772c3ff5cf073cdbdefca6b4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c65bd945d1c08c3db756821b6bf9f1c4a77b29c6","name":"https://git.kernel.org/stable/c/c65bd945d1c08c3db756821b6bf9f1c4a77b29c6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/40c7f7eea2f4d9cb0b3e924254c8c9053372168f","name":"https://git.kernel.org/stable/c/40c7f7eea2f4d9cb0b3e924254c8c9053372168f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8c96f3bd4ae0802db90630be8e9851827e9c9209","name":"https://git.kernel.org/stable/c/8c96f3bd4ae0802db90630be8e9851827e9c9209","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5ad981249be52f5e4e92e0e97b436b569071cb86","name":"https://git.kernel.org/stable/c/5ad981249be52f5e4e92e0e97b436b569071cb86","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3340be2bafdcc806f048273ea6d8e82a6597aa1b","name":"https://git.kernel.org/stable/c/3340be2bafdcc806f048273ea6d8e82a6597aa1b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cef09691cfb61f6c91cc27c3d69634f81c8ab949","name":"https://git.kernel.org/stable/c/cef09691cfb61f6c91cc27c3d69634f81c8ab949","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/477ad4976072056c348937e94f24583321938df4","name":"https://git.kernel.org/stable/c/477ad4976072056c348937e94f24583321938df4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31512","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31512","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 cef09691cfb61f6c91cc27c3d69634f81c8ab949 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 3340be2bafdcc806f048273ea6d8e82a6597aa1b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 e47315b84d0eb188772c3ff5cf073cdbdefca6b4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 477ad4976072056c348937e94f24583321938df4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 40c7f7eea2f4d9cb0b3e924254c8c9053372168f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 8c96f3bd4ae0802db90630be8e9851827e9c9209 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 5ad981249be52f5e4e92e0e97b436b569071cb86 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected aac23bf636593cc2d67144aed373a46a1a5f76b1 c65bd945d1c08c3db756821b6bf9f1c4a77b29c6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.253 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.203 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.168 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.131 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.80 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.21 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.11 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/bluetooth/l2cap_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"cef09691cfb61f6c91cc27c3d69634f81c8ab949","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"},{"lessThan":"3340be2bafdcc806f048273ea6d8e82a6597aa1b","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"},{"lessThan":"e47315b84d0eb188772c3ff5cf073cdbdefca6b4","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"},{"lessThan":"477ad4976072056c348937e94f24583321938df4","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"},{"lessThan":"40c7f7eea2f4d9cb0b3e924254c8c9053372168f","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"},{"lessThan":"8c96f3bd4ae0802db90630be8e9851827e9c9209","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"},{"lessThan":"5ad981249be52f5e4e92e0e97b436b569071cb86","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"},{"lessThan":"c65bd945d1c08c3db756821b6bf9f1c4a77b29c6","status":"affected","version":"aac23bf636593cc2d67144aed373a46a1a5f76b1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/bluetooth/l2cap_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.14"},{"lessThan":"3.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.253","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.203","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.168","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.131","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.80","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.21","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.253","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.203","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.168","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.131","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.80","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.21","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.11","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"3.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv()\n\nl2cap_ecred_data_rcv() reads the SDU length field from skb->data using\nget_unaligned_le16() without first verifying that skb contains at least\nL2CAP_SDULEN_SIZE (2) bytes. When skb->len is less than 2, this reads\npast the valid data in the skb.\n\nThe ERTM reassembly path correctly calls pskb_may_pull() before reading\nthe SDU length (l2cap_reassemble_sdu, L2CAP_SAR_START case). Apply the\nsame validation to the Enhanced Credit Based Flow Control data path."}],"providerMetadata":{"dateUpdated":"2026-04-22T13:54:30.171Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/cef09691cfb61f6c91cc27c3d69634f81c8ab949"},{"url":"https://git.kernel.org/stable/c/3340be2bafdcc806f048273ea6d8e82a6597aa1b"},{"url":"https://git.kernel.org/stable/c/e47315b84d0eb188772c3ff5cf073cdbdefca6b4"},{"url":"https://git.kernel.org/stable/c/477ad4976072056c348937e94f24583321938df4"},{"url":"https://git.kernel.org/stable/c/40c7f7eea2f4d9cb0b3e924254c8c9053372168f"},{"url":"https://git.kernel.org/stable/c/8c96f3bd4ae0802db90630be8e9851827e9c9209"},{"url":"https://git.kernel.org/stable/c/5ad981249be52f5e4e92e0e97b436b569071cb86"},{"url":"https://git.kernel.org/stable/c/c65bd945d1c08c3db756821b6bf9f1c4a77b29c6"}],"title":"Bluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31512","datePublished":"2026-04-22T13:54:30.171Z","dateReserved":"2026-03-09T15:48:24.107Z","dateUpdated":"2026-04-22T13:54:30.171Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-22 14:16:50","lastModifiedDate":"2026-04-22 14:16:50","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31512","Ordinal":"1","Title":"Bluetooth: L2CAP: Validate PDU length before reading SDU length ","CVE":"CVE-2026-31512","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31512","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv()\n\nl2cap_ecred_data_rcv() reads the SDU length field from skb->data using\nget_unaligned_le16() without first verifying that skb contains at least\nL2CAP_SDULEN_SIZE (2) bytes. When skb->len is less than 2, this reads\npast the valid data in the skb.\n\nThe ERTM reassembly path correctly calls pskb_may_pull() before reading\nthe SDU length (l2cap_reassemble_sdu, L2CAP_SAR_START case). Apply the\nsame validation to the Enhanced Credit Based Flow Control data path.","Type":"Description","Title":"Bluetooth: L2CAP: Validate PDU length before reading SDU length "}]}}}