{"id":"CVE-2026-31393","aliases":["CVE-2026-31393"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access\n\nl2cap_information_rsp() checks that cmd_len covers the fixed\nl2cap_info_rsp header (type + result, 4 bytes) but then reads\nrsp->data without verifying that the payload is present:\n\n - L2CAP_IT_FEAT_MASK calls get_unaligned_le32(rsp->data), which reads\n   4 bytes past the header (needs cmd_len >= 8).\n\n - L2CAP_IT_FIXED_CHAN reads rsp->data[0], 1 byte past the header\n   (needs cmd_len >= 5).\n\nA truncated L2CAP_INFO_RSP with result == L2CAP_IR_SUCCESS triggers an\nout-of-bounds read of adjacent skb data.\n\nGuard each data access with the required payload length check.  If the\npayload is too short, skip the read and let the state machine complete\nwith safe defaults (feat_mask and remote_fixed_chan remain zero from\nkzalloc), so the info timer cleanup and l2cap_conn_start() still run\nand the connection is not stalled.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access\n\nl2cap_information_rsp() checks that cmd_len covers the fixed\nl2cap_info_rsp header (type + result, 4 bytes) but then reads\nrsp->data without verifying that the payload is present:\n\n - L2CAP_IT_FEAT_MASK calls get_unaligned_le32(rsp->data), which reads\n   4 bytes past the header (needs cmd_len >= 8).\n\n - L2CAP_IT_FIXED_CHAN reads rsp->data[0], 1 byte past the header\n   (needs cmd_len >= 5).\n\nA truncated L2CAP_INFO_RSP with result == L2CAP_IR_SUCCESS triggers an\nout-of-bounds read of adjacent skb data.\n\nGuard each data access with the required payload length check.  If the\npayload is too short, skip the read and let the state machine complete\nwith safe defaults (feat_mask and remote_fixed_chan remain zero from\nkzalloc), so the info timer cleanup and l2cap_conn_start() still run\nand the connection is not stalled.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nBluetooth: L2CAP: Validar la longitud de la carga útil de L2CAP_INFO_RSP antes del acceso\n\nl2cap_information_rsp() comprueba que cmd_len cubre la cabecera fija de l2cap_info_rsp (tipo + resultado, 4 bytes) pero luego lee rsp -> data sin verificar que la carga útil esté presente:\n\n - L2CAP_IT_FEAT_MASK llama a get_unaligned_le32(rsp -> data), que lee 4 bytes después de la cabecera (necesita cmd_len >= 8).\n\n - L2CAP_IT_FIXED_CHAN lee rsp -> data[0], 1 byte después de la cabecera (necesita cmd_len >= 5).\n\nUn L2CAP_INFO_RSP truncado con result == L2CAP_IR_SUCCESS desencadena una lectura fuera de límites de datos skb adyacentes.\n\nProteger cada acceso a datos con la comprobación de longitud de carga útil requerida. Si la carga útil es demasiado corta, omitir la lectura y permitir que la máquina de estados se complete con valores predeterminados seguros (feat_mask y remote_fixed_chan permanecen en cero desde kzalloc), para que la limpieza del temporizador de información y l2cap_conn_start() sigan ejecutándose y la conexión no se estanque.","source":"nvd"}],"published":"2026-04-03T15:15:58.142Z","modified":"2026-10-19T19:17:51.010Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"187e6fe939295be36063a1d91f8bebee04399a8c","status":"affected"},{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"5229e7d15771eac2b5886bfb1f976aea0c1eec14","status":"affected"},{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"3b646516cba2ebc4b51a72954903326e7c1e443f","status":"affected"},{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"807bd1258453c4c83f6ae9dbc1e7b44860ff40d0","status":"affected"},{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"9aeacde4da0f02d42fd968fd32f245828b230171","status":"affected"},{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"e7ff754e339e3d5ce29aa9f95352d0186df8fbd9","status":"affected"},{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"db2872d054e467810078e2b9f440a5b326a601b2","status":"affected"},{"type":"git","introduced":"4e8402a3f884427f9233ba436459c158d1f2e114","fixed":"dd815e6e3918dc75a49aaabac36e4f024d675101","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.24","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.24","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.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.20","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.10","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":"2.6.24","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.20"},{"status":"affected","introduced":"6.19","fixed":"6.19.10"},{"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/187e6fe939295be36063a1d91f8bebee04399a8c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5229e7d15771eac2b5886bfb1f976aea0c1eec14","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b646516cba2ebc4b51a72954903326e7c1e443f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/807bd1258453c4c83f6ae9dbc1e7b44860ff40d0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9aeacde4da0f02d42fd968fd32f245828b230171","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7ff754e339e3d5ce29aa9f95352d0186df8fbd9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db2872d054e467810078e2b9f440a5b326a601b2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd815e6e3918dc75a49aaabac36e4f024d675101","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T15:08:44.591Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31393","url":"https://www.cve.org/CVERecord?id=CVE-2026-31393","licence":"CVE Terms of Use","modified":"2026-10-19T18:35:46.203Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31393","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31393","licence":"Public domain","modified":"2026-10-19T19:17:51.010Z"}],"updatedAt":"2026-11-25T22:59:17.901Z","epss":{"score":0.00286,"percentile":0.2272,"date":"2026-12-02T12:00:21.000Z"}}