cve.bz

CVE-2018-5344 Race Condition

7.8 highEPSS 0.4%Fix available

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

On this page
In the Linux kernel through 4.14.13, drivers/block/loop.c mishandles lo_release serialization, which allows attackers to cause a denial of service (__lock_acquire use-after-free) or possibly have unspecified other impact.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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-23. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-416 Use After Free
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-5344 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-5344?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-5344?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-5344 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.14.13
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
redhat:virtualization4.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux4.14.17-1DEBIAN-CVE-2018-5344
Ubuntu14.04:LTSlinux3.13.0-142.191UBUNTU-CVE-2018-5344 USN-3583-1
Ubuntu14.04:LTSlinux-aws4.4.0-1016.16UBUNTU-CVE-2018-5344 USN-3619-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-119.143~14.04.1UBUNTU-CVE-2018-5344 USN-3619-2
Ubuntu16.04:LTSlinux4.4.0-119.143UBUNTU-CVE-2018-5344 USN-3619-1
Ubuntu16.04:LTSlinux-aws4.4.0-1054.63UBUNTU-CVE-2018-5344 USN-3619-1
Ubuntu16.04:LTSlinux-azure4.13.0-1014.17UBUNTU-CVE-2018-5344 USN-3632-1
Ubuntu16.04:LTSlinux-gcp4.13.0-1012.16UBUNTU-CVE-2018-5344 USN-3617-2
Ubuntu16.04:LTSlinux-hwe4.13.0-41.46~16.04.1UBUNTU-CVE-2018-5344 USN-3617-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1020.25UBUNTU-CVE-2018-5344 USN-3619-1
Ubuntu16.04:LTSlinux-oem4.13.0-1022.24UBUNTU-CVE-2018-5344 USN-3617-2
Ubuntu16.04:LTSlinux-raspi24.4.0-1086.94UBUNTU-CVE-2018-5344 USN-3619-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1088.93UBUNTU-CVE-2018-5344 USN-3619-1
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 15 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 22 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.el7aRHSA-2018:2948
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-957.rt56.910.el7RHSA-2018:3096

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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 and MRG-2.

Future Linux kernel updates for the respective releases may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-957.rt56.910.el7Fixed 2018-10-30RHSA-2018:3096
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.el7aFixed 2018-10-30RHSA-2018:2948
Red Hat Enterprise Linux 7kernel-0:3.10.0-957.el7Fixed 2018-10-30RHSA-2018:3083
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelWill 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-5344.

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