CVE-2017-15274: Null Pointer Dereference

Published Jun 8, 2017
·
Updated

A flaw was found in the implementation of associative arrays where the addkey systemcall and KEYCTLUPDATE operations allowed for a NULL payload with a nonzero length. When accessing the payload within this length parameters value, an unprivileged user could trivially cause a NULL pointer dereference (kernel oops).

Other sources

A flaw was found in the linux kernels implementation of associative arrays. The addkey systemcall and KEYCTLUPDATE operations allowed for a NULL payload with a nonzero length. When accessing the payload within this length parameters value, an unprivileged user could trivially cause a NULL pointer dereference (kernel oops).

Upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5649645d725c73df4302428ee4e02c869248b4c5

— Red Hat

security/keys/keyctl.c in the Linux kernel before 4.11.5 does not consider the case of a NULL payload in conjunction with a nonzero length value, which allows local users to cause a denial of service (NULL pointer dereference and OOPS) via a crafted addkey or keyctl system call, a different vulnerability than CVE-2017-12192.

Affected Software

28 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-862.rt56.804.el7
0:3.10.0-862.rt56.804.el7
redhat/kernel<0:3.10.0-862.el7
0:3.10.0-862.el7
redhat/kernel<0:3.10.0-693.55.1.el7
0:3.10.0-693.55.1.el7
redhat/kernel<4.12
4.12
Linux Linux kernel<=4.11.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
ubuntu/linux<3.13.0-142.191
3.13.0-142.191
ubuntu/linux-lts-xenial<4.4.0-87.110~14.04.1
4.4.0-87.110~14.04.1
ubuntu/linux<4.4.0-87.110
4.4.0-87.110
ubuntu/linux-aws<4.4.0-1026.35
4.4.0-1026.35
ubuntu/linux-gcp<4.13.0-1002.5
4.13.0-1002.5
ubuntu/linux-gke<4.4.0-1022.22
4.4.0-1022.22
ubuntu/linux-hwe<4.13.0-32.35~16.04.1
4.13.0-32.35~16.04.1
ubuntu/linux-raspi2<4.4.0-1065.73
4.4.0-1065.73
ubuntu/linux-snapdragon<4.4.0-1067.72
4.4.0-1067.72
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-862.rt56.804.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-862.el7
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.55.1.el7
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 4.12
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
  6. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-142.191
  7. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-87.110~14.04.1
  8. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-87.110
  9. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1026.35
  10. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.13.0-1002.5
  11. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 4.4.0-1022.22
  12. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.13.0-32.35~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1065.73
  14. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1067.72
  15. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.11.5

Event History

Jun 8, 2017
CVE Published
12:00 AM
Oct 11, 2017
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Oct 12, 2017
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw?

The vulnerability ID for this flaw is CVE-2017-15274.

2

What is the severity of CVE-2017-15274?

The severity of CVE-2017-15274 is medium with a CVSS score of 5.5.

3

Which software versions are affected by this vulnerability?

The vulnerability affects Linux kernel versions before 4.11.5.

4

How can this vulnerability be exploited?

This vulnerability can be exploited by local users to cause a denial of service by triggering a NULL pointer dereference and OOPS.

5

Is there a fix available for this vulnerability?

Yes, the vulnerability can be fixed by updating the Linux kernel to version 4.12 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203