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 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.
References
Link Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 Vendor Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176484.html Mailing List Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176194.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00026.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00012.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00033.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00034.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00035.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00038.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00039.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00040.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00041.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00043.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00044.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00045.html Mailing List Third Party Advisory
http://perception-point.io/2016/01/14/analysis-and-exploitation-of-a-linux-kernel-vulnerability-cve-2016-0728/ Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0064.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0065.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0068.html Third Party Advisory
http://source.android.com/security/bulletin/2016-03-01.html Vendor Advisory
http://www.debian.org/security/2016/dsa-3448 Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.1 Vendor Advisory
http://www.openwall.com/lists/oss-security/2016/01/19/2 Mailing List Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html Third Party Advisory
http://www.securityfocus.com/bid/81054 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1034701 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-2870-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2870-2 Third Party Advisory
http://www.ubuntu.com/usn/USN-2871-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2871-2 Third Party Advisory
http://www.ubuntu.com/usn/USN-2872-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2872-2 Third Party Advisory
http://www.ubuntu.com/usn/USN-2872-3 Third Party Advisory
http://www.ubuntu.com/usn/USN-2873-1 Third Party Advisory
https://bto.bluecoat.com/security-advisory/sa112 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1297475 Issue Tracking Third Party Advisory
https://github.com/torvalds/linux/commit/23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 Third Party Advisory
https://h20565.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05018265 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05130958 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380 Third Party Advisory
https://security.netapp.com/advisory/ntap-20160211-0001/ Third Party Advisory
https://www.exploit-db.com/exploits/39277/ Third Party Advisory VDB Entry
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:google:android:4.0:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.0.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.0.2:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.0.3:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.0.4:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.1.2:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.2:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.2.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.2.2:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.3:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.3.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.4:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.4.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.4.2:*:*:*:*:*:*:*
cpe:2.3:o:google:android:4.4.3:*:*:*:*:*:*:*
cpe:2.3:o:google:android:5.0:*:*:*:*:*:*:*
cpe:2.3:o:google:android:5.0.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:5.0.2:*:*:*:*:*:*:*
cpe:2.3:o:google:android:5.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:5.1.0:*:*:*:*:*:*:*
cpe:2.3:o:google:android:5.1.1:*:*:*:*:*:*:*
cpe:2.3:o:google:android:6.0:*:*:*:*:*:*:*
cpe:2.3:o:google:android:6.0.1:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:hp:server_migration_pack:*:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

Configuration 5 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*

History

12 Feb 2023, 23:15

Type Values Removed Values Added
Summary A use-after-free flaw was found in the way the Linux kernel's key management subsystem handled keyring object reference counting in certain error path of the join_session_keyring() function. A local, unprivileged user could use this flaw to escalate their privileges on the system. 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.
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:0103', 'name': 'https://access.redhat.com/errata/RHSA-2016:0103', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/security/cve/CVE-2016-0728', 'name': 'https://access.redhat.com/security/cve/CVE-2016-0728', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:0065', 'name': 'https://access.redhat.com/errata/RHSA-2016:0065', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/node/2131021', 'name': 'https://access.redhat.com/node/2131021', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:0064', 'name': 'https://access.redhat.com/errata/RHSA-2016:0064', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:0068', 'name': 'https://access.redhat.com/errata/RHSA-2016:0068', 'tags': [], 'refsource': 'MISC'}

02 Feb 2023, 16:17

Type Values Removed Values Added
Summary 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. A use-after-free flaw was found in the way the Linux kernel's key management subsystem handled keyring object reference counting in certain error path of the join_session_keyring() function. A local, unprivileged user could use this flaw to escalate their privileges on the system.
References
  • (MISC) https://access.redhat.com/errata/RHSA-2016:0103 -
  • (MISC) https://access.redhat.com/security/cve/CVE-2016-0728 -
  • (MISC) https://access.redhat.com/errata/RHSA-2016:0065 -
  • (MISC) https://access.redhat.com/node/2131021 -
  • (MISC) https://access.redhat.com/errata/RHSA-2016:0064 -
  • (MISC) https://access.redhat.com/errata/RHSA-2016:0068 -

17 Jan 2023, 21:40

