PublicDateAtUSN: 2016-02-07 Candidate: CVE-2015-8539 PublicDate: 2016-02-08 03:59:00 UTC References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8539 https://bugzilla.redhat.com/show_bug.cgi?id=1284450 http://www.openwall.com/lists/oss-security/2015/12/09/1 https://ubuntu.com/security/notices/USN-3798-1 https://ubuntu.com/security/notices/USN-3798-2 Description: The KEYS subsystem in the Linux kernel before 4.4 allows local users to gain privileges or cause a denial of service (BUG) via crafted keyctl commands that negatively instantiate a key, related to security/keys/encrypted-keys/encrypted.c, security/keys/trusted.c, and security/keys/user_defined.c. Ubuntu-Description: Dmitry Vyukov discovered that the key management subsystem in the Linux kernel did not properly restrict adding a key that already exists but is negatively instantiated. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code. Notes: seth-arnold> Debian's triage suggested this was introduced by 146aa8b1453bd8f1ff2304ffb71b4ee0eb9acdcc sbeattie> verified this is an issue with precise's kernel, the second reproducer in the git commit results in a NULL pointer exception tyhicks> As sbeattie mentioned above, this is present prior to 4.4. I'm setting the break commit to the start of git history which is after user keys were added Bugs: https://launchpad.net/bugs/1525569 Priority: medium Discovered-by: Dmitry Vyukov Assigned-to: CVSS: nvd: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H [7.8 HIGH] nvd: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H [7.8 HIGH] Patches_linux: break-fix: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 096fe9eaea40a17e125569f9e657e34cdb6d73bd upstream_linux: released (4.4~rc3) precise/esm_linux: ignored (was needed ESM criteria) trusty_linux: released (3.13.0-161.211) trusty/esm_linux: released (3.13.0-161.211) xenial_linux: not-affected (4.4.0-2.16) esm-infra/xenial_linux: not-affected (4.4.0-2.16) bionic_linux: not-affected (4.13.0-16.19) cosmic_linux: not-affected (4.15.0-20.21) devel_linux: not-affected (4.15.0-20.21) Patches_linux-lts-trusty: upstream_linux-lts-trusty: released (4.4~rc3) precise/esm_linux-lts-trusty: released (3.13.0-161.211~precise1) trusty_linux-lts-trusty: DNE trusty/esm_linux-lts-trusty: DNE xenial_linux-lts-trusty: DNE bionic_linux-lts-trusty: DNE cosmic_linux-lts-trusty: DNE devel_linux-lts-trusty: DNE Patches_linux-goldfish: upstream_linux-goldfish: released (4.4~rc3) precise/esm_linux-goldfish: DNE trusty_linux-goldfish: ignored (abandoned) trusty/esm_linux-goldfish: DNE (trusty was ignored [abandoned]) xenial_linux-goldfish: ignored (end-of-life) bionic_linux-goldfish: DNE cosmic_linux-goldfish: DNE devel_linux-goldfish: DNE Patches_linux-grouper: upstream_linux-grouper: released (4.4~rc3) precise/esm_linux-grouper: DNE trusty_linux-grouper: ignored (abandoned) trusty/esm_linux-grouper: DNE (trusty was ignored [abandoned]) xenial_linux-grouper: DNE bionic_linux-grouper: DNE cosmic_linux-grouper: DNE devel_linux-grouper: DNE Patches_linux-maguro: upstream_linux-maguro: released (4.4~rc3) precise/esm_linux-maguro: DNE trusty_linux-maguro: ignored (abandoned) trusty/esm_linux-maguro: DNE (trusty was ignored [abandoned]) xenial_linux-maguro: DNE bionic_linux-maguro: DNE cosmic_linux-maguro: DNE devel_linux-maguro: DNE Patches_linux-mako: upstream_linux-mako: released (4.4~rc3) precise/esm_linux-mako: DNE trusty_linux-mako: ignored (abandoned) trusty/esm_linux-mako: DNE (trusty was ignored [abandoned]) xenial_linux-mako: ignored (abandoned) bionic_linux-mako: DNE cosmic_linux-mako: DNE devel_linux-mako: DNE Patches_linux-manta: upstream_linux-manta: released (4.4~rc3) precise/esm_linux-manta: DNE trusty_linux-manta: ignored (abandoned) trusty/esm_linux-manta: DNE (trusty was ignored [abandoned]) xenial_linux-manta: DNE bionic_linux-manta: DNE cosmic_linux-manta: DNE devel_linux-manta: DNE Patches_linux-flo: upstream_linux-flo: released (4.4~rc3) precise/esm_linux-flo: DNE trusty_linux-flo: ignored (abandoned) trusty/esm_linux-flo: DNE (trusty was ignored [abandoned]) xenial_linux-flo: ignored (abandoned) bionic_linux-flo: DNE cosmic_linux-flo: DNE devel_linux-flo: DNE Patches_linux-raspi2: upstream_linux-raspi2: released (4.4~rc3) precise/esm_linux-raspi2: DNE trusty_linux-raspi2: DNE trusty/esm_linux-raspi2: DNE xenial_linux-raspi2: not-affected (4.4.0-1003.4) bionic_linux-raspi2: not-affected (4.13.0-1005.5) cosmic_linux-raspi2: not-affected (4.15.0-1010.11) devel_linux-raspi2: not-affected (4.15.0-1010.11) Patches_linux-lts-utopic: upstream_linux-lts-utopic: released (4.4~rc3) precise/esm_linux-lts-utopic: DNE trusty_linux-lts-utopic: ignored (out of standard support) trusty/esm_linux-lts-utopic: DNE (trusty was ignored [out of standard support]) xenial_linux-lts-utopic: DNE bionic_linux-lts-utopic: DNE cosmic_linux-lts-utopic: DNE devel_linux-lts-utopic: DNE Patches_linux-lts-vivid: upstream_linux-lts-vivid: released (4.4~rc3) precise/esm_linux-lts-vivid: DNE trusty_linux-lts-vivid: ignored (out of standard support) trusty/esm_linux-lts-vivid: DNE (trusty was ignored [out of standard support]) xenial_linux-lts-vivid: DNE bionic_linux-lts-vivid: DNE cosmic_linux-lts-vivid: DNE devel_linux-lts-vivid: DNE Patches_linux-lts-wily: upstream_linux-lts-wily: released (4.4~rc3) precise/esm_linux-lts-wily: DNE trusty_linux-lts-wily: ignored (out of standard support) trusty/esm_linux-lts-wily: DNE (trusty was ignored [out of standard support]) xenial_linux-lts-wily: DNE bionic_linux-lts-wily: DNE cosmic_linux-lts-wily: DNE devel_linux-lts-wily: DNE Patches_linux-lts-xenial: upstream_linux-lts-xenial: released (4.4~rc3) precise/esm_linux-lts-xenial: DNE trusty_linux-lts-xenial: not-affected (4.4.0-13.29~14.04.1) trusty/esm_linux-lts-xenial: not-affected (4.4.0-13.29~14.04.1) xenial_linux-lts-xenial: DNE bionic_linux-lts-xenial: DNE cosmic_linux-lts-xenial: DNE devel_linux-lts-xenial: DNE Patches_linux-snapdragon: upstream_linux-snapdragon: released (4.4~rc3) precise/esm_linux-snapdragon: DNE trusty_linux-snapdragon: DNE trusty/esm_linux-snapdragon: DNE xenial_linux-snapdragon: not-affected (4.4.0-1012.12) bionic_linux-snapdragon: not-affected cosmic_linux-snapdragon: DNE devel_linux-snapdragon: DNE Patches_linux-aws: upstream_linux-aws: released (4.4~rc3) precise/esm_linux-aws: DNE trusty_linux-aws: not-affected (4.4.0-1002.2) trusty/esm_linux-aws: not-affected (4.4.0-1002.2) xenial_linux-aws: not-affected (4.4.0-1001.10) esm-infra/xenial_linux-aws: not-affected (4.4.0-1001.10) bionic_linux-aws: not-affected (4.15.0-1001.1) cosmic_linux-aws: not-affected (4.15.0-1007.7) devel_linux-aws: not-affected (4.15.0-1007.7) Patches_linux-hwe: upstream_linux-hwe: released (4.4~rc3) precise/esm_linux-hwe: DNE trusty_linux-hwe: DNE trusty/esm_linux-hwe: DNE xenial_linux-hwe: not-affected (4.8.0-36.36~16.04.1) esm-infra/xenial_linux-hwe: not-affected (4.8.0-36.36~16.04.1) bionic_linux-hwe: not-affected cosmic_linux-hwe: DNE devel_linux-hwe: DNE Patches_linux-hwe-edge: upstream_linux-hwe-edge: released (4.4~rc3) precise/esm_linux-hwe-edge: DNE trusty_linux-hwe-edge: DNE trusty/esm_linux-hwe-edge: DNE xenial_linux-hwe-edge: not-affected (4.8.0-36.36~16.04.1) esm-infra/xenial_linux-hwe-edge: not-affected (4.8.0-36.36~16.04.1) bionic_linux-hwe-edge: not-affected (4.18.0-8.9~18.04.1) cosmic_linux-hwe-edge: DNE devel_linux-hwe-edge: DNE Patches_linux-gke: upstream_linux-gke: released (4.4~rc3) precise/esm_linux-gke: DNE trusty_linux-gke: DNE trusty/esm_linux-gke: DNE xenial_linux-gke: ignored (end-of-life) bionic_linux-gke: DNE cosmic_linux-gke: DNE devel_linux-gke: DNE Patches_linux-azure: upstream_linux-azure: released (4.4~rc3) precise/esm_linux-azure: DNE trusty_linux-azure: not-affected (4.15.0-1023.24~14.04.1) trusty/esm_linux-azure: not-affected (4.15.0-1023.24~14.04.1) xenial_linux-azure: not-affected (4.11.0-1009.9) esm-infra/xenial_linux-azure: not-affected (4.11.0-1009.9) bionic_linux-azure: not-affected (4.15.0-1002.2) cosmic_linux-azure: not-affected (4.15.0-1009.9) devel_linux-azure: not-affected (4.15.0-1009.9) Patches_linux-azure-edge: upstream_linux-azure-edge: released (4.4~rc3) precise/esm_linux-azure-edge: DNE trusty_linux-azure-edge: DNE trusty/esm_linux-azure-edge: DNE xenial_linux-azure-edge: not-affected (4.15.0-1002.2) bionic_linux-azure-edge: not-affected (4.18.0-1003.3~18.04.1) cosmic_linux-azure-edge: DNE devel_linux-azure-edge: DNE Patches_linux-gcp: upstream_linux-gcp: released (4.4~rc3) precise/esm_linux-gcp: DNE trusty_linux-gcp: DNE trusty/esm_linux-gcp: DNE xenial_linux-gcp: not-affected (4.10.0-1004.4) esm-infra/xenial_linux-gcp: not-affected (4.10.0-1004.4) bionic_linux-gcp: not-affected (4.15.0-1001.1) cosmic_linux-gcp: not-affected (4.15.0-1006.6) devel_linux-gcp: not-affected (4.15.0-1006.6) Patches_linux-kvm: upstream_linux-kvm: released (4.4~rc3) precise/esm_linux-kvm: DNE trusty_linux-kvm: DNE trusty/esm_linux-kvm: DNE xenial_linux-kvm: not-affected (4.4.0-1004.9) esm-infra/xenial_linux-kvm: not-affected (4.4.0-1004.9) bionic_linux-kvm: not-affected (4.15.0-1002.2) cosmic_linux-kvm: not-affected (4.15.0-1008.8) devel_linux-kvm: not-affected (4.15.0-1008.8) Patches_linux-euclid: upstream_linux-euclid: released (4.4~rc3) precise/esm_linux-euclid: DNE trusty_linux-euclid: DNE trusty/esm_linux-euclid: DNE xenial_linux-euclid: not-affected (4.4.0-9019.20) bionic_linux-euclid: DNE cosmic_linux-euclid: DNE devel_linux-euclid: DNE Patches_linux-oem: upstream_linux-oem: released (4.4~rc3) precise/esm_linux-oem: DNE trusty_linux-oem: DNE trusty/esm_linux-oem: DNE xenial_linux-oem: not-affected (4.13.0-1008.9) bionic_linux-oem: not-affected (4.15.0-1002.3) cosmic_linux-oem: not-affected (4.15.0-1004.5) devel_linux-oem: not-affected (4.15.0-1004.5)