---
id: CVE-2026-43062
title: 'Bluetooth: L2CAP: Fix type confusion in l2cap_ecred_reconf_rsp()'
summary: |-
  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…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    21d3ba696918d6373233aac0b9d51fcabdedddc0
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    3b94e62caa1dc1198d0d55d97bd710da1dee15d7
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    111f74547eee8cfedfb854284e80f35c8a491186
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    dd3b221e21079ade8263fbb7176f3d55ad75d3b6
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    d90150c72d2e6a8a3079e88755dafcfbe91c746d
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    5a1ea296f8589ce8f1e3141b2b123b34ad010e19
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    f110b8f58b254bf997cec1bd60701b7798e9bb82
  - >-
    Linux >= 15f02b91056253e8cdc592888f431da0731337b8 <
    15145675690cab2de1056e7ed68e59cbd0452529
  - Linux 5.7
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T15:14:12.423204Z'
published: '2026-05-05'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:20:30.924Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-43062'
references:
  - url: 'https://git.kernel.org/stable/c/21d3ba696918d6373233aac0b9d51fcabdedddc0'
  - url: 'https://git.kernel.org/stable/c/3b94e62caa1dc1198d0d55d97bd710da1dee15d7'
  - url: 'https://git.kernel.org/stable/c/111f74547eee8cfedfb854284e80f35c8a491186'
  - url: 'https://git.kernel.org/stable/c/dd3b221e21079ade8263fbb7176f3d55ad75d3b6'
  - url: 'https://git.kernel.org/stable/c/d90150c72d2e6a8a3079e88755dafcfbe91c746d'
  - url: 'https://git.kernel.org/stable/c/5a1ea296f8589ce8f1e3141b2b123b34ad010e19'
  - url: 'https://git.kernel.org/stable/c/f110b8f58b254bf997cec1bd60701b7798e9bb82'
  - url: 'https://git.kernel.org/stable/c/15145675690cab2de1056e7ed68e59cbd0452529'
tags:
  - cve.org
epss: 0.00346
epssPercentile: 0.26533
ingestedAt: '2026-10-16T17:24:46.680Z'
---

## Overview

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.

## Affected

- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < 21d3ba696918d6373233aac0b9d51fcabdedddc0`
- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < 3b94e62caa1dc1198d0d55d97bd710da1dee15d7`
- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < 111f74547eee8cfedfb854284e80f35c8a491186`
- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < dd3b221e21079ade8263fbb7176f3d55ad75d3b6`
- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < d90150c72d2e6a8a3079e88755dafcfbe91c746d`
- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < 5a1ea296f8589ce8f1e3141b2b123b34ad010e19`
- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < f110b8f58b254bf997cec1bd60701b7798e9bb82`
- `Linux >= 15f02b91056253e8cdc592888f431da0731337b8 < 15145675690cab2de1056e7ed68e59cbd0452529`
- `Linux 5.7`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
