CVE-2015-7872
The key_gc_unused_keys function in security/keys/gc.c in the Linux kernel through 4.2.6 allows local users to cause a denial of service…
Check your servers for CVE-2015-7872
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-7872 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The key_gc_unused_keys function in security/keys/gc.c in the Linux kernel through 4.2.6 allows local users to cause a denial of service (OOPS) via crafted keyctl commands.
Exploitation
EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.6% of all scored CVEs. Scores of 28 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-2015-7872 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-7872RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-7872Alpine
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-2015-7872
trivy image --scanners vuln IMAGE | grep CVE-2015-7872
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 and one domain or read how to install the collector.
References
Advisories
- SUSE-SU-2015:2292 lists.opensuse.org · vendor advisory
- RHSA-2015:2636 rhn.redhat.com · vendor advisory
- RHSA-2016:0212 rhn.redhat.com · vendor advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f05819df10d7b09f6d1eb6f8534a8f68e5a4fe61 git.kernel.org
- SUSE-SU-2016:0337 lists.opensuse.org · vendor advisory
- SUSE-SU-2015:2350 lists.opensuse.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1272172 bugzilla.redhat.com
- SUSE-SU-2016:0434 lists.opensuse.org · vendor advisory
- USN-2826-1 ubuntu.com · vendor advisory
- https://source.android.com/security/bulletin/2016-12-01.html source.android.com
- https://bugzilla.redhat.com/show_bug.cgi?id=1272371 bugzilla.redhat.com
- USN-2840-1 ubuntu.com · vendor advisory
31 more
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05068676 h20566.www2.hpe.com
- HPSBGN03565 marc.info · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html oracle.com
- USN-2843-1 ubuntu.com · vendor advisory
- SUSE-SU-2015:2194 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:0380 lists.opensuse.org · vendor advisory
- USN-2829-2 ubuntu.com · vendor advisory
- SUSE-SU-2016:0354 lists.opensuse.org · vendor advisory
- USN-2843-2 ubuntu.com · vendor advisory
- SUSE-SU-2016:0335 lists.opensuse.org · vendor advisory
- SUSE-SU-2015:2339 lists.opensuse.org · vendor advisory
- SUSE-SU-2015:2108 lists.opensuse.org · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html oracle.com
- RHSA-2016:0185 rhn.redhat.com · vendor advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce1fad2740c648a4340f6f6c391a8a83769d2e8c git.kernel.org
- USN-2840-2 ubuntu.com · vendor advisory
- https://github.com/torvalds/linux/commit/f05819df10d7b09f6d1eb6f8534a8f68e5a4fe61 github.com
- SUSE-SU-2016:0383 lists.opensuse.org · vendor advisory
- USN-2829-1 ubuntu.com · vendor advisory
- USN-2823-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:0386 lists.opensuse.org · vendor advisory
- RHSA-2016:0224 rhn.redhat.com · vendor advisory
- SUSE-SU-2016:2074 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:0384 lists.opensuse.org · vendor advisory
- USN-2843-3 ubuntu.com · vendor advisory
- https://github.com/torvalds/linux/commit/ce1fad2740c648a4340f6f6c391a8a83769d2e8c github.com
- DSA-3396 debian.org · vendor advisory
- openSUSE-SU-2016:1008 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:0387 lists.opensuse.org · vendor advisory
- USN-2824-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:0381 lists.opensuse.org · vendor advisory
Other references
- [oss-security] 20151020 Re: CVE request: crash when attempt to garbage collect an uninstantiated keyring - Linux kernel openwall.com · mailing list
- 1034472 securitytracker.com · vdb entry
- 77544 securityfocus.com · vdb entry
Source: the record CVE-2015-7872 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