CVE-2017-1000410
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).
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-intel | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.11 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi-realtime | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 24.04 | linux-realtime | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-riscv | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-intel-iot-realtime | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 22.04 | linux-intel-iotg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-realtime | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 22.04 | linux-riscv | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 22.04 | linux-riscv-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-xilinx-zynqmp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-azure-fde | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 20.04 | linux-gke | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 20.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-gkeop-5.15 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-raspi2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 20.04 | linux-riscv | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2017-1000410 | |
| Ubuntu 18.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-azure-edge | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gcp-edge | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-hwe-edge | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux | Fixed | 4.4.0-119.143 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-aws | Fixed | 4.4.0-1054.63 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-aws-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-azure | Fixed | 4.15.0-1013.13~16.04.2 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-euclid | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 16.04 | linux-flo | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 16.04 | linux-gcp | Fixed | 4.15.0-1014.14~16.04.1 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-gke | Fixed | 4.4.0-1031.31 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-goldfish | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 16.04 | linux-hwe | Fixed | 4.15.0-24.26~16.04.1 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-kvm | Fixed | 4.4.0-1020.25 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-mako | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 16.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-raspi2 | Fixed | 4.4.0-1086.94 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 16.04 | linux-snapdragon | Fixed | 4.4.0-1088.93 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 14.04 | linux | Fixed | 3.13.0-168.218 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 14.04 | linux-aws | Fixed | 4.4.0-1016.16 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 14.04 | linux-flo | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-goldfish | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-grouper | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-lts-utopic | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-lts-vivid | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-lts-wily | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-lts-xenial | Fixed | 4.4.0-119.143~14.04.1 | UBUNTU-CVE-2017-1000410 |
| Ubuntu 14.04 | linux-maguro | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-mako | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | linux-manta | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | linux | Fixed | 4.14.7-1 | DEBIAN-CVE-2017-1000410 |
| Debian 13 | linux | Fixed | 4.14.7-1 | DEBIAN-CVE-2017-1000410 |
| Debian 12 | linux | Fixed | 4.14.7-1 | DEBIAN-CVE-2017-1000410 |
| Red Hat Enterprise Linux 7 | kernel | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-alt | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Fixed | 0:3.10.0-862.el7 | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debug | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Fixed | 0:3.10.0-862.el7 | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-aarch64 | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64 | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64le | Fixed | 0:4.14.0-49.el7a | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-s390x | Fixed | 0:3.10.0-862.el7 | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-x86_64 | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-devel | Fixed | 0:3.10.0-862.el7 | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-doc | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-headers | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-kdump | Fixed | 0:3.10.0-862.el7 | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Fixed | 0:3.10.0-862.el7 | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-tools | Fixed | 0:4.14.0-49.el7a | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Fixed | 0:3.10.0-862.el7 | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | perf | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | python-perf | Fixed | 0:3.10.0-862.el7 | RHSA-2018:1062 |
| Red Hat Enterprise Linux 6 | kernel | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-debug | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-i686 | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-ppc64 | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-s390x | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-x86_64 | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-devel | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-doc | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-firmware | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-headers | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-kdump | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | perf | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 6 | python-perf | Fixed | 0:2.6.32-696.28.1.el6 | RHSA-2018:1319 |
| Red Hat Enterprise Linux 5 | kernel | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2018/dsa-4082 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:1062 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0654 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:1319 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0676 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:1170 (vendor-advisory)
References
- http://seclists.org/oss-sec/2017/q4/357
- https://www.debian.org/security/2018/dsa-4082
- https://access.redhat.com/errata/RHSA-2018:1062
- https://access.redhat.com/errata/RHSA-2018:0654
- https://access.redhat.com/errata/RHSA-2018:1319
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- https://access.redhat.com/errata/RHSA-2018:0676
- https://access.redhat.com/errata/RHSA-2018:1170
- https://access.redhat.com/errata/RHSA-2018:1130
- https://www.debian.org/security/2017/dsa-4073
- http://www.securityfocus.com/bid/102101
- https://usn.ubuntu.com/3933-2/
- https://usn.ubuntu.com/3933-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.