Use-after-free vulnerability in net: tw_timer_handler

Kernel Updated 02 Oct 2025

Summary

10/01/2022
N/A
No i
Unrated
Not published

GSD-2022-1000053: net: fix use-after-free in tw_timer_handler. Affects Kernel versions >= 61a7e26028b94805fd686a6dc9dbd9941f8f19b0, < 08eacbd141e2495d2fcdde84358a06c4f95cbb13. 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 net package is a crucial component of the Linux Kernel, responsible for handling network-related operations. It provides various functionalities such as socket management, packet processing, and network protocol implementations. The tw_timer_handler function within the net package is used for managing timer-based operations related to TCP connections. This vulnerability specifically affects the tw_timer_handler function, leading to a use-after-free issue.

Vulnerability Detail

The use-after-free vulnerability in tw_timer_handler arises when a timer is freed and subsequently accessed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v2.6.27 of the Linux Kernel and has been fixed in version v5.15.13. The specific commit that addresses this issue is 08eacbd141e2495d2fcdde84358a06c4f95cbb13.

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 workaround, if updating the Linux Kernel is not immediately feasible, it is recommended to implement strict network access controls and firewall rules to mitigate the risk of exploitation. Additionally, monitoring network traffic for any suspicious activity can help detect potential attacks targeting this vulnerability.

Conclusion

The use-after-free vulnerability in tw_timer_handler within the net package of the Linux Kernel can have severe security implications, potentially allowing arbitrary code execution or causing a denial-of-service (DoS) condition. It is crucial to update the Linux Kernel to version v5.15.13 or later to address this vulnerability. If you require further assistance or support in remediating this vulnerability, please reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The use-after-free vulnerability in tw_timer_handler can potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

You can use the Vulert Playground (https://vulert.com/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.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the fix promptly to prevent any potential exploitation.

Implementing strict network access controls and firewall rules can help mitigate the risk of exploitation. Additionally, monitoring network traffic for any suspicious activity can aid in detecting potential attacks targeting this vulnerability.

While updating the Linux Kernel is the recommended solution, implementing strict network access controls and firewall rules can provide temporary mitigation until the update can be applied.

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