Memory Leak in sk_psock_queue_msg in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001206: bpf, sockmap: Fix memleak in sk_psock_queue_msg. Affects Kernel versions >= 9635720b7c88592214562cb72605bdab6708006c, < 03948ed6553960db62f1c33bec29e64d7c191a3f. 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 Kernel is a critical component of the Linux operating system that provides core functionalities and manages system resources. It acts as an interface between the hardware and software layers, allowing applications to communicate with the underlying hardware. The sk_psock_queue_msg function is responsible for queuing messages in the socket map subsystem. This vulnerability in the function can lead to a memory leak, causing a gradual depletion of available memory resources.

Vulnerability Detail

The vulnerability arises due to a memory leak in the sk_psock_queue_msg function of the Kernel. When messages are queued in the socket map subsystem, memory is allocated to store these messages. However, due to an error in the code, this memory is not properly deallocated after the messages are processed, resulting in a memory leak. Over time, this can lead to a significant depletion of available memory, potentially causing system instability or denial of service.

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 specific workaround mentioned for this vulnerability. The recommended approach is to update the Kernel to the fixed version.

Conclusion

In conclusion, the memory leak vulnerability in the sk_psock_queue_msg function of the Kernel can lead to a gradual depletion of available memory resources. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.17.2 or later. This will ensure proper deallocation of memory and prevent any potential memory leaks. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a memory leak, causing a gradual depletion of available memory resources. This can result in system instability or denial of service.

You can check if your system is affected by this vulnerability by verifying the version of the Linux Kernel installed. If the version is earlier than v5.17.2, your system may be vulnerable.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to promptly update the Kernel to the fixed version to mitigate any potential risks.

This vulnerability does not have a specific remote exploitation vector mentioned. However, it is always recommended to keep the Kernel up to date to protect against potential remote attacks.

For more details about this vulnerability, you can refer to the provided references link. It contains information about the specific commits in the Linux Kernel repository that address this issue.

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