CVE-2018-5333 json
In the Linux kernel through 4.14.13, the rds_cmsg_atomic function in net/rds/rdma.c mishandles cases where page pinning fails or an invalid…
published 2018-01-11 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17112
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.2%
- EPSS 7.2% chance of exploitation in 30 days, percentile 94%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
In the Linux kernel through 4.14.13, the rds_cmsg_atomic function in net/rds/rdma.c mishandles cases where page pinning fails or an invalid address is supplied, leading to an rds_atomic_free_op NULL pointer dereference.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 4.14.17-1
debian advisories DEBIAN-CVE-2018-5333
- linux Ubuntu 14.04 LTS 3.13.0-142.191
- linux Ubuntu 16.04 LTS 4.4.0-119.143
- linux-aws Ubuntu 14.04 LTS 4.4.0-1016.16
- linux-aws Ubuntu 16.04 LTS 4.4.0-1054.63
- linux-gcp Ubuntu 16.04 LTS 4.13.0-1012.16
- linux-hwe Ubuntu 16.04 LTS 4.13.0-41.46~16.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1020.25
- linux-oem Ubuntu 16.04 LTS 4.13.0-1022.24
ubuntu advisories UBUNTU-CVE-2018-5333
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt enterprise mrg 2 1:3.10.0-693.21.1.rt56.607.el6rt
- kernel-rt-trace enterprise mrg 2 1:3.10.0-693.21.1.rt56.607.el6rt
- kernel-rt-vanilla enterprise mrg 2 1:3.10.0-693.21.1.rt56.607.el6rt
- kernel-rt-firmware enterprise mrg 2 1:3.10.0-693.21.1.rt56.607.el6rt
- kernel-rt-debuginfo-common-x86_64 enterprise mrg 2 1:3.10.0-693.21.1.rt56.607.el6rt
red hat advisories RHSA-2018:0470
- kernel-rt SLE Real Time 12 SP3 4.4.120-3.8.1
- kernel-syms-rt SLE Real Time 12 SP3 4.4.120-3.8.1
- kernel-rt_debug SLE Real Time 12 SP3 4.4.120-3.8.1
- kernel-source-rt SLE Real Time 12 SP3 4.4.120-3.8.1
- kernel-ec2 SLE Module for Public Cloud 12 3.12.74-60.64.85.1
- kernel-xen SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.85.1
- kernel-syms SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.85.1
- kernel-source SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.85.1
suse advisories SUSE-SU-2018:0986-1SUSE-SU-2018:0848-1SUSE-SU-2018:0841-1SUSE-SU-2018:0834-1SUSE-SU-2018:0660-1SUSE-SU-2018:0555-1
- kernel-source openSUSE Tumbleweed 5.14.6-1.4
- kernel-source openSUSE Tumbleweed 6.6.17-1.1
opensuse advisories openSUSE-SU-2024:10728-1openSUSE-SU-2024:13704-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5333 updated cvss 5.5
kernel: Null pointer dereference in rds_atomic_free_op() allowing denial-of-service
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Will not fix”
-
Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.10.0-693.21.1.rt56.607.el6rt, kernel-rt-trace 3.10.0-693.21.1.rt56.607.el6rt, kernel-rt-vanilla 3.10.0-693.21.1.rt56.607.el6rt, kernel-rt-firmware 3.10.0-693.21.1.rt56.607.el6rt, kernel-rt-debuginfo-common-x86_64 3.10.0-693.21.1.rt56.607.el6rtfixed: vendor fix RHSA-2018:0470
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (Metasploit exploit/linux/local/rds_atomic_free_op_null_pointer_deref_priv_esc)
Exploit prediction
7.21% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/local/rds_atomic_free_op_null_pointer_deref_priv_esc Reliable Datagram Sockets (RDS) rds_atomic_free_op NULL pointer dereference Privilege Escalation metasploit exploit, good rank, 2018-11-01
- EDB-47957 Reliable Datagram Sockets (RDS) - rds_atomic_free_op NULL pointer dereference Privilege Escalation (Metasploit) local, 2020-01-23
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7d11f77f84b27cef452cee332f4e469503084737
issue-tracking, patch, vendor-advisory
-
github.com
/torvalds/linux/commit/7d11f77f84b27cef452cee332f4e469503084737
patch, vendor-advisory
-
debian.org
/security/2018/dsa-4187
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3617-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3619-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3617-3/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3583-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3632-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3583-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:0470
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3617-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3619-1/
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/102510
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/05/msg00000.html
mailing-list, third-party-advisory
- packetstormsecurity.com /files/156053/Reliable-Datagram-Sockets-RDS-rds_atomic_free_op-Privilege-Escalation.html
Sources
- CVE List CVE-2018-5333
- NVD CVE-2018-5333
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.