CVE-2018-5332 Memory corruption in n/a
A heap-based out-of-bounds write in the Linux kernel RDS module allows attackers to execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-5332?
CVE-2018-5332 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 11 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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).
Weakness: CWE-787
Which versions are affected by CVE-2018-5332?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel.
How do I fix CVE-2018-5332?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-5332 being exploited?
There is no known exploitation of CVE-2018-5332 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-5332, GHSA-mjf9-q9gc-82xc, UBUNTU-CVE-2018-5332.