Type Values Removed Values Added
CPE cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
First Time Debian
Canonical
Canonical ubuntu Linux
Debian debian Linux
References (BID) http://www.securityfocus.com/bid/81054 - (BID) http://www.securityfocus.com/bid/81054 - Third Party Advisory, VDB Entry
References (SECTRACK) http://www.securitytracker.com/id/1034701 - (SECTRACK) http://www.securitytracker.com/id/1034701 - Third Party Advisory, VDB Entry
References (HP) https://h20565.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05018265 - (HP) https://h20565.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05018265 - Third Party Advisory
References (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-0065.html - (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-0065.html - Third Party Advisory
References (CONFIRM) https://bugzilla.redhat.com/show_bug.cgi?id=1297475 - (CONFIRM) https://bugzilla.redhat.com/show_bug.cgi?id=1297475 - Issue Tracking, Third Party Advisory
References (MISC) http://perception-point.io/2016/01/14/analysis-and-exploitation-of-a-linux-kernel-vulnerability-cve-2016-0728/ - (MISC) http://perception-point.io/2016/01/14/analysis-and-exploitation-of-a-linux-kernel-vulnerability-cve-2016-0728/ - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00045.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00045.html - Mailing List, Third Party Advisory
References (CONFIRM) https://bto.bluecoat.com/security-advisory/sa112 - (CONFIRM) https://bto.bluecoat.com/security-advisory/sa112 - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00012.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00012.html - Mailing List, Third Party Advisory
References (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-0068.html - (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-0068.html - Third Party Advisory
References (CONFIRM) https://github.com/torvalds/linux/commit/23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 - (CONFIRM) https://github.com/torvalds/linux/commit/23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 - Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2873-1 - (UBUNTU) http://www.ubuntu.com/usn/USN-2873-1 - Third Party Advisory
References (FEDORA) http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176194.html - (FEDORA) http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176194.html - Mailing List, Third Party Advisory
References (CONFIRM) https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05130958 - (CONFIRM) https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05130958 - Third Party Advisory
References (CONFIRM) https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380 - (CONFIRM) https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380 - Third Party Advisory
References (CONFIRM) https://security.netapp.com/advisory/ntap-20160211-0001/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20160211-0001/ - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00038.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00038.html - Mailing List, Third Party Advisory
References (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-0064.html - (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-0064.html - Third Party Advisory
References (FEDORA) http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176484.html - (FEDORA) http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176484.html - Mailing List, Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2872-2 - (UBUNTU) http://www.ubuntu.com/usn/USN-2872-2 - Third Party Advisory
References (CONFIRM) http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 - (CONFIRM) http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 - Vendor Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00035.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00035.html - Mailing List, Third Party Advisory
References (EXPLOIT-DB) https://www.exploit-db.com/exploits/39277/ - (EXPLOIT-DB) https://www.exploit-db.com/exploits/39277/ - Third Party Advisory, VDB Entry
References (MLIST) http://www.openwall.com/lists/oss-security/2016/01/19/2 - (MLIST) http://www.openwall.com/lists/oss-security/2016/01/19/2 - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00033.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00033.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00039.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00039.html - Mailing List, Third Party Advisory
References (DEBIAN) http://www.debian.org/security/2016/dsa-3448 - (DEBIAN) http://www.debian.org/security/2016/dsa-3448 - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00044.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00044.html - Mailing List, Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2870-1 - (UBUNTU) http://www.ubuntu.com/usn/USN-2870-1 - Third Party Advisory
References (CONFIRM) http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html - (CONFIRM) http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html - Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2871-1 - (UBUNTU) http://www.ubuntu.com/usn/USN-2871-1 - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00026.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00026.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00043.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00043.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00034.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00034.html - Mailing List, Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2872-1 - (UBUNTU) http://www.ubuntu.com/usn/USN-2872-1 - Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2870-2 - (UBUNTU) http://www.ubuntu.com/usn/USN-2870-2 - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00041.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00041.html - Mailing List, Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2872-3 - (UBUNTU) http://www.ubuntu.com/usn/USN-2872-3 - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00040.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00040.html - Mailing List, Third Party Advisory
References (UBUNTU) http://www.ubuntu.com/usn/USN-2871-2 - (UBUNTU) http://www.ubuntu.com/usn/USN-2871-2 - Third Party Advisory

Information

Published : 2016-02-08 03:59

Updated : 2023-12-10 11:46


NVD link : CVE-2016-0728

Mitre link : CVE-2016-0728

CVE.ORG link : CVE-2016-0728


JSON object : View

Products Affected

debian

  • debian_linux

google

  • android

linux

  • linux_kernel

hp

  • server_migration_pack

canonical

  • ubuntu_linux