net/tls: Fix tls_sk_proto_close Executed Repeatedly in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004744: net/tls: fix tls_sk_proto_close executed repeatedly. Affects Kernel versions >= 95fa145479fbc0a0c1fd3274ceb42ec03c042a4a, < 05c6c36c79311d9a00a79f88647f83a7cf009624. 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 the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The net/tls module in the Linux Kernel provides support for Transport Layer Security (TLS) protocol, enabling secure communication over network connections. However, a vulnerability has been discovered in the net/tls module that allows the tls_sk_proto_close function to be executed repeatedly, leading to potential security issues.

Vulnerability Detail

The vulnerability in the net/tls module arises from the tls_sk_proto_close function being executed multiple times. This can result in various security implications, such as resource exhaustion, memory corruption, or privilege escalation. Attackers may be able to exploit this vulnerability to crash the system, execute arbitrary code, or gain elevated privileges. The vulnerability was introduced in Linux Kernel version 5.3 and has been fixed in version 5.4.202.

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

There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk.

Conclusion

The net/tls module in the Linux Kernel is vulnerable to a flaw that allows the tls_sk_proto_close function to be executed repeatedly. This can have severe security implications, including resource exhaustion, memory corruption, and privilege escalation. To mitigate the risk, it is essential to update the Linux Kernel to version 5.4.202 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net/tls module in the Linux Kernel provides support for Transport Layer Security (TLS) protocol, enabling secure communication over network connections.

The vulnerability allows the tls_sk_proto_close function to be executed repeatedly, potentially leading to resource exhaustion, memory corruption, or privilege escalation. Attackers may exploit this vulnerability to crash the system, execute arbitrary code, or gain elevated privileges.

The vulnerability was introduced in Linux Kernel version 5.3 and has been fixed in version 5.4.202.

To fix this vulnerability, update the Linux Kernel to version 5.4.202 or later. Download the latest kernel source code from the official Linux Kernel repository and compile it for your system, or check for available updates in your Linux distribution's package manager.

There is no known workaround for this vulnerability. It is crucial to update the Linux Kernel to the fixed version.

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