CVE-2021-47318
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47318 affects the Linux kernel and involves a use-after-free vulnerability in the arch_topology subsystem. The issue occurs when topology_scale_freq_tick() (called from scheduler_tick()) may use a pointer to 'struct scale_freq_data' that was previously cleared by topology_clear_scale_freq_source(), without proper protection (Kernel Git).

Technical details

The vulnerability stems from a race condition where topology_scale_freq_tick() could access a pointer that was previously cleared by topology_clear_scale_freq_source(). The issue was introduced by commit 01e055c120a4 which allowed multiple entities to provide sched_freq_tick() callback. Since topology_scale_freq_tick() is called from the scheduler tick, adding direct locking was not a viable solution (Kernel Git).

Impact

This vulnerability could lead to a use-after-free condition, potentially resulting in system crashes or memory corruption when the previously cleared scale_freq_data is accessed. The issue affects the kernel's ability to safely manage CPU topology scaling frequency data (Kernel Git).

Exploitability

The vulnerability requires specific timing conditions to be met between the scheduler tick and topology operations. It primarily affects systems that utilize CPU frequency scaling and topology management features (Kernel Git).

Mitigation and workarounds

The issue was fixed by implementing RCU (Read-Copy-Update) mechanism to ensure race-free updates. The fix uses synchronize_rcu() to guarantee that all RCU critical sections that started before it is called will finish before it returns, preventing use-after-free scenarios. The patch was tested by Vincent Guittot and Qian Cai, and reviewed by Ionela Voinescu (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68427MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra
NoYesAug 10, 2026
CVE-2026-68426MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-igx
NoYesAug 10, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68430NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesAug 12, 2026
CVE-2026-68428NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-ibm-6.8
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management