🛡️ CVE-2024-35980 on Ubuntu — linux

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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 __TLBI_RANGE_NUM(). In this specific case, -1 has been returned from __TLBI_RANGE_NUM() for SCALE#3/2/1/0 and rejected by the loop in the __flush_tlb_range_op() until the variable @scale underflows and becomes -9, 0xffff708000040000 is set as the operand. The operand is wrong since it's sorted out by __TLBI_VADDR_RANGE() according to invalid @scale and @num. Fix it by extending __TLBI_RANGE_NUM() to support the combination of SCALE#3 and NUM#31. With the changes, [-1 31] instead of [-1 30] can be returned from the macro, meaning the TLBs for 0x200000 pages in the above example can be flushed in one shoot with SCALE#3 and NUM#31. The macro TLBI_RANGE_MASK is dropped since no one uses it any more. The comments are also adjusted accordingly.

Distribution advisory

This page covers CVE-2024-35980 as tracked by Ubuntu, for the package linux. The fix is available in version 6.8.0-38.38; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality none, integrity high, availability high.

Affected software

UBUNTU-CVE-2024-35980 is recorded against 78 packages.

  • linux (fixed in 6.8.0-38.38)
  • linux-allwinner-5.19
  • linux-aws (fixed in 6.8.0-1011.12)
  • linux-aws-5.0
  • linux-aws-5.11
  • linux-aws-5.13
  • linux-aws-5.19
  • linux-aws-5.3
  • linux-aws-5.8
  • linux-aws-6.2
  • linux-aws-6.8 (fixed in 6.8.0-1011.12~22.04.1)
  • linux-azure (fixed in 6.8.0-1010.10)
  • linux-azure-5.11
  • linux-azure-5.13
  • linux-azure-5.19
  • linux-azure-5.3
  • linux-azure-5.8
  • linux-azure-6.2
  • linux-azure-6.8 (fixed in 6.8.0-1010.10~22.04.1)
  • linux-azure-edge
  • linux-azure-fde
  • linux-azure-fde-5.19
  • linux-azure-fde-6.2
  • linux-gcp (fixed in 6.8.0-1010.11)
Show the remaining 54 packages
  • linux-gcp-5.11
  • linux-gcp-5.13
  • linux-gcp-5.19
  • linux-gcp-5.3
  • linux-gcp-5.8
  • linux-gcp-6.2
  • linux-gke (fixed in 6.8.0-1006.9)
  • linux-gke-4.15
  • linux-gke-5.15
  • linux-gke-5.4
  • linux-gkeop-5.4
  • linux-hwe
  • linux-hwe-5.11
  • linux-hwe-5.13
  • linux-hwe-5.19
  • linux-hwe-5.8
  • linux-hwe-6.2
  • linux-hwe-edge
  • linux-ibm (fixed in 6.8.0-1008.8)
  • linux-intel (fixed in 6.8.0-1007.14)
  • linux-intel-5.13
  • linux-intel-iot-realtime
  • linux-lowlatency (fixed in 6.8.0-38.38.1)
  • linux-lowlatency-hwe-5.19
  • linux-lowlatency-hwe-6.2
  • linux-nvidia (fixed in 6.8.0-1009.9)
  • linux-nvidia-6.2
  • linux-nvidia-6.8 (fixed in 6.8.0-1009.9~22.04.1)
  • linux-oem
  • linux-oem-5.10
  • linux-oem-5.13
  • linux-oem-5.14
  • linux-oem-5.17
  • linux-oem-5.6
  • linux-oem-6.0
  • linux-oem-6.1
  • linux-oem-6.8 (fixed in 6.8.0-1008.8)
  • linux-oracle (fixed in 6.8.0-1008.8)
  • linux-oracle-5.0
  • linux-oracle-5.11
  • linux-oracle-5.13
  • linux-oracle-5.3
  • linux-oracle-5.8
  • linux-oracle-6.8 (fixed in 6.8.0-1008.8~22.04.1)
  • linux-raspi (fixed in 6.8.0-1007.7)
  • linux-raspi-realtime (fixed in 6.8.0-2006.6)
  • linux-raspi2
  • linux-realtime (fixed in 6.8.1-1004.4)
  • linux-riscv (fixed in 6.8.0-38.38.1)
  • linux-riscv-5.11
  • linux-riscv-5.19
  • linux-riscv-5.8
  • linux-starfive-5.19
  • linux-starfive-6.2

Timeline and source

Published on 20 May 2024 and last revised on 6 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)

CVE-2024-35980 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2024-05-20
Updated 2026-08-20
Modified 2026-08-06
Fix URL N/A

Affected Packages

Software From version Fixed in
linux 6.8.0-38.38
linux-allwinner-5.19
linux-aws 6.8.0-1011.12
linux-aws-5.0
linux-aws-5.11
linux-aws-5.13
linux-aws-5.19
linux-aws-5.3
linux-aws-5.8
linux-aws-6.2
linux-aws-6.8 6.8.0-1011.12~22.04.1
linux-azure 6.8.0-1010.10
linux-azure-5.11
linux-azure-5.13
linux-azure-5.19
linux-azure-5.3
linux-azure-5.8
linux-azure-6.2
linux-azure-6.8 6.8.0-1010.10~22.04.1
linux-azure-edge
linux-azure-fde
linux-azure-fde-5.19
linux-azure-fde-6.2
linux-gcp 6.8.0-1010.11
linux-gcp-5.11
linux-gcp-5.13
linux-gcp-5.19
linux-gcp-5.3
linux-gcp-5.8
linux-gcp-6.2
linux-gke 6.8.0-1006.9
linux-gke-4.15
linux-gke-5.15
linux-gke-5.4
linux-gkeop-5.4
linux-hwe
linux-hwe-5.11
linux-hwe-5.13
linux-hwe-5.19
linux-hwe-5.8
linux-hwe-6.2
linux-hwe-edge
linux-ibm 6.8.0-1008.8
linux-intel 6.8.0-1007.14
linux-intel-5.13
linux-intel-iot-realtime
linux-lowlatency 6.8.0-38.38.1
linux-lowlatency-hwe-5.19
linux-lowlatency-hwe-6.2
linux-nvidia 6.8.0-1009.9
linux-nvidia-6.2
linux-nvidia-6.8 6.8.0-1009.9~22.04.1
linux-oem
linux-oem-5.10
linux-oem-5.13
linux-oem-5.14
linux-oem-5.17
linux-oem-5.6
linux-oem-6.0
linux-oem-6.1
linux-oem-6.8 6.8.0-1008.8
linux-oracle 6.8.0-1008.8
linux-oracle-5.0
linux-oracle-5.11
linux-oracle-5.13
linux-oracle-5.3
linux-oracle-5.8
linux-oracle-6.8 6.8.0-1008.8~22.04.1
linux-raspi 6.8.0-1007.7
linux-raspi-realtime 6.8.0-2006.6
linux-raspi2
linux-realtime 6.8.1-1004.4
linux-riscv 6.8.0-38.38.1
linux-riscv-5.11
linux-riscv-5.19
linux-riscv-5.8
linux-starfive-5.19
linux-starfive-6.2

Similar Threats

Site Security Check

Is linux part of your stack?

UBUNTU-CVE-2024-35980 is rated CVSS 8.4 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2024