cve.bz

CVE-2018-7995 Race Condition

4.7 mediumEPSS 0.3%Fix available

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

On this page
Race condition in the store_int_with_restart() function in arch/x86/kernel/cpu/mcheck/mce.c in the Linux kernel through 4.15.7 allows local users to cause a denial of service (panic) by leveraging root access to write to the check_interval file in a /sys/devices/system/machinecheck/machinecheck<cpu number> directory. NOTE: a third party has indicated that this report is not security relevant

Severity

CVSS 3.0

4.7 medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-06-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
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-7995 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-7995?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-7995?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-7995 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.15.7
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
debian:debian_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.101-1DLA-1369-1
Debian8linux3.16.56-1DSA-4187-1
Debian9linux4.9.88-1DSA-4188-1
Debian12, 13, 14linux4.15.11-1DEBIAN-CVE-2018-7995
Ubuntu14.04:LTSlinux-aws4.4.0-1022.22UBUNTU-CVE-2018-7995 USN-3654-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-127.153~14.04.1UBUNTU-CVE-2018-7995 USN-3654-2
Ubuntu16.04:LTSlinux4.4.0-127.153UBUNTU-CVE-2018-7995 USN-3654-1
Ubuntu16.04:LTSlinux-aws4.4.0-1060.69UBUNTU-CVE-2018-7995 USN-3654-1
Ubuntu16.04:LTSlinux-azure4.15.0-1013.13~16.04.2UBUNTU-CVE-2018-7995
Ubuntu16.04:LTSlinux-gcp4.15.0-1014.14~16.04.1UBUNTU-CVE-2018-7995
Ubuntu16.04:LTSlinux-hwe4.15.0-24.26~16.04.1UBUNTU-CVE-2018-7995
Ubuntu16.04:LTSlinux-kvm4.4.0-1026.31UBUNTU-CVE-2018-7995 USN-3654-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1090.98UBUNTU-CVE-2018-7995 USN-3656-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1093.98UBUNTU-CVE-2018-7995 USN-3656-1
Ubuntu18.04:LTSlinux-snapdragon4.15.0-1053.57UBUNTU-CVE-2018-7995
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2018-7995
5 more for Ubuntu in the JSON and on Ubuntu's page.

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

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelNot affected

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-7995.

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