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-1000021: net: fix use-after-free in tw_timer_handler. Affects Kernel versions >= 61a7e26028b94805fd686a6dc9dbd9941f8f19b0, < a8e1944b44f94f5c5f530e434c5eaee787254566. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The net package is a crucial component of the Linux Kernel, responsible for handling network-related operations. It provides various functionalities and protocols for networking, including TCP/IP stack implementation. The tw_timer_handler function is a part of the net package and is responsible for handling timer events related to TCP connections in the TIME_WAIT state.

Vulnerability Detail

The vulnerability identified in the net package is a use-after-free issue in the tw_timer_handler function. This vulnerability occurs when the function attempts to access memory that has already been freed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet.

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

No specific workaround has been mentioned for this vulnerability.

Conclusion

The use-after-free vulnerability in the net package's tw_timer_handler function can potentially lead to arbitrary code execution or denial-of-service conditions. It is crucial to update the Linux Kernel to version v4.19.224 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net package in the Linux Kernel is responsible for handling network-related operations and provides functionalities and protocols for networking, including TCP/IP stack implementation.

The tw_timer_handler function is a part of the net package in the Linux Kernel and is responsible for handling timer events related to TCP connections in the TIME_WAIT state.

A use-after-free vulnerability occurs when a program attempts to access memory that has already been freed. This can lead to various security issues, including arbitrary code execution or denial-of-service conditions.

The potential impacts of this vulnerability include arbitrary code execution or denial-of-service conditions. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.224 or later, which includes the necessary fix for the use-after-free issue in tw_timer_handler.

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