CVE-2017-12193: Null Pointer Dereference

Published Oct 12, 2017
·
Updated

A flaw was found in the Linux kernels implementation of associative arrays introduced in 3.13. The Red Hat Enterprise Linux 7 kernel had back ported this functionality to the 3.10 kernels and was affected by this flaw. The flaw involved a null pointer dereference in assocarrayapplyedit() due to incorrect node-splitting in assocarray implementation. This did not affect all callers of of the associative array code, only those that would try todereference the assigned value, a kernel panic will occur.

Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ea6789980fdaa610d7eb63602c746bf6ec70cd2b

Oss-security: http://seclists.org/oss-sec/2017/q4/181

Other sources

The assocarrayinsertintoterminalnode function in lib/assocarray.c in the Linux kernel before 4.13.11 mishandles node splitting, which allows local users to cause a denial of service (NULL pointer dereference and panic) via a crafted application, as demonstrated by the keyring key type, and key addition and link creation operations.

Launchpad

Affected Software

2 affected componentsFixes available
Linux Linux kernel<4.13.11
debian/linux
6.1.176-16.1.187-16.12.94-16.12.107-17.1.12-17.1.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.94-1Fixed in 6.12.107-1Fixed in 7.1.12-1Fixed in 7.1.13-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.13.11

Event History

Oct 12, 2017
Data Sourced
via Red Hat·08:59 AM
DescriptionSeverityAffected Software
Nov 22, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
DescriptionWeakness
Data Sourced
via NVD·06:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:26 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:15 AM
RemedyDescriptionSeverityAffected Software
Sep 8, 2026
Data Sourced
via Debian·12:43 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-12193?

The severity of CVE-2017-12193 is considered moderate due to the potential for a null pointer dereference.

2

How do I fix CVE-2017-12193?

To fix CVE-2017-12193, you should upgrade to a patched version of the Linux kernel beyond 4.13.11.

3

Which Linux kernel versions are affected by CVE-2017-12193?

CVE-2017-12193 affects Linux kernel versions prior to 4.13.11, including backported versions in Red Hat Enterprise Linux 7.

4

What is the impact of CVE-2017-12193?

The impact of CVE-2017-12193 is a potential system crash due to a null pointer dereference in the associative arrays implementation.

5

Is CVE-2017-12193 specific to any Linux distributions?

CVE-2017-12193 is particularly noted in the Red Hat Enterprise Linux 7 kernel but may affect other distributions using the vulnerable kernel versions.

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