Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-0728 EUVD-2016-0757GHSA-pm5x-hxhr-68w7

The join_session_keyring function in security/keys/process_keys.c in the Linux kernel before 4.4.1 mishandles object references in a certai…

Published Feb 8, 2016 · Updated Aug 5, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.3.3-6 —
Debian 13 linux 4.3.3-6 —
Debian 12 linux 4.3.3-6 —
Debian 8 linux 3.16.7-ckt20-1+deb8u3 DSA-3448-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS linux 3.13.0-76.120 USN-2870-1
Ubuntu 14.04 LTS linux-lts-utopic 3.16.0-59.79~14.04.1 USN-2873-1
Ubuntu 14.04 LTS linux-lts-vivid 3.19.0-47.53~14.04.1 USN-2871-2
Ubuntu 14.04 LTS linux-lts-wily 4.2.0-25.30~14.04.1 USN-2872-2
ReleasePackageFixed inAdvisory
RHEL 7 kernel-rt +7 3.10.0-327.4.5.rt56.206.el7_2 RHSA-2016:0065
RHEL 7 perf +18 3.10.0-327.4.5.el7 RHSA-2016:0064
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.1 EUS kernel-kdump +4 3.10.0-229.26.2.el7 RHSA-2016:0103
RHEL 7.1 EUS perf +13 3.10.0-229.26.2.ael7b RHSA-2016:0103
Red Hat MRG 2 kernel-rt +10 1:3.10.0-327.rt56.170.el6rt RHSA-2016:0068
ReleasePackageFixed inAdvisory
SLES 12 SP1 kernel-docs 3.12.51-60.25.2 SUSE-SU-2016:0186-1
SLES 12 SP1 kernel-xen +4 3.12.51-60.25.1 SUSE-SU-2016:0186-1
SLES 12 kernel-docs 3.12.51-52.39.3 SUSE-SU-2016:0205-1
SLES 12 kernel-ec2 +5 3.12.51-52.39.1 SUSE-SU-2016:0205-1, SUSE-SU-2016:0186-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 kernel-xen +3 3.12.51-60.25.1 SUSE-SU-2016:0186-1
SLES for SAP 12 kernel-xen +3 3.12.51-52.39.1 SUSE-SU-2016:0205-1
SLE Live Patching 12 kgraft-patch-SLE12-SP1_Update_0 3-8.2 SUSE-SU-2016:0751-1
SLE Live Patching 12 kgraft-patch-SLE12-SP1_Update_2 1-2.2 SUSE-SU-2016:0752-1, SUSE-SU-2016:0186-1
SLE Live Patching 12 kgraft-patch-SLE12_Update_10 2-2.1 SUSE-SU-2016:0341-1
SLE Live Patching 12 kgraft-patch-SLE12_Update_11 1-2.3 SUSE-SU-2016:0205-1
SLE Live Patching 12 kgraft-patch-SLE12_Update_3 +2 5-2.1 SUSE-SU-2016:0750-1, SUSE-SU-2016:0746-1, SUSE-SU-2016:0745-1
SLE Live Patching 12 kgraft-patch-SLE12_Update_6 +1 4-2.1 SUSE-SU-2016:0756-1, SUSE-SU-2016:0753-1
SLE Live Patching 12 kgraft-patch-SLE12_Update_8 +2 3-2.1 SUSE-SU-2016:0757-1, SUSE-SU-2016:0755-1, SUSE-SU-2016:0747-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed kernel-source 4.8.13-1.1 openSUSE-SU-2024:10128-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dtrace-modules-3.8.13-118.2.5.el6uek 0.4.5-3.el6 ELSA-2016-3509
Oracle Linux 7 dtrace-modules-3.8.13-118.2.5.el7uek 0.4.5-3.el7 ELSA-2016-3509
Oracle Linux 7 dtrace-modules-4.1.12-32.1.2.el6uek 0.5.1-1.el6 ELSA-2016-3510
Oracle Linux 7 dtrace-modules-4.1.12-32.1.2.el7uek 0.5.1-1.el7 ELSA-2016-3510
Oracle Linux 7 kernel-uek +5 3.8.13-118.2.5.el7uek ELSA-2016-3510, ELSA-2016-3509
Oracle Linux 7 perf +11 3.10.0-327.4.5.el7 ELSA-2016-0064

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 9 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 27

References