CVE-2017-15127
n/a Linux kernel before 4.13: Improper Cleanup on Thrown Exception
Description
A flaw was found in the hugetlb_mcopy_atomic_pte function in mm/hugetlb.c in the Linux kernel before 4.13. A superfluous implicit page unlock for VM_SHARED hugetlbfs mapping could trigger a local denial of service (BUG).
Exploitation
EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.7% of all scored CVEs. Scores of 26 Nov 2026.
Weakness
- CWE-460 Improper Cleanup on Thrown Exception
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Linux kernel before 4.13
n/a
|
affected Linux kernel before 4.13
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-15127 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-15127RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-15127Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2017-15127
trivy image --scanners vuln IMAGE | grep CVE-2017-15127
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
- RHSA-2018:1062 access.redhat.com · vendor advisory
- RHSA-2018:0676 access.redhat.com · vendor advisory
Other references
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5af10dfd0afc559bb4b0f7e3e8227a1578333995 git.kernel.org
- https://bugzilla.redhat.com/show_bug.cgi?id=1525218 bugzilla.redhat.com
- https://github.com/torvalds/linux/commit/5af10dfd0afc559bb4b0f7e3e8227a1578333995 github.com
- https://access.redhat.com/security/cve/CVE-2017-15127 access.redhat.com
- 102517 securityfocus.com · vdb entry
Source: the record CVE-2017-15127 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.