{"id":"CVE-2019-9213","published":"2019-03-05T22:00:00Z","modified":"2024-08-04T21:38:46Z","title":"In the Linux kernel before 4.20.14, expand_downwards in mm/mmap.c lacks a check for the mmap minimum address, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"In the Linux kernel before 4.20.14, expand_downwards in mm/mmap.c lacks a check for the mmap minimum address, which makes it easier for attackers to exploit kernel NULL pointer dereferences on non-SMAP platforms. This is related to a capability check for the wrong task.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05713,"percentile":0.93177,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/46502/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0a1d52994d440e21def1c2174932410b4f2a98a1","tags":["x_refsource_MISC"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.162","tags":["x_refsource_MISC"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.27","tags":["x_refsource_MISC"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.105","tags":["x_refsource_MISC"]},{"url":"https://github.com/torvalds/linux/commit/0a1d52994d440e21def1c2174932410b4f2a98a1","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/107296","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1792","tags":["x_refsource_MISC"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.14","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00045.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3932-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3932-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3930-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3931-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3933-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3931-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3930-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3933-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00052.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0831","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1479","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1480","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://packetstormsecurity.com/files/156053/Reliable-Datagram-Sockets-RDS-rds_atomic_free_op-Privilege-Escalation.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":18.64},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":3,"earliest":"2019-03-06"},"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"},"euvd":{"id":"EUVD-2019-18588","exploited":false,"provenance":"source"},"exploits":[{"id":46502,"url":"https://www.exploit-db.com/exploits/46502","title":"Linux < 4.20.14 - Virtual Address 0 is Mappable via Privileged write() to /proc/*/mem","date":"2019-03-06","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"},{"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":["https://www.exploit-db.com/exploits/46502/","http://packetstormsecurity.com/files/156053/Reliable-Datagram-Sockets-RDS-rds_atomic_free_op-Privilege-Escalation.html"],"lineage":{"familyId":"fam-linux-kernel-cve-2016-0823","children":[{"from":"CVE-2019-9213","to":"CVE-2019-11599","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mm/mmap.c"],"commits":["https://github.com/torvalds/linux/commit/04f5866e41fb70690e28397487d8bd8eea7d712a","https://github.com/torvalds/linux/commit/0a1d52994d440e21def1c2174932410b4f2a98a1"],"basis":"rarely changed file"}]}]}}