7.8
CWE
787
Advisory Published
Updated

CVE-2018-5332

First published: Thu Jan 11 2018(Updated: )

In the Linux kernel through 3.2, the rds_message_alloc_sgs() 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 rds_rdma_extra_size function in net/rds/rdma.c).

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Linux Kernel<3.2.99
Linux Kernel>=3.3<3.16.54
Linux Kernel>=3.17<3.18.92
Linux Kernel>=3.19<4.1.50
Linux Kernel>=4.2<4.4.112
Linux Kernel>=4.5<4.9.77
Linux Kernel>=4.10<4.14.44
Debian Linux=7.0
Debian Linux=8.0
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=17.10
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.128-1
6.12.21-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203