af_netlink: Fix shift out of bounds in group mask calculation in Kernel
Summary
GSD-2022-1002075: af_netlink: Fix shift out of bounds in group mask calculation. Affects Kernel versions >= f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198, < b0898362188e05b2202656058cc32d98fabf3bac. 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 Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionality for the proper functioning of the system. The af_netlink module is responsible for handling netlink sockets, which are used for communication between the kernel and user-space processes. This vulnerability affects the af_netlink module in the Kernel.
Vulnerability Detail
The vulnerability in the af_netlink module arises from a shift out of bounds in the group mask calculation. This issue can potentially be exploited by an attacker to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v2.6.14 of the Kernel and has been fixed in version v5.10.110 by commit b0898362188e05b2202656058cc32d98fabf3bac.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Kernel to version v5.10.110 or later. This can be done by obtaining the latest version of the Kernel source code from the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to update the Kernel to the fixed version as soon as possible.
Conclusion
The af_netlink vulnerability in the Kernel can lead to arbitrary code execution or denial of service. It is crucial to update the Kernel to version v5.10.110 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial of service.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and it will provide real-time alerts for open-source vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.
Yes, this vulnerability can be exploited remotely if the affected system is exposed to malicious network traffic.
No specific prerequisites are known for exploiting this vulnerability. However, an attacker would need to have the ability to send malicious netlink messages to the affected system.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.