cve.bz

CVE-2018-7740

5.5 mediumExploit referenceEPSS 0.6%

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

On this page
The resv_map_release function in mm/hugetlb.c in the Linux kernel through 4.15.7 allows local users to cause a denial of service (BUG) via a crafted application that makes mmap system calls and has a large pgoff argument to the remap_file_pages system call.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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-7740 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-7740?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-7740?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-7740 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
redhat:virtualization_host4.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.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.17-1DEBIAN-CVE-2018-7740
Ubuntu14.04:LTSlinux-aws4.4.0-1039.42UBUNTU-CVE-2018-7740 USN-3910-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-143.169~14.04.2UBUNTU-CVE-2018-7740 USN-3910-2
Ubuntu16.04:LTSlinux4.4.0-143.169UBUNTU-CVE-2018-7740 USN-3910-1
Ubuntu16.04:LTSlinux-aws4.4.0-1077.87UBUNTU-CVE-2018-7740 USN-3910-1
Ubuntu16.04:LTSlinux-azure4.15.0-1013.13~16.04.2UBUNTU-CVE-2018-7740
Ubuntu16.04:LTSlinux-gcp4.15.0-1014.14~16.04.1UBUNTU-CVE-2018-7740
Ubuntu16.04:LTSlinux-hwe4.15.0-24.26~16.04.1UBUNTU-CVE-2018-7740
Ubuntu16.04:LTSlinux-kvm4.4.0-1041.47UBUNTU-CVE-2018-7740 USN-3910-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1104.112UBUNTU-CVE-2018-7740 USN-3910-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1108.113UBUNTU-CVE-2018-7740 USN-3910-1
Ubuntu18.04:LTSlinux-snapdragon4.15.0-1053.57UBUNTU-CVE-2018-7740
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2018-7740
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 Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-957.rt56.910.el7RHSA-2018:3096
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.121-92.73.1SUSE-SU-2018:1173-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_211-3.3.1SUSE-SU-2018:1173-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-source4.4.126-94.22.2SUSE-SU-2018:1048-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-default4.4.126-94.22.1SUSE-SU-2018:1048-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.126-94.22.1SUSE-SU-2018:1048-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_111-4.5.1SUSE-SU-2018:1048-1
SUSELinux Enterprise Real Time 12 SP3kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.4.128-3.11.1SUSE-SU-2018:1217-1
SUSELinux Enterprise Server 12 SP2-BCLkernel-syms, kernel-source, kernel-default4.4.121-92.73.1SUSE-SU-2018:1173-2
SUSELinux Enterprise Server 12 SP2-BCLkgraft-patch-SLE12-SP2_Update_211-3.3.1SUSE-SU-2018:1173-2
SUSELinux Enterprise Software Development Kit 12 SP3kernel-docs, kernel-obs-build4.4.126-94.22.1SUSE-SU-2018:1048-1

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

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-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 7kernel-altWill not fix
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-7740.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON