Operation on a Resource after Expiration or Release Affecting kernel-rt-trace package, versions <0:3.10.0-1062.rt56.1022.el7


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-KERNELRTTRACE-4908544
  • published26 Jul 2021
  • disclosed18 Oct 2018

Introduced: 18 Oct 2018

CVE-2018-18281  (opens in a new tab)
CWE-672  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:7 kernel-rt-trace to version 0:3.10.0-1062.rt56.1022.el7 or higher.
This issue was patched in RHSA-2019:2043.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-trace package and not the kernel-rt-trace package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

Since Linux kernel version 3.2, the mremap() syscall performs TLB flushes after dropping pagetable locks. If a syscall such as ftruncate() removes entries from the pagetables of a task that is in the middle of mremap(), a stale TLB entry can remain for a short time that permits access to a physical page after it has been released back to the page allocator and reused. This is fixed in the following kernel versions: 4.9.135, 4.14.78, 4.18.16, 4.19.