### [CVE-2019-5023](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5023) ![](https://img.shields.io/static/v1?label=Product&message=PaX&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-401%3A%20Improper%20Release%20of%20Memory%20Before%20Removing%20Last%20Reference&color=brighgreen) ### Description An exploitable vulnerability exists in the grsecurity PaX patch for the function read_kmem, in PaX from version pax-linux-4.9.8-test1 to 4.9.24-test7, grsecurity official from version grsecurity-3.1-4.9.8-201702060653 to grsecurity-3.1-4.9.24-201704252333, grsecurity unofficial from version v4.9.25-unofficialgrsec to v4.9.74-unofficialgrsec. PaX adds a temp buffer to the read_kmem function, which is never freed when an invalid address is supplied. This results in a memory leakage that can lead to a crash of the system. An attacker needs to induce a read to /dev/kmem using an invalid address to exploit this vulnerability. ### POC #### Reference - https://talosintelligence.com/vulnerability_reports/TALOS-2019-0784 - https://talosintelligence.com/vulnerability_reports/TALOS-2019-0784 #### Github No PoCs found on GitHub currently.