cve.bz

CVE-2018-17972 Race Condition

5.5 mediumEPSS 0.4%Fix available

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in the proc_pid_stack function in fs/proc/base.c in the Linux kernel through 4.18.11. It does not ensure that only root may inspect the kernel stack of an arbitrary task, allowing a local attacker to exploit racy stack unwinding and leak kernel task stack contents.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-17972 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-17972?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-17972?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-17972 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelthrough 4.18.11
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server7.6
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.64-1DLA-1731-1
Debian8linux-4.94.9.144-3.1~deb8u1DLA-1715-1
Debian12, 13, 14linux4.18.20-1DEBIAN-CVE-2018-17972
Ubuntu14.04:LTSlinux3.13.0-165.215UBUNTU-CVE-2018-17972 USN-3880-1
Ubuntu14.04:LTSlinux-aws4.4.0-1034.37UBUNTU-CVE-2018-17972 USN-3821-2
Ubuntu14.04:LTSlinux-azure4.15.0-1037.39~14.04.2UBUNTU-CVE-2018-17972 USN-3871-5
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-139.165~14.04.1UBUNTU-CVE-2018-17972 USN-3821-2
Ubuntu16.04:LTSlinux4.4.0-139.165UBUNTU-CVE-2018-17972 USN-3821-1
Ubuntu16.04:LTSlinux-aws4.4.0-1072.82UBUNTU-CVE-2018-17972 USN-3821-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1032.34~16.04.1UBUNTU-CVE-2018-17972 USN-3871-4
Ubuntu16.04:LTSlinux-azure4.15.0-1037.39~16.04.1UBUNTU-CVE-2018-17972 USN-3871-5
Ubuntu16.04:LTSlinux-gcp4.15.0-1027.28~16.04.1UBUNTU-CVE-2018-17972 USN-3871-4
Ubuntu16.04:LTSlinux-hwe4.15.0-45.48~16.04.1UBUNTU-CVE-2018-17972 USN-3871-4
Ubuntu16.04:LTSlinux-kvm4.4.0-1037.43UBUNTU-CVE-2018-17972 USN-3821-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1100.108UBUNTU-CVE-2018-17972 USN-3821-1
12 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::workstationperf, kernel, kernel-doc and 12 more0:2.6.32-754.18.2.el6RHSA-2019:2473
Red Hatenterprise_linux:6::serverperf, kernel, kernel-doc and 18 more0:2.6.32-754.18.2.el6RHSA-2019:2473
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-957.10.1.el7RHSA-2019:0512
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-957.10.1.el7RHSA-2019:0512
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.7.1.el7aRHSA-2019:0831
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-957.10.1.rt56.921.el7RHSA-2019:0514
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 morekernel-syms, kernel-source, kernel-default4.4.121-92.114.1SUSE-SU-2019:1534-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_301-3.5.1SUSE-SU-2019:1534-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.180-94.97.1SUSE-SU-2019:1532-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.114.1SUSE-SU-2019:1534-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.180-94.97.1SUSE-SU-2019:1532-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_261-4.3.3SUSE-SU-2019:1532-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.61-52.154.1SUSE-SU-2019:1692-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.74-60.64.115.1SUSE-SU-2019:1533-1
SUSELinux Enterprise Server 11 SP4-LTSSkernel-ec2, kernel-pae, kernel-xen and 4 more3.0.101-108.95.2SUSE-SU-2019:14089-1
SUSELinux Enterprise Server 11 SP4-LTSSkernel-syms, kernel-source3.0.101-108.95.1SUSE-SU-2019:14089-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1kernel-xen, kernel-syms, kernel-source and 1 more3.12.74-60.64.115.1SUSE-SU-2019:1533-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1kgraft-patch-SLE12-SP1_Update_341-2.5.1SUSE-SU-2019:1533-1
4 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernel-0:2.6.32-754.18.2.el6Fixed 2019-08-13RHSA-2019:2473
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-957.10.1.rt56.921.el7Fixed 2019-03-13RHSA-2019:0514
Red Hat Enterprise Linux 7kernel-0:3.10.0-957.10.1.el7Fixed 2019-03-13RHSA-2019:0512
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.7.1.el7aFixed 2019-04-23RHSA-2019:0831
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-17972.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON