CVE-2016-0728
The join_session_keyring function in security/keys/process_keys.c in the Linux kernel before 4.4.1 mishandles object references in a…
Check your servers for CVE-2016-0728
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-0728 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Exploitation
EPSS 3.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.8% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-0728 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-0728RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-0728Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-0728
trivy image --scanners vuln IMAGE | grep CVE-2016-0728
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- SUSE-SU-2016:0750 lists.opensuse.org · vendor advisory
- USN-2871-1 ubuntu.com · vendor advisory
- RHSA-2016:0068 rhn.redhat.com · vendor advisory
- SUSE-SU-2016:0205 lists.opensuse.org · vendor advisory
- USN-2870-2 ubuntu.com · vendor advisory
- SUSE-SU-2016:0751 lists.opensuse.org · vendor advisory
- USN-2872-3 ubuntu.com · vendor advisory
- SUSE-SU-2016:0747 lists.opensuse.org · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.1 kernel.org
- SUSE-SU-2016:0755 lists.opensuse.org · vendor advisory
- USN-2872-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:0757 lists.opensuse.org · vendor advisory
25 more
- USN-2871-2 ubuntu.com · vendor advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 git.kernel.org
- SUSE-SU-2016:0753 lists.opensuse.org · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html oracle.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380 h20566.www2.hpe.com
- FEDORA-2016-b59fd603be lists.fedoraproject.org · vendor advisory
- http://source.android.com/security/bulletin/2016-03-01.html source.android.com
- SUSE-SU-2016:0746 lists.opensuse.org · vendor advisory
- https://github.com/torvalds/linux/commit/23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 github.com
- USN-2873-1 ubuntu.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1297475 bugzilla.redhat.com
- FEDORA-2016-5d43766e33 lists.fedoraproject.org · vendor advisory
- SUSE-SU-2016:0745 lists.opensuse.org · vendor advisory
- RHSA-2016:0065 rhn.redhat.com · vendor advisory
- USN-2870-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:0756 lists.opensuse.org · vendor advisory
- https://bto.bluecoat.com/security-advisory/sa112 bto.bluecoat.com
- USN-2872-2 ubuntu.com · vendor advisory
- DSA-3448 debian.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20160211-0001/ security.netapp.com
- RHSA-2016:0064 rhn.redhat.com · vendor advisory
- HPSBHF03436 h20565.www2.hp.com · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05130958 h20566.www2.hpe.com
- SUSE-SU-2016:0752 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:0341 lists.opensuse.org · vendor advisory
Exploits and proof of concept
- 39277 exploit-db.com · exploit
Other references
- 1034701 securitytracker.com · vdb entry
- http://perception-point.io/2016/01/14/analysis-and-exploitation-of-a-linux-kernel-vulnerability-cve-2016-0728/ perception-point.io
- 81054 securityfocus.com · vdb entry
- [oss-security] 20160119 Linux kernel: use after free in keyring facility. openwall.com · mailing list
Source: the record CVE-2016-0728 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse