{"id":"CVE-2018-5333","published":"2018-01-11T07:00:00Z","modified":"2024-08-05T05:33:43Z","title":"In the Linux kernel through 4.14.13, the rds_cmsg_atomic function in net/rds/rdma.c mishandles cases where page…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07266,"percentile":0.94489,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.debian.org/security/2018/dsa-4187","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/3617-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3619-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3617-3/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3583-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7d11f77f84b27cef452cee332f4e469503084737","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3632-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3583-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/102510","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0470","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00000.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3617-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/torvalds/linux/commit/7d11f77f84b27cef452cee332f4e469503084737","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3619-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://packetstormsecurity.com/files/156053/Reliable-Datagram-Sockets-RDS-rds_atomic_free_op-Privilege-Escalation.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":18.9},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2020-01-23"},"metasploit":[{"name":"Reliable Datagram Sockets (RDS) rds_atomic_free_op NULL pointer dereference Privilege Escalation","module":"exploit/linux/local/rds_atomic_free_op_null_pointer_deref_priv_esc","type":"exploit","disclosureDate":"2018-11-01","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/rds_atomic_free_op_null_pointer_deref_priv_esc.rb"}],"first":{"date":"2018-11-01","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/rds_atomic_free_op_null_pointer_deref_priv_esc.rb"},"provenance":"source"},"summary":{"text":"The flaw is a NULL pointer dereference in the rds_cmsg_atomic function in net/rds/rdma.c of the Linux kernel through 4.14.13, which mishandles page pinning failures or invalid addresses and leads to a NULL dereference in rds_atomic_free_op.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:58:55Z"},"euvd":{"id":"EUVD-2018-17112","exploited":false,"provenance":"source"},"exploits":[{"id":47957,"url":"https://www.exploit-db.com/exploits/47957","title":"Reliable Datagram Sockets (RDS) - rds_atomic_free_op NULL pointer dereference Privilege Escalation (Metasploit)","date":"2020-01-23","verified":true,"provenance":"source"},{"id":47957,"url":"https://www.exploit-db.com/exploits/47957","title":"Reliable Datagram Sockets (RDS) - rds_atomic_free_op NULL pointer dereference Privilege Escalation (Metasploit)","date":"2020-01-23","verified":true,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/156053/Reliable-Datagram-Sockets-RDS-rds_atomic_free_op-Privilege-Escalation.html"],"lineage":{"familyId":"fam-cve-2018-5332-family-cve-2018-5332","parents":[{"from":"CVE-2018-5332","to":"CVE-2018-5333","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["net/rds/rdma.c"],"commits":["https://github.com/torvalds/linux/commit/c095508770aebf1b9218e77026e48345d719b17c","https://github.com/torvalds/linux/commit/7d11f77f84b27cef452cee332f4e469503084737"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2018-5333","to":"CVE-2018-7492","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["net/rds/rdma.c"],"commits":["https://github.com/torvalds/linux/commit/7d11f77f84b27cef452cee332f4e469503084737","https://github.com/torvalds/linux/commit/f3069c6d33f6ae63a1668737bc78aaaa51bff7ca"],"basis":"shared function","functions":["rds_sock"]}]}]}}