### [CVE-2016-0728](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0728) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20n%2Fa%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The join_session_keyring function in security/keys/process_keys.c in the Linux kernel before 4.4.1 mishandles object references in a certain error case, which allows local users to gain privileges or cause a denial of service (integer overflow and use-after-free) via crafted keyctl commands. ### POC #### Reference - http://perception-point.io/2016/01/14/analysis-and-exploitation-of-a-linux-kernel-vulnerability-cve-2016-0728/ - http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html - http://www.ubuntu.com/usn/USN-2872-2 - https://security.netapp.com/advisory/ntap-20160211-0001/ - https://www.exploit-db.com/exploits/39277/ #### Github - https://github.com/1946139405/community-templates - https://github.com/ARPSyndicate/cvemon - https://github.com/Al1ex/LinuxEelvation - https://github.com/C0dak/linux-kernel-exploits - https://github.com/C0dak/local-root-exploit- - https://github.com/De30/zabbix_community-templates - https://github.com/De4dCr0w/Linux-kernel-EoP-exp - https://github.com/Feng4/linux-kernel-exploits - https://github.com/HaxorSecInfec/autoroot.sh - https://github.com/JlSakuya/Linux-Privilege-Escalation-Exploits - https://github.com/Michael-Git-Web/templateszbx - https://github.com/Micr067/linux-kernel-exploits - https://github.com/QChiLan/linux-exp - https://github.com/R0B1NL1N/Linux-Kernal-Exploits-m- - https://github.com/R0B1NL1N/Linux-Kernel-Exploites - https://github.com/R0B1NL1N/linux-kernel-exploitation - https://github.com/RedHatSatellite/satellite-host-cve - https://github.com/SecWiki/linux-kernel-exploits - https://github.com/Shadowshusky/linux-kernel-exploits - https://github.com/Singlea-lyh/linux-kernel-exploits - https://github.com/Snoopy-Sec/Localroot-ALL-CVE - https://github.com/Technoashofficial/kernel-exploitation-linux - https://github.com/ZTK-009/linux-kernel-exploits - https://github.com/a-roshbaik/Linux-Privilege-Escalation-Exploits - https://github.com/ainannurizzaman/zabbix - https://github.com/albinjoshy03/linux-kernel-exploits - https://github.com/alian87/linux-kernel-exploits - https://github.com/bathien/starred - https://github.com/bittorrent3389/cve-2016-0728 - https://github.com/bjzz/cve_2016_0728_exploit - https://github.com/coffee727/linux-exp - https://github.com/copperfieldd/linux-kernel-exploits - https://github.com/distance-vector/linux-kernel-exploits - https://github.com/fedoraredteam/elem - https://github.com/fei9747/LinuxEelvation - https://github.com/ferovap/Tools - https://github.com/fochess/cve_2016_0728 - https://github.com/googleweb/CVE-2016-0728 - https://github.com/h4x0r-dz/local-root-exploit- - https://github.com/hal0taso/CVE-2016-0728 - https://github.com/hktalent/bug-bounty - https://github.com/isnuryusuf/cve_2016_0728 - https://github.com/kdn111/linux-kernel-exploitation - https://github.com/kennetham/cve_2016_0728 - https://github.com/khanhdn111/linux-kernel-exploitation - https://github.com/khanhdz-06/linux-kernel-exploitation - https://github.com/khanhdz191/linux-kernel-exploitation - https://github.com/khanhhdz/linux-kernel-exploitation - https://github.com/khanhhdz06/linux-kernel-exploitation - https://github.com/khanhnd123/linux-kernel-exploitation - https://github.com/knd06/linux-kernel-exploitation - https://github.com/kumardineshwar/linux-kernel-exploits - https://github.com/lnick2023/nicenice - https://github.com/m0mkris/linux-kernel-exploits - https://github.com/mfer/cve_2016_0728 - https://github.com/mudongliang/LinuxFlaw - https://github.com/nardholio/cve-2016-0728 - https://github.com/ndk191/linux-kernel-exploitation - https://github.com/neuschaefer/cve-2016-0728-testbed - https://github.com/oneoy/cve- - https://github.com/ostrichxyz7/kexps - https://github.com/ozkanbilge/Linux-Kernel-Exploits - https://github.com/p00h00/linux-exploits - https://github.com/password520/linux-kernel-exploits - https://github.com/posuch/Zabbix-Templates - https://github.com/qazbnm456/awesome-cve-poc - https://github.com/qiantu88/Linux--exp - https://github.com/rakjong/LinuxElevation - https://github.com/redteam-project/lem - https://github.com/rootregi/templates-Zabbix - https://github.com/sidrk01/cve-2016-0728 - https://github.com/skbasava/Linux-Kernel-exploit - https://github.com/slunart/Zabbix-Templates - https://github.com/spencerdodd/kernelpop - https://github.com/ssr-111/linux-kernel-exploitation - https://github.com/sugarvillela/CVE - https://github.com/sunnyjiang/cve_2016_0728 - https://github.com/th30d00r/Linux-Vulnerability-CVE-2016-0728-and-Exploit - https://github.com/tndud042713/cve - https://github.com/whiteHat001/Kernel-Security - https://github.com/wkhnh06/linux-kernel-exploitation - https://github.com/xairy/linux-kernel-exploitation - https://github.com/xbl3/awesome-cve-poc_qazbnm456 - https://github.com/xfinest/linux-kernel-exploits - https://github.com/xssfile/linux-kernel-exploits - https://github.com/xyongcn/exploit - https://github.com/yige666/linux-kernel-exploits - https://github.com/zabbix/community-templates - https://github.com/zvjaceslavs/intshare - https://github.com/zyjsuper/linux-kernel-exploits