In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: validate option length before reading conf opt value
l2cap_get_conf_opt() derives the option length from the attacker-controlled opt->len field and immediately dereferences opt->val (as u8, get_unaligned_le16() or get_unaligned_le32(), or a raw pointer for the default case) before any caller has confirmed that opt->len bytes are present in the buffer. The callers (l2cap_parse_conf_req(), l2cap_parse_conf_rsp() and l2cap_conf_rfc_get()) only detect a malformed option afterwards, once the running length has gone negative, by which point the out-of-bounds read has already executed.
An existing post-hoc length check keeps the garbage value from being consumed, so this is not a data leak in the current control flow. It is still a validate-after-use ordering bug: up to 4 bytes are read past the end of the buffer before it is known to contain them, and it is fragile to future changes in the callers.
Fix it at the source. Pass the end of the buffer into l2cap_get_conf_opt() and refuse to touch opt->val unless the full option (header + value) fits. Each caller computes an end pointer once before the loop and checks the return value directly instead of inferring the error from a negative length.
CVSS Details
- CVSS 3.1 Base Score: 7.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linuxUpgrade linux-6.1Upgrade linux-6.12 | Jul 28, 2026 | Jul 28, 2026 |
| Redhat_linux | — | No solution exists | Jul 30, 2026 | Jul 25, 2026 |
| Ubuntu | — | Upgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-gcp-64kUpgrade linux-image-realtime-64kUpgrade linux-image-awsUpgrade linux-image-gke-64kUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-nvidia-7.0Upgrade linux-image-realtimeUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-raspiUpgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-1012-awsUpgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-ibmUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-generic-7.0Upgrade linux-image-7.0.0-31-genericUpgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-gke-64k-7.0Upgrade linux-image-oem-26.04aUpgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-gcp-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-7.0.0-1013-oemUpgrade linux-image-raspi-realtimeUpgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-virtualUpgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-gcpUpgrade linux-image-oem-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-ibm-7.0Upgrade linux-image-virtual-7.0Upgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-aws-64kUpgrade linux-image-nvidiaUpgrade linux-image-gke-7.0Upgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-gkeUpgrade linux-image-generic-64kUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-nvidia-64kUpgrade linux-image-genericUpgrade linux-image-oem-26.04bUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-generic-64k-7.0Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-aws-7.0 | Sep 14, 2026 | Sep 7, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 31, 2026 | Jul 25, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub