Wind River Support Network

Meet the Support Network

Home CVE Database CVE-2024-38610

CVE-2024-38610

Description

In the Linux kernel, the following vulnerability has been resolved: drivers/virt/acrn: fix PFNMAP PTE checks in acrn_vm_ram_map() Patch series mm: follow_pte() improvements and acrn follow_pte() fixes. Patch #1 fixes a bunch of issues I spotted in the acrn driver. It compiles, that\'s all I know. I\'ll appreciate some review and testing from acrn folks. Patch #2+#3 improve follow_pte(), passing a VMA instead of the MM, adding more sanity checks, and improving the documentation. Gave it a quick test on x86-64 using VM_PAT that ends up using follow_pte(). This patch (of 3): We currently miss handling various cases, resulting in a dangerous follow_pte() (previously follow_pfn()) usage. (1) We\'re not checking PTE write permissions. Maybe we should simply always require pte_write() like we do for pin_user_pages_fast(FOLL_WRITE)? Hard to tell, so let\'s check for ACRN_MEM_ACCESS_WRITE for now. (2) We\'re not rejecting refcounted pages. As we are not using MMU notifiers, messing with refcounted pages is dangerous and can result in use-after-free. Let\'s make sure to reject them. (3) We are only looking at the first PTE of a bigger range. We only lookup a single PTE, but memmap->len may span a larger area. Let\'s loop over all involved PTEs and make sure the PFN range is actually contiguous. Reject everything else: it couldn\'t have worked either way, and rather made use access PFNs we shouldn\'t be accessing.

Priority: --
CVSS v3: --
Component: linux
Publish Date: Jun 19, 2024
Related ID: --
CVSS v2: --
Modified Date: Jun 20, 2024

Find out more about CVE-2024-38610 from the MITRE-CVE dictionary and NIST NVD


Products Affected

Login may be required to access defects or downloads.

Product Name Status Defect Fixed Downloads
Linux
Wind River Linux LTS 17 Requires LTSS -- -- --
Wind River Linux 8 Requires LTSS -- -- --
Wind River Linux 9 Requires LTSS -- -- --
Wind River Linux 7 Requires LTSS -- -- --
Wind River Linux LTS 21 Not Vulnerable -- -- --
Wind River Linux LTS 22 Fixed LIN1022-9404
10.22.33.17 --
Wind River Linux LTS 18 Requires LTSS -- -- --
Wind River Linux LTS 19 Not Vulnerable -- -- --
Wind River Linux CD release N/A -- -- --
Wind River Linux 6 Requires LTSS -- -- --
Wind River Linux LTS 23 Fixed LIN1023-6694
10.23.30.12 --
Wind River Linux LTS 24 Not Vulnerable LIN1024-2240
-- --
VxWorks
VxWorks 7 Not Vulnerable -- -- --
VxWorks 6.9 (End-of-Life) Not Vulnerable -- -- --
Helix Virtualization Platform Cert Edition
Helix Virtualization Platform Cert Edition Not Vulnerable -- -- --
eLxr
eLxr 12 Fixed -- 6.1.94-1 --
Wind River Studio Cloud Platform

Related Products

Product Name Status Defect Fixed Downloads

Notes
Requires LTSS - customers must have active LTSS (Long Term Security Shield) Support to receive up-to-date information about vulnerabilities that may affect legacy software. Please contact your Wind River account team or see https://docs.windriver.com/bundle/Support_and_Maintenance_Supplemental_Terms_and_Conditions and https://support2.windriver.com/index.php?page=plc for more information.
Live chat
Online