{"id":"CVE-2026-43062","aliases":["CVE-2026-43062"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: Fix type confusion in l2cap_ecred_reconf_rsp()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Fix type confusion in l2cap_ecred_reconf_rsp()\n\nl2cap_ecred_reconf_rsp() casts the incoming data to struct\nl2cap_ecred_conn_rsp (the ECRED *connection* response, 8 bytes with\nresult at offset 6) instead of struct l2cap_ecred_reconf_rsp (2 bytes\nwith result at offset 0).\n\nThis causes two problems:\n\n - The sizeof(*rsp) length check requires 8 bytes instead of the\n   correct 2, so valid L2CAP_ECRED_RECONF_RSP packets are rejected\n   with -EPROTO.\n\n - rsp->result reads from offset 6 instead of offset 0, returning\n   wrong data when the packet is large enough to pass the check.\n\nFix by using the correct type.  Also pass the already byte-swapped\nresult variable to BT_DBG instead of the raw __le16 field.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Fix type confusion in l2cap_ecred_reconf_rsp()\n\nl2cap_ecred_reconf_rsp() casts the incoming data to struct\nl2cap_ecred_conn_rsp (the ECRED *connection* response, 8 bytes with\nresult at offset 6) instead of struct l2cap_ecred_reconf_rsp (2 bytes\nwith result at offset 0).\n\nThis causes two problems:\n\n - The sizeof(*rsp) length check requires 8 bytes instead of the\n   correct 2, so valid L2CAP_ECRED_RECONF_RSP packets are rejected\n   with -EPROTO.\n\n - rsp->result reads from offset 6 instead of offset 0, returning\n   wrong data when the packet is large enough to pass the check.\n\nFix by using the correct type.  Also pass the already byte-swapped\nresult variable to BT_DBG instead of the raw __le16 field.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nBluetooth: L2CAP: Corrección de confusión de tipos en l2cap_ecred_reconf_rsp()\n\nl2cap_ecred_reconf_rsp() convierte los datos entrantes a struct l2cap_ecred_conn_rsp (la respuesta ECRED de conexión, 8 bytes con el resultado en el desplazamiento 6) en lugar de struct l2cap_ecred_reconf_rsp (2 bytes con el resultado en el desplazamiento 0).\n\nEsto causa dos problemas:\n\n - La comprobación de longitud de sizeof(rsp) requiere 8 bytes en lugar de los 2 correctos, por lo que los paquetes L2CAP_ECRED_RECONF_RSP válidos son rechazados con -EPROTO.\n\n - rsp  ->  result lee desde el desplazamiento 6 en lugar del desplazamiento 0, devolviendo datos incorrectos cuando el paquete es lo suficientemente grande como para pasar la comprobación.\n\nCorrección mediante el uso del tipo correcto. También se pasa la variable de resultado ya con los bytes intercambiados a BT_DBG en lugar del campo __le16 en bruto.","source":"nvd"}],"published":"2026-05-05T15:17:27.830Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":7.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:N/I:H/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"21d3ba696918d6373233aac0b9d51fcabdedddc0","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"3b94e62caa1dc1198d0d55d97bd710da1dee15d7","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"111f74547eee8cfedfb854284e80f35c8a491186","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"dd3b221e21079ade8263fbb7176f3d55ad75d3b6","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"d90150c72d2e6a8a3079e88755dafcfbe91c746d","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"5a1ea296f8589ce8f1e3141b2b123b34ad010e19","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"f110b8f58b254bf997cec1bd60701b7798e9bb82","status":"affected"},{"type":"git","introduced":"15f02b91056253e8cdc592888f431da0731337b8","fixed":"15145675690cab2de1056e7ed68e59cbd0452529","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","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":"5.7","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/21d3ba696918d6373233aac0b9d51fcabdedddc0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b94e62caa1dc1198d0d55d97bd710da1dee15d7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/111f74547eee8cfedfb854284e80f35c8a491186","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd3b221e21079ade8263fbb7176f3d55ad75d3b6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d90150c72d2e6a8a3079e88755dafcfbe91c746d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a1ea296f8589ce8f1e3141b2b123b34ad010e19","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f110b8f58b254bf997cec1bd60701b7798e9bb82","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15145675690cab2de1056e7ed68e59cbd0452529","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T15:14:12.423Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43062","url":"https://www.cve.org/CVERecord?id=CVE-2026-43062","licence":"CVE Terms of Use","modified":"2026-10-19T19:06:12.056Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43062","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43062","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.612Z","epss":{"score":0.00216,"percentile":0.12748,"date":"2026-12-01T12:00:22.000Z"}}