af_netlink: Fix shift out of bounds in group mask calculation in Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002238: af_netlink: Fix shift out of bounds in group mask calculation. Affects Kernel versions >= f7fa9b10edbb9391bdd4ec8e8b3d621d0664b198, < 41249fff507387c3323b198d0052faed08b14de4. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a fundamental component of the Linux operating system that provides core services for managing system resources and facilitating communication between hardware and software. It is responsible for tasks such as memory management, process scheduling, and device drivers. The af_netlink module is a part of the Kernel's networking subsystem and is used for communication between user-space processes and the kernel. It allows processes to send and receive messages over Netlink sockets.

The vulnerability in af_netlink arises from a shift out of bounds in the group mask calculation. This can lead to unexpected behavior and potential security risks. The vulnerability was introduced in version v2.6.14 of the Linux Kernel and has been fixed in version v5.4.189.

Vulnerability Detail

The vulnerability in af_netlink is caused by a shift out of bounds in the group mask calculation. This means that when calculating the group mask, the shift operation exceeds the valid range, resulting in undefined behavior. An attacker could potentially exploit this vulnerability to manipulate the group mask and gain unauthorized access or perform other malicious actions.

The impact and attack plausibility of this vulnerability have not been proven yet, but it is important to address it to ensure the security and stability of the system.

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. The recommended approach is to update the Linux Kernel to the fixed version.

Conclusion

The af_netlink vulnerability in the Linux Kernel can be addressed by updating to version v5.4.189 or later. This will ensure that the shift out of bounds issue in the group mask calculation is fixed, protecting the system from potential exploits. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The af_netlink module is a part of the Linux Kernel's networking subsystem. It allows user-space processes to communicate with the kernel by sending and receiving messages over Netlink sockets.

The exact exploitation method for this vulnerability is not known. However, an attacker could potentially manipulate the group mask calculation to gain unauthorized access or perform other malicious actions.

The impact of this vulnerability is not yet proven. However, if successfully exploited, it could lead to unauthorized access, privilege escalation, or other security breaches.

Yes, this vulnerability has been fixed in Linux Kernel version v5.4.189. It is recommended to update the Kernel to this version or later to ensure the system is protected.

You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The vulnerability ID is GSD-2022-1002238.

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