Double Free of cond_list in selinux Package

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000214: selinux: fix double free of cond_list on error paths. Affects Kernel versions < f446089a268c8fc6908488e991d28a9b936293db. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The selinux package is a security module for the Linux kernel that provides access control security policies. It enforces mandatory access control policies that restrict user and process access to resources based on defined rules. The package is an integral part of the Linux kernel and is responsible for enforcing security policies related to SELinux (Security-Enhanced Linux).

Vulnerability Detail

The vulnerability in the selinux package involves a double free of the cond_list variable on error paths. This vulnerability can be exploited by an attacker to cause a denial-of-service condition or potentially execute arbitrary code. The double free occurs when certain error conditions are encountered during the execution of the package, leading to the freeing of the same memory location multiple times. This can result in memory corruption and potentially allow an attacker to gain unauthorized access or disrupt the system's normal operation.

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 available for this vulnerability. The recommended approach is to update the Linux kernel to the fixed version.

Conclusion

The double free vulnerability in the selinux package can have serious security implications, potentially leading to a denial-of-service condition or arbitrary code execution. It is crucial to update the Linux kernel to the fixed version to mitigate this vulnerability and ensure the system's security. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially lead to a denial-of-service condition or allow an attacker to execute arbitrary code. It can also result in memory corruption, which may lead to unauthorized access or disruption of the system's normal operation.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the recommended fix to ensure the system is protected against potential exploitation.

No, the recommended approach is to update the Linux kernel to the fixed version. There is no specific workaround available for this vulnerability.

You can refer to the vulnerability details in the Open Source Vulnerability format provided by the Cloud Security Alliance's GSD database. The details include the vulnerability ID, affected package, fix version, and references for further information.

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