CVE-2018-5848: Buffer Overflow

Published Jun 12, 2018
·
Updated

In the function wmisetie() in the Linux kernel the length validation code does not handle unsigned integer overflow properly. As a result, a large value of the ‘ielen’ argument can cause a buffer overflow and thus a memory corruption leading to a system crash or other or unspecified impact.

References:

https://www.codeaurora.org/security-bulletin/2018/05/11/may-2018-code-aurora-security-bulletin-2#CVE-2018-5848

https://marc.info/?l=linux-wireless&m=151066597529493&w=2

An upstream fix:

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

Other sources

In the function wmisetie(), the length validation code does not handle unsigned integer overflow properly. As a result, a large value of the 'ielen' argument can cause a buffer overflow in all Android releases from CAF (Android for MSM, Firefox OS for MSM, QRD Android) using the Linux Kernel.

MITRE

Affected Software

6 affected components
Google Android
redhat Virtualization Host=4.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Debian Debian Linux=8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update the Linux kernel to include the upstream fix for the wmi_set_ie() unsigned integer overflow in length validation (issue caused by a large 'ie_len' value in wmi_set_ie() leading to buffer overflow/memory corruption).

Event History

Jun 12, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionWeakness
Data Sourced
via NVD·08:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 13, 2018
Data Sourced
via Red Hat·12:20 PM
DescriptionSeverityAffected 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-2018-5848?

CVE-2018-5848 has a high severity rating due to the potential for buffer overflow leading to code execution.

2

How do I fix CVE-2018-5848?

To fix CVE-2018-5848, apply the latest security patches provided by your operating system vendor.

3

Which systems are affected by CVE-2018-5848?

CVE-2018-5848 affects all Android releases from CAF and specific versions of Red Hat Enterprise Linux and Debian GNU/Linux.

4

What is the nature of the vulnerability in CVE-2018-5848?

CVE-2018-5848 is a buffer overflow vulnerability caused by improper handling of unsigned integer overflow in the wmi_set_ie() function.

5

Can CVE-2018-5848 be exploited remotely?

Yes, CVE-2018-5848 can potentially be exploited remotely, allowing attackers to execute arbitrary code on affected devices.

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