VDB

CVE-2017-1000410

CVE-2017-1000410 PUBLISHED

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).

EPSS 1.92% · 83.7th percentile

Risk Scores

EPSS Score
1.92%
83.7th percentile

Affected Products

VendorProductVersions
Ubuntu:14.04:LTSlinux-aws4.4.0-1009.9, 4.4.0-1006.6, 4.4.0-1003.3
Ubuntu:16.04:LTSlinux-gke4.4.0-1014.14, 4.4.0-1016.16, 4.4.0-1018.18
Ubuntu:22.04:LTSlinux-intel-iot-realtime0, 5.15.0-1073.75
Ubuntu:16.04:LTSlinux-azure4.13.0-1018.21, 4.13.0-1011.14, 4.11.0-1011.11
Ubuntu:16.04:LTSlinux-gcp4.10.0-1006.6, 4.10.0-1004.4, 4.10.0-1007.7
Ubuntu:20.04:LTSlinux-azure-fde*, 0, 5.4.0-1065.68+cvm2.1
Ubuntu:16.04:LTSlinux-raspi24.2.0-1014.21, 4.2.0-1013.19, 4.3.0-1006.6
Ubuntu:24.04:LTSlinux-raspi-realtime0, 6.8.0-2019.20
Ubuntu:14.04:LTSlinux-lts-xenial4.4.0-111.134~14.04.1, 4.4.0-24.43~14.04.1, 4.4.0-22.39~14.04.1
Ubuntu:16.04:LTSlinux-snapdragon4.4.0-1039.43, 4.4.0-1035.39, 4.4.0-1030.33
Ubuntu:16.04:LTSlinux-hwe4.8.0-49.52~16.04.1, 4.8.0-53.56~16.04.1, 4.8.0-51.54~16.04.1
Ubuntu:20.04:LTSlinux-raspi25.4.0-1004.4, 5.3.0-1017.19, 5.3.0-1015.17
Ubuntu:14.04:LTSlinux3.13.0-55.92, 3.13.0-55.94, 3.13.0-58.97
Ubuntu:22.04:LTSlinux-realtime0, 5.15.0-1032.35
Ubuntu:20.04:LTSlinux-gke5.4.0-1076.82, 5.4.0-1080.86, 5.4.0-1081.87
Ubuntu:16.04:LTSlinux-kvm4.4.0-1004.9, 0, 4.4.0-1017.22
Ubuntu:20.04:LTSlinux-riscv5.4.0-37.42, 5.4.0-40.45, 5.4.0-39.44
Ubuntu:16.04:LTSlinux-aws4.4.0-1038.47, 4.4.0-1037.46, 4.4.0-1017.26
Ubuntu:22.04:LTSlinux-riscv5.15.0-1006.6, 5.13.0-1006.6+22.04.1, 5.13.0-1010.11+22.04.1
Ubuntu:Pro:FIPS:16.04:LTSlinux-fips0, 4.4.0-1005.5, 4.4.0-1006.6

…and 1 more

Timeline

  • Dec 7, 2017 CVE Published
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 24, 2021 EPSS Score
  • Oct 26, 2021 EPSS Score
  • Dec 27, 2021 EPSS Score
  • Feb 28, 2022 EPSS Score
  • May 2, 2022 EPSS Score
  • Jul 3, 2022 EPSS Score
  • Nov 6, 2022 EPSS Score
  • Jan 8, 2023 EPSS Score
  • Mar 11, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›