Critical Vulnerability in Linux Kernel: Memory Allocation Issue in skmsg

linux Updated 02 Oct 2025

Summary

17/09/2025
N/A
Yes i
Unrated
Not published

CVE-2022-50363: In the Linux kernel, the following vulnerability has been resolved: skmsg: pass gfp argument to alloc_sk_msg() syzbot found that alloc_sk_msg() could be called from a non sleepable context. Affects linux versions < 6.0.6-1. Fixed in 6.0.6-1. 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 many operating systems, managing hardware resources and providing essential services for software applications. It is known for its stability, performance, and security features. However, vulnerabilities can arise, such as the one identified in this report, which affects the memory allocation process in the skmsg subsystem, potentially leading to system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability was discovered in the skmsg subsystem related to the alloc_sk_msg() function. This function could be invoked from a non-sleepable context, which is problematic as it requires a gfp_t argument for proper memory allocation. The issue was highlighted by a syzbot report indicating that a sleeping function was called from an invalid context, which could lead to system crashes or undefined behavior. The vulnerability is categorized under CVE-2022-50363 and affects multiple Debian versions of the Linux package.

How To Fix

Minimum fixed version

6.0.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate any risks associated with the vulnerability.

Conclusion

The vulnerability CVE-2022-50363 in the Linux kernel's skmsg subsystem poses significant risks to system stability and security. It is essential for users of affected Debian versions to update their systems to the patched version to ensure protection against potential exploitation. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50363 is a vulnerability in the Linux kernel's skmsg subsystem that can lead to memory allocation issues when called from a non-sleepable context.

This vulnerability can cause system instability, crashes, or undefined behavior due to improper memory allocation.

Debian versions 12, 13, and 14 are affected by this vulnerability in the Linux package.

You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json. Visit Vulert Scanner to check your application without needing to sign up.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.0.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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