Use-after-free vulnerability in net: sched: fix tc_new_tfilter()

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000211: net: sched: fix use-after-free in tc_new_tfilter(). Affects Kernel versions >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < e7be56926397cf9d992be8913f74a76152f8f08d. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources and facilitating communication between hardware and software components. The 'net' subsystem within the kernel is responsible for network-related operations, including traffic control (tc). The 'sched' component within the 'net' subsystem handles packet scheduling and filtering. This vulnerability specifically affects the 'tc_new_tfilter()' function within the 'sched' component.

Vulnerability Detail

The 'tc_new_tfilter()' function in the 'sched' component of the Linux Kernel suffers from a use-after-free vulnerability. This vulnerability was introduced in version v5.1 of the kernel and was fixed in version v5.10.97. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability occurs when the function fails to properly handle a specific sequence of operations, leading to a use-after-free condition. This can result in the execution of unintended code or the corruption of critical data structures.

How To Fix

No fixed version is published for this vulnerability.

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

Workaround

As a temporary workaround, users can disable the affected functionality by unloading the 'sch_netem' kernel module. This can be achieved by running the following command as root:

modprobe -r sch_netem

However, it is strongly advised to apply the official fix by updating the kernel as soon as possible.

Conclusion

The use-after-free vulnerability in the 'tc_new_tfilter()' function of the Linux Kernel's 'sched' component poses a significant risk to the security and stability of affected systems. It is crucial to update the kernel to version v5.10.97 or later to address this vulnerability. In the meantime, users can apply a temporary workaround by disabling the 'sch_netem' kernel module. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. It poses a significant risk to the security and stability of affected systems.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you if the vulnerability is present.

There are currently no known instances of this vulnerability being exploited in the wild. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. Attackers can potentially exploit this vulnerability by sending specially crafted network packets.

For more technical details and information about this vulnerability, you can refer to the official Linux Kernel repository and the associated commit history.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

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