Rapid7 Vulnerability & Exploit Database

Rocky Linux: CVE-2024-35791: kernel (RLSA-2024-6567)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Rocky Linux: CVE-2024-35791: kernel (RLSA-2024-6567)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
05/17/2024
Created
09/18/2024
Added
09/17/2024
Modified
11/18/2024

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region() Do the cache flush of converted pages in svm_register_enc_region() before dropping kvm->lock to fix use-after-free issues where region and/or its array of pages could be freed by a different task, e.g. if userspace has __unregister_enc_region_locked() already queued up for the region. Note, the "obvious" alternative of using local variables doesn't fully resolve the bug, as region->pages is also dynamically allocated. I.e. the region structure itself would be fine, but region->pages could be freed. Flushing multiple pages under kvm->lock is unfortunate, but the entire flow is a rare slow path, and the manual flush is only needed on CPUs that lack coherency for encrypted memory.

Solution(s)

  • rocky-upgrade-bpftool
  • rocky-upgrade-bpftool-debuginfo
  • rocky-upgrade-kernel
  • rocky-upgrade-kernel-core
  • rocky-upgrade-kernel-cross-headers
  • rocky-upgrade-kernel-debug
  • rocky-upgrade-kernel-debug-core
  • rocky-upgrade-kernel-debug-debuginfo
  • rocky-upgrade-kernel-debug-devel
  • rocky-upgrade-kernel-debug-devel-matched
  • rocky-upgrade-kernel-debug-modules
  • rocky-upgrade-kernel-debug-modules-core
  • rocky-upgrade-kernel-debug-modules-extra
  • rocky-upgrade-kernel-debug-uki-virt
  • rocky-upgrade-kernel-debuginfo
  • rocky-upgrade-kernel-devel
  • rocky-upgrade-kernel-devel-matched
  • rocky-upgrade-kernel-headers
  • rocky-upgrade-kernel-modules
  • rocky-upgrade-kernel-modules-core
  • rocky-upgrade-kernel-modules-extra
  • rocky-upgrade-kernel-rt
  • rocky-upgrade-kernel-rt-core
  • rocky-upgrade-kernel-rt-debug
  • rocky-upgrade-kernel-rt-debug-core
  • rocky-upgrade-kernel-rt-debug-debuginfo
  • rocky-upgrade-kernel-rt-debug-devel
  • rocky-upgrade-kernel-rt-debug-kvm
  • rocky-upgrade-kernel-rt-debug-modules
  • rocky-upgrade-kernel-rt-debug-modules-core
  • rocky-upgrade-kernel-rt-debug-modules-extra
  • rocky-upgrade-kernel-rt-debuginfo
  • rocky-upgrade-kernel-rt-devel
  • rocky-upgrade-kernel-rt-kvm
  • rocky-upgrade-kernel-rt-modules
  • rocky-upgrade-kernel-rt-modules-core
  • rocky-upgrade-kernel-rt-modules-extra
  • rocky-upgrade-kernel-tools
  • rocky-upgrade-kernel-tools-debuginfo
  • rocky-upgrade-kernel-tools-libs
  • rocky-upgrade-kernel-tools-libs-devel
  • rocky-upgrade-kernel-uki-virt
  • rocky-upgrade-kernel-zfcpdump
  • rocky-upgrade-kernel-zfcpdump-core
  • rocky-upgrade-kernel-zfcpdump-debuginfo
  • rocky-upgrade-kernel-zfcpdump-devel
  • rocky-upgrade-kernel-zfcpdump-devel-matched
  • rocky-upgrade-kernel-zfcpdump-modules
  • rocky-upgrade-kernel-zfcpdump-modules-core
  • rocky-upgrade-kernel-zfcpdump-modules-extra
  • rocky-upgrade-libperf
  • rocky-upgrade-libperf-debuginfo
  • rocky-upgrade-perf
  • rocky-upgrade-perf-debuginfo
  • rocky-upgrade-python3-perf
  • rocky-upgrade-python3-perf-debuginfo
  • rocky-upgrade-rtla
  • rocky-upgrade-rv

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;