CVE-2017-15102: Null Pointer Dereference

Published Oct 24, 2017
·
Updated

Last updated 24 July 2024

Other sources

Race condition in legousbtower driver exposes a null pointer dereference caused by not removing the device file interface on an error when the probe function is called. This can cause a write-what-where condition by remapping dev->interruptoutbuffer in towerwrite, leading to privilege escalation.

Upstream patch:

https://github.com/torvalds/linux/commit/2fae9e5a7babada041e2e161699ade2447a01989

— Red Hat

The towerprobe function in drivers/usb/misc/legousbtower.c in the Linux kernel before 4.8.1 allows local users (who are physically proximate for inserting a crafted USB device) to gain privileges by leveraging a write-what-where condition that occurs after a race condition and a NULL pointer dereference.

— Launchpad

Affected Software

28 affected componentsFixes available
redhat/kernel<4.9
4.9
Linux Linux kernel<4.8.1
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
ubuntu/linux<3.13.0-142.191
3.13.0-142.191
ubuntu/linux-lts-xenial<4.4.0-47.68~14.04.1
4.4.0-47.68~14.04.1
ubuntu/linux<4.4.0-47.68
4.4.0-47.68
ubuntu/linux-raspi2<4.4.0-1038.45
4.4.0-1038.45
ubuntu/linux-snapdragon<4.4.0-1035.39
4.4.0-1035.39
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 4.9
  2. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
  3. Upgrade

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

    Fixed in 3.13.0-142.191
  4. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-47.68~14.04.1
  5. Upgrade

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

    Fixed in 4.4.0-47.68
  6. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1038.45
  7. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1035.39
  8. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.8.1

Event History

Nov 15, 2017
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2017-15102?

The severity of CVE-2017-15102 is low.

2

How does CVE-2017-15102 impact Linux kernel before version 4.8.1?

CVE-2017-15102 allows local users to gain privileges by leveraging a write-what-where condition that occurs after a race condition and a NULL pointer dereference.

3

Which Linux kernel versions are affected by CVE-2017-15102?

Linux kernel versions before 4.8.1 are affected by CVE-2017-15102.

4

How can I fix the vulnerability CVE-2017-15102?

To fix CVE-2017-15102, update your Linux kernel to version 4.8.1 or later.

5

Where can I find more information about CVE-2017-15102?

You can find more information about CVE-2017-15102 in the references: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2fae9e5a7babada041e2e161699ade2447a01989, http://seclists.org/oss-sec/2017/q4/238, https://bugzilla.redhat.com/show_bug.cgi?id=1505905.

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