Vulnerability in Kernel Package: bpf: 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-1000184: bpf: Fix masking negation logic upon negative dst register. Affects Kernel versions >= 979d63d50c0c0f7bc537bf821e056cc9fe5abd38, < 53e0db429b37a32b8fc706d0d90eb4583ad13848. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel package is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It is responsible for managing system resources, including memory, processes, and input/output operations. The bpf (Berkeley Packet Filter) subsystem within the Kernel allows for efficient packet filtering and processing. This vulnerability specifically affects the masking negation logic when a negative destination (dst) register is encountered.

Vulnerability Detail

The vulnerability arises from an issue in the bpf subsystem's handling of negative dst registers. When a negative dst register is encountered, the masking negation logic is not properly applied, leading to potential security vulnerabilities. The impact and attack plausibility of this vulnerability have not been proven yet. However, if exploited, an attacker could potentially bypass certain security mechanisms or execute arbitrary code within the Kernel context. This vulnerability was introduced in version v5.0 of the Linux Kernel and has been fixed in version v5.4.117.

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 workaround has been provided for this vulnerability.

Conclusion

In conclusion, the Kernel package in Linux is vulnerable to a masking negation logic issue in the bpf subsystem when encountering negative dst registers. This vulnerability could potentially be exploited to bypass security mechanisms or execute arbitrary code within the Kernel context. It is crucial to update the Linux Kernel package to version v5.4.117 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but if exploited, it could potentially allow an attacker to bypass security mechanisms or execute arbitrary code within the Kernel context.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time.

No workaround has been provided for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel package.

This vulnerability affects versions v5.0 to v5.4.116 of the Linux Kernel.

You can find more information about this vulnerability in the GSD-2021-1000184 entry of the GSD Database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000184.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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