Menu

Star on GitHub · 3.2k

CVE-2024-35980

8.4 · HIGH

In the Linux kernel, the following vulnerability has been resolved: arm64: tlb: Fix TLBI RANGE operand KVM/arm64 relies on TLBI RANGE feature to flush TLBs when the dirty pages are collected by V…

Published May 20, 2024CWE-191EPSS 0.23%

Overview

CVE-2024-35980 is a high-severity vulnerability. It was published on May 20, 2024 and has a CVSS 3.1 base score of 8.4 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.4, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

arm64: tlb: Fix TLBI RANGE operand

KVM/arm64 relies on TLBI RANGE feature to flush TLBs when the dirty

pages are collected by VMM and the page table entries become write

protected during live migration. Unfortunately, the operand passed

to the TLBI RANGE instruction isn't correctly sorted out due to the

commit 117940aa6e5f ("KVM: arm64: Define kvm_tlb_flush_vmid_range()").

It leads to crash on the destination VM after live migration because

TLBs aren't flushed completely and some of the dirty pages are missed.

For example, I have a VM where 8GB memory is assigned, starting from

0x40000000 (1GB). Note that the host has 4KB as the base page size.

In the middile of migration, kvm_tlb_flush_vmid_range() is executed

to flush TLBs. It passes MAX_TLBI_RANGE_PAGES as the argument to

__kvm_tlb_flush_vmid_range() and __flush_s2_tlb_range_op(). SCALE#3

and NUM#31, corresponding to MAX_TLBI_RANGE_PAGES, isn't supported

by __TLB

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-35980?

CVE-2024-35980 is a high-severity vulnerability. It was published on May 20, 2024 and has a CVSS 3.1 base score of 8.4 (HIGH).

How severe is CVE-2024-35980?

This vulnerability has a CVSS 3.1 base score of 8.4, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-35980?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-35980?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-35980 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all