CVE 7.1 HIGH

Bluetooth: L2CAP: Fix type confusion in l2cap_ecred_reconf_rsp()_CVE-2026-43062

7.1 / 10
HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Description

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.

Basic Information

ID CVE-2026-43062
Source Linux
Published May 5, 2026 at 15:17
Modified May 8, 2026 at 12:40

Affected Product

Vendor Linux
Product Linux
Version 15f02b91056253e8cdc592888f431da0731337b8
Affected Versions Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 15f02b91056253e8cdc592888f431da0731337b8
Linux Linux 5.7

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.