Vulnerability in selinux: fix sleeping function called from invalid context

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002756: selinux: fix sleeping function called from invalid context. Affects Kernel versions >= 69c4a42d72eb9b41e1c6e4bc9ab7f3650bf35f62, < d1bac0d97bc9b18b7c077a66375cc4282d01c367. 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 selinux package is a security module in the Linux Kernel that provides access control security policies. It enforces mandatory access control policies, restricting the actions that processes can perform based on defined rules. This vulnerability affects the selinux package in the Linux Kernel.

Vulnerability Detail

The vulnerability in selinux involves a sleeping function being called from an invalid context. This can lead to various security issues, including potential privilege escalation or denial of service attacks. The vulnerability was introduced in version v5.13 of the Linux Kernel and was fixed in version v5.15.11 by commit d1bac0d97bc9b18b7c077a66375cc4282d01c367.

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.15.11 or later. This can be done by pulling the latest changes from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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

Workaround

No specific workaround has been provided for this vulnerability.

Conclusion

In conclusion, the selinux package in the Linux Kernel is vulnerable to a sleeping function being called from an invalid context. This can have serious security implications, including potential privilege escalation or denial of service attacks. It is recommended to update the Linux Kernel to version v5.15.11 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Selinux is a security module in the Linux Kernel that enforces mandatory access control policies.

The vulnerability can potentially lead to privilege escalation or denial of service attacks.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability.

Yes, the vulnerability has been fixed in Linux Kernel version v5.15.11.

You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002756.json

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.15.11 or later. This can be done by pulling the latest changes from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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.