Description
The Linux kernel version 3.3-rc1 and later is affected by a vulnerability lies in the processing of incoming L2CAP commands - ConfigRequest, and ConfigResponse messages. This info leak is a result of uninitialized stack variables that may be returned to an attacker in their uninitialized state. By manipulating the code flows that precede the handling of these configuration messages, an attacker can also gain some control over which data will be held in the uninitialized stack variables. This can allow him to bypass KASLR, and stack canaries protection - as both pointers and stack canaries may be leaked in this manner. Combining this vulnerability (for example) with the previously disclosed RCE vulnerability in L2CAP configuration parsing (CVE-2017-1000251) may allow an attacker to exploit the RCE against kernels which were built with the above mitigations. These are the specifics of this vulnerability: In the function l2cap_parse_conf_rsp and in the function l2cap_parse_conf_req the following variable is declared without initialization: struct l2cap_conf_efs efs; In addition, when parsing input configuration parameters in both of these functions, the switch case for handling EFS elements may skip the memcpy call that will write to the efs variable: ... case L2CAP_CONF_EFS: if (olen == sizeof(efs)) memcpy(&efs, (void *)val, olen); ... The olen in the above if is attacker controlled, and regardless of that if, in both of these functions the efs variable would eventually be added to the outgoing configuration request that is being built: l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), (unsigned long) &efs); So by sending a configuration request, or response, that contains an L2CAP_CONF_EFS element, but with an element length that is not sizeof(efs) - the memcpy to the uninitialized efs variable can be avoided, and the uninitialized variable would be returned to the attacker (16 bytes).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.14.7-1 | — |
| Debian 13 | linux | 4.14.7-1 | — |
| Debian 12 | linux | 4.14.7-1 | — |
| Debian 9 | linux | 4.9.65-3+deb9u1 | DSA-4073-1 |
| Debian 8 | linux | 3.16.51-3+deb8u1 | DSA-4082-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-119.143 | — |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1054.63 | — |
| Ubuntu 16.04 LTS | linux-azure | 4.15.0-1013.13~16.04.2 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.15.0-1014.14~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1031.31 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.15.0-24.26~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1020.25 | — |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1086.94 | — |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1088.93 | — |
| Ubuntu 14.04 LTS | linux | 3.13.0-168.218 | USN-3933-1 |
| Ubuntu 14.04 LTS | linux-aws | 4.4.0-1016.16 | — |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-119.143~14.04.1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1008.10 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-alt +1 | 4.14.0-49.el7a | RHSA-2018:0654 |
| RHEL 7 | kernel-rt +10 | 3.10.0-862.rt56.804.el7 | RHSA-2018:0676 |
| RHEL 7 | perf +18 | 3.10.0-862.el7 | RHSA-2018:1062, RHSA-2018:0654 |
| RHEL 6 | perf +16 | 2.6.32-696.28.1.el6 | RHSA-2018:1319 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.4 EUS | perf +18 | 3.10.0-693.25.2.el7 | RHSA-2018:1130 |
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.25.2.rt56.612.el6rt | RHSA-2018:1170 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | kernel-docs +4 | 4.4.103-6.33.1 | SUSE-SU-2017:3398-1 |
| SLES 12 SP2 | kernel-docs +4 | 4.4.103-92.53.1 | SUSE-SU-2017:3410-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | kernel-syms +2 | 4.4.103-6.33.1 | SUSE-SU-2017:3398-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.103-92.53.1 | SUSE-SU-2017:3410-1 |
| SLE Real Time 12 SP2 | kernel-rt +3 | 4.4.104-24.1 | SUSE-SU-2018:0213-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_6 | 1-4.3.1 | SUSE-SU-2017:3398-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_16 | 1-3.3.1 | SUSE-SU-2017:3410-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.21.4.el6uek | 0.4.5-3.el6 | ELSA-2018-4134 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.21.4.el7uek | 0.4.5-3.el7 | ELSA-2018-4134 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.21.4.el7uek | ELSA-2018-4134, ELSA-2018-4114 |
| Oracle Linux 7 | perf +11 | 3.10.0-862.el7 | ELSA-2018-1062 |
Advisories 15
- RHSA-2018:1170 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:1130 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:1062 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:0676 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:0654 Red Hat Security Advisory: kernel-alt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:1319 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-3933-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4073-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4082-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:3410-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0213-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:3398-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2018-4134 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 15, 2018
- ELSA-2018-4114 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 22, 2018
- ELSA-2018-1062 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 16, 2018
References
- [oss-security] 20171206 Info Leak in the Linux Kernel via Bluetooth mailing-list
- DSA-4082 vendor-advisory
- RHSA-2018:1062 vendor-advisory
- RHSA-2018:0654 vendor-advisory
- RHSA-2018:1319 vendor-advisory
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- RHSA-2018:0676 vendor-advisory
- RHSA-2018:1170 vendor-advisory
- RHSA-2018:1130 vendor-advisory
- DSA-4073 vendor-advisory
- 102101 vdb-entry
- USN-3933-2 vendor-advisory
- USN-3933-1 vendor-advisory