Use-after-free vulnerability in net/tls package of Linux Kernel

Kernel Updated 02 Oct 2025

Summary

25/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000765: net/tls: Fix use-after-free after the TLS device goes down and up. Affects Kernel versions >= e8f69799810c32dd40c6724d829eccc70baad07f, < f1d4184f128dede82a59a841658ed40d4e6d3aa2. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing essential services. The net/tls package in the Linux Kernel is responsible for handling Transport Layer Security (TLS) connections. TLS is a cryptographic protocol used to secure communication over a network. The vulnerability in the net/tls package allows for a use-after-free condition to occur when the TLS device goes down and then comes back up. This vulnerability can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

Vulnerability Detail

The use-after-free vulnerability in the net/tls package of the Linux Kernel occurs when the TLS device is brought down and then reinitialized. This leads to a situation where a pointer to a freed memory location is still being used, potentially allowing an attacker to manipulate the memory and execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.10.43 by commit f1d4184f128dede82a59a841658ed40d4e6d3aa2.

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.10.43 or later. This can be done by downloading the latest stable version of the Linux Kernel from the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and following the installation instructions provided. Alternatively, users can check for updates using package managers specific to their Linux distribution.

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

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The use-after-free vulnerability in the net/tls package of the Linux Kernel can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. It is recommended to update the Linux Kernel to version v5.10.43 or later to fix this vulnerability. Users can also use the Vulert Playground to check if their system is affected by this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net/tls package in the Linux Kernel is responsible for handling Transport Layer Security (TLS) connections. TLS is a cryptographic protocol used to secure communication over a network.

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code.

The impact of this vulnerability can vary depending on the attacker's capabilities and the specific context in which it is exploited. It could 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 and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in addressing this vulnerability in your system.

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.10.43 or later. This can be done by downloading the latest stable version of the Linux Kernel from the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and following the installation instructions provided. Alternatively, users can check for updates using package managers specific to their Linux distribution.

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.