Vulnerability in selinux: NULL-pointer dereference when hashtab allocation fails

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002275: selinux: fix NULL-pointer dereference when hashtab allocation fails. Affects Kernel versions >= 03414a49ad5f3c56988c36d2070e402ffa17feaf, < b17dd53cac769dd13031b0ca34f90cc65e523fab. 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 in the Linux Kernel that provides access control security policies. It is responsible for enforcing mandatory access control (MAC) policies, which restrict the actions that processes can perform on various system resources. The vulnerability in selinux arises when there is a failure in the allocation of the hashtab data structure, leading to a NULL-pointer dereference.

Vulnerability Detail

The vulnerability occurs when the hashtab allocation fails in selinux. This can be exploited by an attacker to cause a NULL-pointer dereference, resulting in a system crash or potential privilege escalation. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.10.82 by commit b17dd53cac769dd13031b0ca34f90cc65e523fab.

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.

Conclusion

The vulnerability in selinux that causes a NULL-pointer dereference when hashtab allocation fails can be fixed by updating the Linux Kernel to version v5.10.82 or later. It is recommended to follow the provided steps to update the Kernel and mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

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

A NULL-pointer dereference occurs when a program attempts to access or manipulate memory using a NULL pointer, resulting in a crash or potential security vulnerability.

This vulnerability can be exploited by an attacker to cause a NULL-pointer dereference, potentially leading to a system crash or privilege escalation.

This vulnerability was introduced in version v5.8 of the Linux Kernel.

Yes, this vulnerability has been fixed in version v5.10.82 of the Linux Kernel.

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