Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35980

HIGH 8.4EPSS 17%

arm64: tlb: Fix TLBI RANGE operand

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 117940aa6e5f8308f1529e1313660980f1dae771, < ac4ad513de4fba18b4ac0ace132777d0910e8cfa; >= 117940aa6e5f8308f1529e1313660980f1dae771, < 944db7b536baaf49d7e576af36a94f4719552b07; >= 117940aa6e5f8308f1529e1313660980f1dae771, < e3ba51ab24fddef79fc212f9840de54db8fd1685
  • Anyone running Linux 6.6

Vulnerability facts

Affected
Linux >= 117940aa6e5f8308f1529e1313660980f1dae771, < ac4ad513de4fba18b4ac0ace132777d0910e8cfa; >= 117940aa6e5f8308f1529e1313660980f1dae771, < 944db7b536baaf49d7e576af36a94f4719552b07; >= 117940aa6e5f8308f1529e1313660980f1dae771, < e3ba51ab24fddef79fc212f9840de54db8fd1685; Linux 6.6
Fixed in
Linux 944db7b536baaf49d7e576af36a94f4719552b07
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 17, 2026-11-28)
CWE
CWE-191
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 117940aa6e5f8308f1529e1313660980f1dae771, < ac4ad513de4fba18b4ac0ace132777d0910e8cfa; >= 117940aa6e5f8308f1529e1313660980f1dae771, < 944db7b536baaf49d7e576af36a94f4719552b07; >= 117940aa6e5f8308f1529e1313660980f1dae771, < e3ba51ab24fddef79fc212f9840de54db8fd1685—cvelist
Linux6.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35980. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35980.md
Affected: Linux >= 117940aa6e5f8308f1529e1313660980f1dae771, < ac4ad513de4fba18b4ac0ace132777d0910e8cfa; >= 117940aa6e5f8308f1529e1313660980f1dae771, < 944db7b536baaf49d7e576af36a94f4719552b07; >= 117940aa6e5f8308f1529e1313660980f1dae771, < e3ba51ab24fddef79fc212f9840de54db8fd1685; Linux 6.6
Fixed in: Linux 944db7b536baaf49d7e576af36a94f4719552b07

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35980 being exploited?

There is no confirmed exploitation: CVE-2024-35980 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2024-35980?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-35980?

Linux >= 117940aa6e5f8308f1529e1313660980f1dae771, < ac4ad513de4fba18b4ac0ace132777d0910e8cfa; >= 117940aa6e5f8308f1529e1313660980f1dae771, < 944db7b536baaf49d7e576af36a94f4719552b07; >= 117940aa6e5f8308f1529e1313660980f1dae771, < e3ba51ab24fddef79fc212f9840de54db8fd1685; Linux 6.6.

Is there a fix for CVE-2024-35980?

Yes. Fixed in Linux 944db7b536baaf49d7e576af36a94f4719552b07. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-35980?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors