Use-after-free vulnerability in arch_topology package

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001187: arch_topology: Avoid use-after-free for scale_freq_data. Affects Kernel versions >= 01e055c120a46e78650b5f903088badbbdaae9ad, < ccdf7e073170886bc370c613e269de610a794c4a. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The arch_topology package is a component of the Linux Kernel, which is responsible for managing the topology of the system architecture. It provides information about the relationships between different components, such as CPUs and caches, in a hierarchical manner. This information is crucial for optimizing system performance and power consumption. However, a use-after-free vulnerability has been discovered in the arch_topology package, which can lead to potential security risks.

Vulnerability Detail

The use-after-free vulnerability in the arch_topology package arises from improper handling of scale_freq_data. This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. When scale_freq_data is freed and subsequently accessed, it may result in memory corruption or unexpected behavior. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.13.4 or later. The fix for this vulnerability was implemented in commit ccdf7e073170886bc370c613e269de610a794c4a. Updating the kernel will ensure that the use-after-free issue related to scale_freq_data is resolved.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can avoid the use of scale_freq_data in their applications or scripts until the Linux Kernel is updated to a patched version. By refraining from accessing scale_freq_data, the risk of triggering the use-after-free vulnerability can be mitigated.

Conclusion

The use-after-free vulnerability in the arch_topology package can pose significant security risks if exploited. It is crucial to update the Linux Kernel to a patched version to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The arch_topology package is a component of the Linux Kernel that manages the system architecture's topology, providing information about the relationships between different components.

A use-after-free vulnerability occurs when a program continues to use a memory area after it has been freed, leading to potential security risks and unexpected behavior.

scale_freq_data is a specific data structure or variable within the arch_topology package that is susceptible to the use-after-free vulnerability.

Exploiting this vulnerability can allow an attacker to execute arbitrary code or cause a denial-of-service condition, depending on how it is leveraged.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.13.4 or later, which includes the necessary patch to address the use-after-free issue.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.13.4 or later. The fix for this vulnerability was implemented in commit ccdf7e073170886bc370c613e269de610a794c4a. Updating the kernel will ensure that the use-after-free issue related to scale_freq_data is resolved.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.