Vulnerability in net/tls package of Linux Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001693: net/tls: fix slab-out-of-bounds bug in decrypt_internal. Affects Kernel versions >= f295b3ae9f5927e084bd5decdff82390e3471801, < 6e2f1b033b17dedda51d465861b69e58317d6343. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The net/tls package is a component of the Linux Kernel that provides Transport Layer Security (TLS) functionality for network communication. It is responsible for encrypting and decrypting data transmitted over the network to ensure secure communication. However, a vulnerability has been discovered in the package that can lead to a slab-out-of-bounds bug in the decrypt_internal function.

Vulnerability Detail

The slab-out-of-bounds bug in the decrypt_internal function of the net/tls package allows an attacker to access memory outside the boundaries of allocated slabs. This can potentially lead to information disclosure or even remote code execution. The vulnerability was introduced in version v5.2 of the Linux Kernel and has been fixed in version v5.15.34.

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, it is possible to disable the net/tls functionality in the Linux Kernel. This can be achieved by modifying the kernel configuration to exclude the net/tls module during the build process. However, this workaround may impact the secure communication capabilities of the system and should only be considered if updating the kernel is not immediately feasible.

Conclusion

The net/tls package in the Linux Kernel is vulnerable to a slab-out-of-bounds bug in the decrypt_internal function. This can lead to memory corruption, information disclosure, or remote code execution. It is crucial to update the Linux Kernel to version v5.15.34 or later to fix this vulnerability. If immediate kernel update is not possible, consider disabling the net/tls functionality as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net/tls package is a component of the Linux Kernel that provides Transport Layer Security (TLS) functionality for network communication. It ensures secure encryption and decryption of data transmitted over the network.

A slab-out-of-bounds bug refers to a situation where an application or component accesses memory outside the boundaries of allocated slabs. This can lead to memory corruption, information disclosure, or even remote code execution.

The vulnerability in the net/tls package can potentially allow an attacker to access sensitive information or execute arbitrary code on the affected system. This can lead to unauthorized access, data leakage, or system compromise.

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 playground will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there are no known public exploits for this vulnerability. However, it is important to apply the recommended fixes and keep the system up to date to mitigate any potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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