NULL pointer dereference in Linux Kernel
CVE-2018-5333
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.073, 94.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 7.0, 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
2 public repositories with exploit or proof-of-concept code for this CVE:
- WhatsWrongAndWhy/CVE-2018-5333 (last pushed 2026-07-21)
- hoanganh2k/cve-2018-5333 (last pushed 2023-10-24)
Also mentioned in 11 other repositories (Al1ex/LinuxEelvation, a-roshbaik/Linux-Privilege-Escalation-Exploits, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-4187 (vendor-advisory, Third Party Advisory)
- USN-3617-1 (vendor-advisory, Third Party Advisory)
- USN-3619-2 (vendor-advisory, Third Party Advisory)
- USN-3617-3 (vendor-advisory, Third Party Advisory)
- USN-3583-2 (vendor-advisory, Third Party Advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Issue Tracking, Vendor Advisory)
- USN-3632-1 (vendor-advisory, Third Party Advisory)
- USN-3583-1 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/102510 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2018:0470 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.