CVE-2018-9516: Buffer Overflow

Published Sep 14, 2018
·
Updated

A flaw was found in the Linux kernel in the hiddebugeventsread() function in the drivers/hid/hid-debug.c file. A lack of the certain checks may allow a privileged user ("root") to achieve an out-of-bounds write and thus receiving user space buffer corruption.

Other sources

A flaw was found in the Linux kernel in the hiddebugeventsread() function in the drivers/hid/hid-debug.c file. A lack of the certain checks may allow a privileged user ("root") to achieve an out-of-bounds write and thus receiving userspace buffer corruption.

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=717adfdaf14704fd3ec7fa2c04520c0723247eac

Note: this fix introduces another vulnerability CVE-2019-3819/bz1669187 and these both should be fixed.

— Red Hat

In hiddebugeventsread of drivers/hid/hid-debug.c, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Product: Android Versions: Android kernel Android ID: A-71361580.

Affected Software

9 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1062.rt56.1022.el7
0:3.10.0-1062.rt56.1022.el7
redhat/kernel<0:3.10.0-1062.el7
0:3.10.0-1062.el7
Google Android
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
debian/linux
6.1.176-16.1.187-16.12.107-16.12.111-17.2.9-17.2.10-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 0:3.10.0-1062.rt56.1022.el7
  2. Upgrade

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

    Fixed in 0:3.10.0-1062.el7
  3. Upgrade

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

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 6.12.111-1Fixed in 7.2.9-1Fixed in 7.2.10-1
  4. Upgrade

    Upgrade Android kernel to a version that resolves this vulnerability.

    Fixed in CVE-2019-3819
  5. Compensating control

    Until the upstream fix is applied, restrict privileged access to the HID debug interface (drivers/hid/hid-debug.c) so that non-essential root-level access cannot reach hid_debug_events_read().

Event History

Sep 14, 2018
CVE Published
12:00 AM
Sep 19, 2018
Data Sourced
via Red Hat·07:32 PM
DescriptionSeverityAffected Software
Nov 6, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionWeakness
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:11 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:29 AM
RemedyDescriptionSeverityAffected Software
Oct 13, 2026
Data Sourced
via Debian·01:03 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2018-9516?

CVE-2018-9516 is considered to have a high severity due to the potential for user space buffer corruption.

2

How do I fix CVE-2018-9516?

To fix CVE-2018-9516, upgrade your Linux kernel to the recommended patched versions provided by your distribution.

3

Which Linux distributions are affected by CVE-2018-9516?

CVE-2018-9516 affects various distributions including Red Hat, Debian, and Ubuntu.

4

Can CVE-2018-9516 be exploited remotely?

CVE-2018-9516 requires local access as it needs a privileged user (root) to exploit the vulnerability.

5

What components of the Linux kernel are related to CVE-2018-9516?

CVE-2018-9516 is related to the hid_debug_events_read() function in the drivers/hid/hid-debug.c file.

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