kernel: NULL pointer dereference due to KEYCTL_READ on negative key
Published Oct 12, 2017
5.5
MEDIUMCVSS 3.0
EPSS 0.45%
Description
The keyctl_read_key function in security/keys/keyctl.c in the Key Management subcomponent in the Linux kernel before 4.13.5 does not properly consider that a key may be possessed but negatively instantiated, which allows local users to cause a denial of service (OOPS and system crash) via a crafted KEYCTL_READ operation.
Affected products
No data.
- ≤ 4.13.4
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-754.30.2.el6
Fixed · RHSA-2020:2430
Red Hat Enterprise Linux 7
kernel-0:3.10.0-693.17.1.el7
Fixed · RHSA-2018:0151
Red Hat Enterprise Linux 7
kernel-alt-0:4.14.0-49.el7a
Fixed · RHSA-2018:0654
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
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-754.30.2.el6 | Fixed | RHSA-2020:2430 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-693.17.1.el7 | Fixed | RHSA-2018:0151 |
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-49.el7a | Fixed | RHSA-2018:0654 |
| 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 |
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. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 6, 7 and MRG-2. Future Linux kernel updates for the respective releases will address this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
AV:L/AC:L/Au:N/C:N/I:N/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.45% (0.00449) | 36.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.45% (0.00453) | 35.73th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00044) | 10.57th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.10% (0.01104) | 54.09th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.10% (0.01104) | 28.85th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.24% (0.01242) | 30.15th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.24% (0.01242) | 0.00th | v1 |
References (12)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=37863c43b2c6464f252862bf2e9768264e961678 x_refsource_CONFIRMPatchVendor Advisory
- http://seclists.org/oss-sec/2017/q4/63
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.5 x_refsource_CONFIRMVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:0151 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-12192 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1493435 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://github.com/torvalds/linux/commit/37863c43b2c6464f252862bf2e9768264e961678 x_refsource_CONFIRMPatchVendor Advisory
- https://lkml.org/lkml/2017/9/18/764 x_refsource_MISCMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-12192
- https://usn.ubuntu.com/3583-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3583-2/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2017-12192
| Link | Providers | Tags |
|---|---|---|
| http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=37863c43b2c6464f252862bf2e9768264e961678 | x_refsource_CONFIRMPatchVendor Advisory | |
| http://seclists.org/oss-sec/2017/q4/63 | ||
| http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.5 | x_refsource_CONFIRMVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2018:0151 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2017-12192 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1493435 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://github.com/torvalds/linux/commit/37863c43b2c6464f252862bf2e9768264e961678 | x_refsource_CONFIRMPatchVendor Advisory | |
| https://lkml.org/lkml/2017/9/18/764 | x_refsource_MISCMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-12192 | ||
| https://usn.ubuntu.com/3583-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://usn.ubuntu.com/3583-2/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2017-12192 |
Change history (0)
No recorded changes yet.