CVE-2026-43062

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix type confusion in l2cap_ecred_reconf_rsp() l2cap_ecred_reconf_rsp() casts the incoming data to struct l2cap_ecred_conn_rsp (the ECRED *connection* response, 8 bytes with result at offset 6) instead of struct l2cap_ecred_reconf_rsp (2 bytes with result at offset 0). This causes two problems: - The sizeof(*rsp) length check requires 8 bytes instead of the correct 2, so valid L2CAP_ECRED_RECONF_RSP packets are rejected with -EPROTO. - rsp->result reads from offset 6 instead of offset 0, returning wrong data when the packet is large enough to pass the check. Fix by using the correct type. Also pass the already byte-swapped result variable to BT_DBG instead of the raw __le16 field.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: Bluetooth: L2CAP: Corrección de confusión de tipos en l2cap_ecred_reconf_rsp() l2cap_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). Esto causa dos problemas: - 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. - 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. Correcció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.

19 Oct 2026, 20:18

Type Values Removed Values Added
CWE CWE-843

Information

Published : 2026-05-05 16:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-43062

Mitre link : CVE-2026-43062

CVE.ORG link : CVE-2026-43062


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
NVD-CWE-noinfo CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')