{"id":"CVE-2026-31512","aliases":["CVE-2026-31512"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: Validate PDU length before reading SDU length in l2cap_ecred_data_rcv()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nBluetooth: L2CAP: Validar la longitud de la PDU antes de leer la longitud de la SDU en l2cap_ecred_data_rcv()\n\nl2cap_ecred_data_rcv() lee el campo de longitud de la SDU de skb  ->  data usando get_unaligned_le16() sin verificar primero que skb contenga al menos L2CAP_SDULEN_SIZE (2) bytes. Cuando skb  ->  len es menor que 2, esto lee más allá de los datos válidos en el skb.\n\nLa ruta de reensamblaje ERTM llama correctamente a pskb_may_pull() antes de leer la longitud de la SDU (l2cap_reassemble_sdu, caso L2CAP_SAR_START). Aplicar la misma validación a la ruta de datos de Control de Flujo Basado en Crédito Mejorado.","source":"nvd"}],"published":"2026-04-22T13:54:30.171Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"cef09691cfb61f6c91cc27c3d69634f81c8ab949","status":"affected"},{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"3340be2bafdcc806f048273ea6d8e82a6597aa1b","status":"affected"},{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"e47315b84d0eb188772c3ff5cf073cdbdefca6b4","status":"affected"},{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"477ad4976072056c348937e94f24583321938df4","status":"affected"},{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"40c7f7eea2f4d9cb0b3e924254c8c9053372168f","status":"affected"},{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"8c96f3bd4ae0802db90630be8e9851827e9c9209","status":"affected"},{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"5ad981249be52f5e4e92e0e97b436b569071cb86","status":"affected"},{"type":"git","introduced":"aac23bf636593cc2d67144aed373a46a1a5f76b1","fixed":"c65bd945d1c08c3db756821b6bf9f1c4a77b29c6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.168","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.131","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.80","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.14.1","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.168"},{"status":"affected","introduced":"6.2","fixed":"6.6.131"},{"status":"affected","introduced":"6.7","fixed":"6.12.80"},{"status":"affected","introduced":"6.13","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"3.14"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cef09691cfb61f6c91cc27c3d69634f81c8ab949","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3340be2bafdcc806f048273ea6d8e82a6597aa1b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e47315b84d0eb188772c3ff5cf073cdbdefca6b4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/477ad4976072056c348937e94f24583321938df4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/40c7f7eea2f4d9cb0b3e924254c8c9053372168f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c96f3bd4ae0802db90630be8e9851827e9c9209","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ad981249be52f5e4e92e0e97b436b569071cb86","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c65bd945d1c08c3db756821b6bf9f1c4a77b29c6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:36:21.853Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31512","url":"https://www.cve.org/CVERecord?id=CVE-2026-31512","licence":"CVE Terms of Use","modified":"2026-11-05T21:45:04.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31512","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31512","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.304Z","epss":{"score":0.00128,"percentile":0.02622,"date":"2026-12-01T12:00:22.000Z"}}