CVE-2017-1000410: Infoleak

Published Nov 30, 2017
·
Updated

A vulnerability was found in the bluetooth subsystem in the Linux kernel. This flaw takes affect while processing of incoming L2CAP commands - ConfigRequest, and ConfigResponse messages as uninitialized stack variables 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.

This kind of flaw is considered an 'information leak' and can be used by attackers to defeat defensive protection mechanisms that would usually mitigate other flaws.

References:

http://seclists.org/oss-sec/2017/q4/357

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=06e7e776ca4d3654

Other sources

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 l2capparseconfrsp and in the function l2capparseconfreq the following variable is declared without initialization: struct l2capconfefs 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 L2CAPCONFEFS: 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: l2capaddconfopt(&ptr, L2CAPCONFEFS, sizeof(efs), (unsigned long) &efs); So by sending a configuration request, or response, that contains an L2CAPCONFEFS 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).

Launchpad

Affected Software

23 affected componentsFixes available
Linux Linux kernel>3.2<4.15
Linux Linux kernel=4.15-rc1
Linux Linux kernel=4.15-rc2
Linux Linux kernel=4.15-rc3
Linux Linux kernel=4.15-rc4
Linux Linux kernel=4.15-rc5
Linux Linux kernel=4.15-rc6
Linux Linux kernel=4.15-rc7
Debian Debian Linux=8.0
Debian Debian Linux=9.0
redhat Virtualization Host=4.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.4
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  2. Upgrade

    Upgrade Linux kernel bluetooth L2CAP to a version that resolves this vulnerability.

    Patch 06e7e776ca4d3654

Event History

Nov 30, 2017
Data Sourced
via Red Hat·10:26 AM
DescriptionSeverityAffected Software
Dec 7, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:24 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:23 AM
RemedyDescriptionSeverityAffected Software
Aug 12, 2026
Data Sourced
via Debian·12:47 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-1000410?

CVE-2017-1000410 is considered a high-severity vulnerability due to its potential for exploitation in the Bluetooth subsystem of the Linux kernel.

2

How do I fix CVE-2017-1000410?

To fix CVE-2017-1000410, update your Linux kernel to version 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1.

3

Which versions of Linux kernel are affected by CVE-2017-1000410?

CVE-2017-1000410 affects Linux kernel versions from 3.2 to 4.15, including the 4.15 release candidates.

4

Is there a workaround for CVE-2017-1000410?

Currently, there is no known workaround for CVE-2017-1000410 other than applying the recommended kernel patches.

5

What components are impacted by CVE-2017-1000410?

CVE-2017-1000410 specifically impacts the Bluetooth subsystem of the Linux kernel, particularly during the handling of L2CAP commands.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203