Vulnerability in selinux: NULL-pointer dereference when hashtab allocation fails
Summary
GSD-2021-1002275: selinux: fix NULL-pointer dereference when hashtab allocation fails. Affects Kernel versions >= 03414a49ad5f3c56988c36d2070e402ffa17feaf, < b17dd53cac769dd13031b0ca34f90cc65e523fab. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.