Vulnerability in Kernel: Fix masking negation logic upon negative dst register

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000089: bpf: Fix masking negation logic upon negative dst register. Affects Kernel versions >= 979d63d50c0c0f7bc537bf821e056cc9fe5abd38, < 7cf64d8679ca1cb20cf57d6a88bfee79a0922a66. 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 Your last release was probably never penetration tested 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 critical component of the Linux operating system that provides core functionalities and acts as a bridge between hardware and software. It manages system resources, facilitates communication between software and hardware components, and ensures the overall stability and security of the system. The vulnerability in question affects the Kernel's handling of masking negation logic upon a negative destination (dst) register.

Vulnerability Detail

The vulnerability arises from a flaw in the masking negation logic when dealing with a negative dst register in the Kernel. This flaw could potentially be exploited by an attacker to execute arbitrary code or escalate privileges on a vulnerable system. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in the Linux Kernel version v5.12.2 by commit 7cf64d8679ca1cb20cf57d6a88bfee79a0922a66. However, it was introduced in version v5.0 by commit 979d63d50c0c0f7bc537bf821e056cc9fe5abd38.

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

No specific workaround has been mentioned for this vulnerability.

Conclusion

The vulnerability in the Kernel's masking negation logic upon a negative dst register has the potential to be exploited by attackers. It is crucial to update the Linux Kernel to version v5.12.2 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionalities and acts as a bridge between hardware and software.

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or escalate privileges on a vulnerable system.

Yes, this vulnerability has been fixed in the Linux Kernel version v5.12.2 by commit 7cf64d8679ca1cb20cf57d6a88bfee79a0922a66.

To update the Linux Kernel, you can obtain the updated source code from the official Linux Kernel repository and compile it according to the provided instructions.

No specific workaround has been mentioned for this vulnerability.

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