CVE-2016-0728 Use after free in n/a
Local attackers can exploit a use-after-free flaw in the Linux kernel keyring to gain privileges or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-0728?
CVE-2016-0728 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 8 Feb 2016. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2016-0728?
It affects 5 products.
Linux distribution packages (40)
kernel Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-abi-whitelists Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debug Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debug-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debug-devel Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debuginfo-common-x86_64 Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-devel Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-doc Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-headers Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools-libs Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools-libs-devel Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
perf Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
perf-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
python-perf Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
python-perf-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-327.4.5.el7 |
kernel Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-abi-whitelists Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debug Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debug-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debug-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debuginfo-common-x86_64 Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-doc Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-headers Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools-libs Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel-tools-libs-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
perf Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
perf-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
python-perf Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
python-perf-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-327.4.5.el7 |
kernel Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-327.4.5.el7 |
kernel-abi-whitelists Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-327.4.5.el7 |
kernel-bootwrapper Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-327.4.5.el7 |
kernel-debug Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-327.4.5.el7 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Google Android, Hp Server Migration Pack, Linux kernel.
How do I fix CVE-2016-0728?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2016-0728 being exploited?
There is no known exploitation of CVE-2016-0728 in the wild and no public exploit code.
Public exploit code: 2 Exploit-DB entries and 9 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as CVE-2016-7028, DEBIAN-CVE-2016-0728, GHSA-pm5x-hxhr-68w7, MGASA-2016-0031, MGASA-2016-0032, MGASA-2016-0033 and 10 more.