CVE-2018-5332: High severity Linux Linux kernel vulnerability

Published Jan 11, 2018
·
Updated

In the Linux kernel through 3.2, the rdsmessageallocsgs() function does not validate a value that is used during DMA page allocation, leading to a heap-based out-of-bounds write (related to the rdsrdmaextrasize function in net/rds/rdma.c).

Other sources

In the Linux kernel through 4.14.13, the rdsmessageallocsgs() function does not validate a value that is used during DMA page allocation, leading to a heap-based out-of-bounds write (related to the rdsrdmaextrasize() function in 'net/rds/rdma.c') and thus to a system panic. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely.

References:

https://marc.info/?t=151492231500011&r=1&w=2

https://patchwork.ozlabs.org/patch/854723/

An upstream patch:

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

Red Hat

Affected Software

14 affected componentsFixes available
Linux Linux kernel<3.2.99
Linux Linux kernel>=3.3<3.16.54
Linux Linux kernel>=3.17<3.18.92
Linux Linux kernel>=3.19<4.1.50
Linux Linux kernel>=4.2<4.4.112
Linux Linux kernel>=4.5<4.9.77
Linux Linux kernel>=4.10<4.14.44
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

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.8-1Fixed in 7.1.8-2

Event History

Jan 11, 2018
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
Description
Data Sourced
via NVD·07:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2018
Data Sourced
via Red Hat·01:28 PM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:08 PM
Description
Jul 6, 2026
Data Sourced
via Ubuntu·11:14 AM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·12:43 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-2018-5332?

CVE-2018-5332 has a medium severity rating due to the potential for heap-based out-of-bounds writes.

2

How do I fix CVE-2018-5332?

To fix CVE-2018-5332, update your Linux kernel to the latest patched version such as 5.10.223-1 or 6.1.123-1.

3

What systems are affected by CVE-2018-5332?

CVE-2018-5332 affects various versions of the Linux kernel including versions 3.2 through 4.14.13.

4

What type of vulnerability is CVE-2018-5332?

CVE-2018-5332 is a heap-based out-of-bounds write vulnerability related to insufficient validation in the rds_message_alloc_sgs function.

5

Is CVE-2018-5332 related to any specific Linux distributions?

CVE-2018-5332 is relevant to multiple Linux distributions, including Debian and Ubuntu, impacting various kernel versions.

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