Linux Kernel up to 4.15.7 mm/hugetlb.c resv_map_release pgoff memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.3 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in Linux Kernel up to 4.15.7. Affected is the function resv_map_release of the file mm/hugetlb.c. The manipulation of the argument pgoff as part of Crafted Application results in memory corruption.
This vulnerability was named CVE-2018-7740. The attack needs to be approached locally. There is no available exploit.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as problematic, was found in Linux Kernel up to 4.15.7 (Operating System). Affected is the function resv_map_release of the file mm/hugetlb.c. The manipulation of the argument pgoff as part of a Crafted Application leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on availability. CVE summarizes:
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.
The bug was discovered 03/06/2018. The weakness was presented 03/07/2018 as Bug 199037 as confirmed bug report (Bugzilla). The advisory is shared for download at bugzilla.kernel.org. This vulnerability is traded as CVE-2018-7740 since 03/07/2018. The exploitability is told to be easy. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 109518 (Debian DSA-4188-1 : linux - security update (Spectre)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197394 (Ubuntu Security Notification for Linux, Linux-aws, Linux-kvm, Linux-raspi2, Linux-snapdragon Vulnerabilities (USN-3910-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (109518), SecurityFocus (BID 103316†) and CERT Bund (WID-SEC-2022-0532). See VDB-111185, VDB-113696, VDB-113823 and VDB-114029 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Oracle Linux
- Debian Linux
- Open Source Linux Kernel
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle VM
- NetApp FAS
- Avaya Aura Communication Manager
- Avaya Aura Session Manager
- Avaya Aura Application Enablement Services
- Avaya Aura System Manager
- Avaya Aura Experience Portal
- NetApp AFF
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.4VulDB Meta Temp Score: 4.3
VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 109518
Nessus Name: Debian DSA-4188-1 : linux - security update (Spectre)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 861397
OpenVAS Name: SuSE Update for Linux Kernel openSUSE-SU-2018:0972-1 (Linux Kernel)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
03/06/2018 🔍03/07/2018 🔍
03/07/2018 🔍
03/07/2018 🔍
03/07/2018 🔍
03/07/2018 🔍
05/01/2018 🔍
05/02/2018 🔍
09/14/2025 🔍
Sources
Vendor: kernel.orgAdvisory: Bug 199037
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-7740 (🔍)
GCVE (CVE): GCVE-0-2018-7740
GCVE (VulDB): GCVE-100-114168
OVAL: 🔍
SecurityFocus: 103316 - Linux Kernel 'mm/hugetlb.c' Local Denial of Service Vulnerability
CERT Bund: WID-SEC-2022-0532 - Linux Kernel: Mehrere Schwachstellen
See also: 🔍
Entry
Created: 03/07/2018 14:11Updated: 09/14/2025 05:15
Changes: 03/07/2018 14:11 (82), 01/11/2020 09:00 (6), 09/14/2025 05:15 (24)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.