In the Linux kernel through 3.2, the rds_message_alloc_sgs() function does not validate a…
Priority LOW 34CWE-787Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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).
Why it matters now
EPSS 0.00452 39th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 3.2.99; 3.3 to before 3.16.54; 3.17 to before 3.18.92; 3.19 to before 4.1.50; 4.2 to before 4.4.112; 4.5 to before 4.9.77; 4.10 to before 4.14.44 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | 17.10 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 3.2.99; 3.3 to before 3.16.54; 3.17 to before 3.18.92; 3.19 to before 4.1.50; 4.2 to before 4.4.112; 4.5 to before 4.9.77; 4.10 to before 4.14.44 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
Remediation
Red Hat 1 advisory
- RHSA-2018:0470 Released 2018-03-12 · Red Hat rating ModerateRed Hat Enterprise MRG Realtime 2.5 security and enhancement update
- Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt-1:3.10.0-693.21.1.rt56.607.el6rt, kernel-rt-debug-1:3.10.0-693.21.1.rt56.607.el6rt, kernel-rt-debug-devel-1:3.10.0-693.21.1.rt56.607.el6rt +7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat MRG Realtime for RHEL 6 Server v.2 | Fixed | RHSA-2018:0470 |
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-5332
- 2026-10-03 Alias added: GHSA-mjf9-q9gc-82xc
References
Patch 3
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c095508770aebf1b9218e77026e48345d719b17c
- https://github.com/torvalds/linux/commit/c095508770aebf1b9218e77026e48345d719b17c
- https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=60daca9efbb3e4109ebc1f7069543e5573fc124e
Sources
- CVE-2018-5332 · CVE Program
- CVE-2018-5332 · NVD
- FIRST EPSS
- GHSA-mjf9-q9gc-82xc · GitHub Advisory Database · CC BY 4.0
- CVE-2018-5332 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences