CVE-2018-17972: Race Condition

Published Oct 3, 2018
·
Updated

An issue was discovered in the procpidstack function in fs/proc/base.c in the Linux kernel . An attacker with a local account can trick the stack unwinder code to leak stack contents to userspace. The fix allows only root may inspect the kernel stack of an arbitrary task.

Upstream patch:

https://marc.info/?l=linux-fsdevel&m=153806242024956&w=2

Other sources

An issue was discovered in the procpidstack 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.

MITRE

Affected Software

15 affected componentsFixes available
Linux Linux kernel<=4.18.11
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server=7.6
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=7.0
Debian Debian Linux=8.0
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.18.11
  3. Compensating control

    Upgrade/patch the Linux kernel so that the kernel stack inspection via proc_pid_stack permits only root; this prevents a local attacker from exploiting racy stack unwinding to leak kernel task stack contents to userspace.

Event History

Oct 3, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 5, 2018
Data Sourced
via Red Hat·08:16 AM
DescriptionSeverityAffected Software
Sep 11, 2025
Data Sourced
via Launchpad·04:25 AM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:29 AM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·12:40 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-17972?

CVE-2018-17972 is rated as medium severity, allowing local attackers to leak sensitive stack information.

2

How do I fix CVE-2018-17972?

To fix CVE-2018-17972, update the Linux kernel to a version that includes the patch addressing this vulnerability.

3

Who is affected by CVE-2018-17972?

CVE-2018-17972 affects various Linux distributions including specific versions of Ubuntu, Red Hat, and Debian.

4

What systems are specifically impacted by CVE-2018-17972?

Systems running Linux kernel versions up to 4.18.11 and certain Ubuntu, Red Hat, and Debian releases are impacted by CVE-2018-17972.

5

What type of attack does CVE-2018-17972 enable?

CVE-2018-17972 enables local attackers to potentially leak kernel stack contents, which can lead to sensitive data exposure.

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