# CVE-2018-5332

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-01-11 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-5332, DEBIAN-CVE-2018-5332
- Record: https://cvemate.com/vulnerability/CVE-2018-5332 · JSON: https://cvemate.com/vulnerability/CVE-2018-5332/json

## Description

```text
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).
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.452%, percentile 41.021%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 26)

- canonical ubuntu\_linux: 12.04 \| 14.04 \| 16.04 \| 17.10
- debian linux (Debian): \< 4.14.17-1
- ubuntu linux (Ubuntu): \< 3.13.0-144.193 \| \< 4.4.0-119.143
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1016.16 \| \< 4.4.0-1054.63
- ubuntu linux-azure (Ubuntu): \< 4.13.0-1014.17
- ubuntu linux-azure-6.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-fde (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-fde-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-fips (Ubuntu): \< 4.4.0-1008.10
- ubuntu linux-gcp (Ubuntu): \< 4.13.0-1012.16
- ubuntu linux-gcp-6.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gke (Ubuntu): All versions (No fix recorded)
- ubuntu linux-hwe (Ubuntu): \< 4.13.0-41.46~16.04.1
- ubuntu linux-hwe-6.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-intel-iot-realtime (Ubuntu): All versions (No fix recorded)
- ubuntu linux-kvm (Ubuntu): \< 4.4.0-1020.25
- ubuntu linux-lowlatency-hwe-6.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-lts-xenial (Ubuntu): \< 4.4.0-119.143~14.04.1
- ubuntu linux-oem (Ubuntu): \< 4.13.0-1022.24
- ubuntu linux-raspi-realtime (Ubuntu): All versions (No fix recorded)

## References (first 20 of 26)

- <http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c095508770aebf1b9218e77026e48345d719b17c>
- <https://www.debian.org/security/2018/dsa-4187>
- <https://github.com/torvalds/linux/commit/c095508770aebf1b9218e77026e48345d719b17c>
- <https://usn.ubuntu.com/3617-1/>
- <https://usn.ubuntu.com/3619-2/>
- <https://usn.ubuntu.com/3617-3/>
- <https://usn.ubuntu.com/3632-1/>
- <https://usn.ubuntu.com/3620-2/>
- <http://www.securityfocus.com/bid/102507>
- <https://access.redhat.com/errata/RHSA-2018:0470>
- <https://lists.debian.org/debian-lts-announce/2018/05/msg00000.html>
- <https://usn.ubuntu.com/3617-2/>
- <https://usn.ubuntu.com/3620-1/>
- <https://usn.ubuntu.com/3619-1/>
- <https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=60daca9efbb3e4109ebc1f7069543e5573fc124e>
- <https://ubuntu.com/security/CVE-2018-5332>
- <https://ubuntu.com/security/notices/USN-3617-1>
- <https://ubuntu.com/security/notices/USN-3617-2>
- <https://ubuntu.com/security/notices/USN-3617-3>
- <https://ubuntu.com/security/notices/USN-3619-1>

---

Data as of 2026-12-05T11:43:06.487Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
