kernel: Null pointer dereference due to incorrect node-splitting in assoc_array implementation
Published Nov 22, 2017
5.5
MEDIUMCVSS 3.0
EPSS 0.45%
Description
The assoc_array_insert_into_terminal_node function in lib/assoc_array.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.
Affected products
- Vendor n/a Product Linux kernel since 3.13 up to 4.14 (not including) Defaultn/a
- Version Linux kernel since 3.13 up to 4.14 (not including)StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Linux kernel since 3.13 up to 4.14 (not including) | n/a |
|
- < 4.13.11
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-693.17.1.el7
Fixed · RHSA-2018:0151
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-693.17.1.rt56.636.el7
Fixed · RHSA-2018:0152
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-693.17.1.rt56.604.el6rt
Fixed · RHSA-2018:0181
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-693.17.1.el7 | Fixed | RHSA-2018:0151 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-693.17.1.rt56.636.el7 | Fixed | RHSA-2018:0152 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.17.1.rt56.604.el6rt | Fixed | RHSA-2018:0181 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7,MRG-2 and realtime kernels. Future Linux kernel updates for the respective releases may address this issue.
References (11)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ea6789980fdaa610d7eb63602c746bf6ec70cd2b x_refsource_CONFIRMIssue TrackingPatch
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11 x_refsource_CONFIRMIssue Tracking
- http://www.securityfocus.com/bid/101678 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:0151 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-12193 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1501215 x_refsource_CONFIRMIssue Tracking
- https://github.com/torvalds/linux/commit/ea6789980fdaa610d7eb63602c746bf6ec70cd2b x_refsource_CONFIRMPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-12193
- https://usn.ubuntu.com/3698-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3698-2/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2017-12193
| Link | Providers | Tags |
|---|---|---|
| http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ea6789980fdaa610d7eb63602c746bf6ec70cd2b | x_refsource_CONFIRMIssue TrackingPatch | |
| http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11 | x_refsource_CONFIRMIssue Tracking | |
| http://www.securityfocus.com/bid/101678 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:0151 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2017-12193 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1501215 | x_refsource_CONFIRMIssue Tracking | |
| https://github.com/torvalds/linux/commit/ea6789980fdaa610d7eb63602c746bf6ec70cd2b | x_refsource_CONFIRMPatchVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-12193 | ||
| https://usn.ubuntu.com/3698-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://usn.ubuntu.com/3698-2/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2017-12193 |
Change history (0)
No recorded changes yet.