Vulnerability in liquidio package: Fix unintented sign extension of a left shift of a u16

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000426: liquidio: Fix unintented sign extension of a left shift of a u16. Affects Kernel versions >= 5bc67f587ba7eaa8dd3976bfeff8f2b60718c871, < 440fead0fc81192d2f893e238378574f6d9fb3c3. 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 liquidio package is a component of the Linux Kernel, which is responsible for managing network interfaces and providing networking capabilities to the operating system. It includes drivers and modules for various network devices. The vulnerability in the liquidio package arises from an unintended sign extension of a left shift operation on a 16-bit unsigned integer (u16).

Vulnerability Detail

The vulnerability occurs due to a coding error in the liquidio package, specifically in the handling of left shift operations on a u16 variable. The error results in an unintended sign extension, which can lead to unexpected behavior and potential security vulnerabilities. Attackers may be able to exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The vulnerability was introduced in version v4.9 of the Linux Kernel and has been fixed in version v5.4.119.

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

As a workaround, users can apply a patch provided by the Linux Kernel community. The patch modifies the affected code to ensure that the left shift operation on the u16 variable does not result in sign extension. Here is an example of the patch:

-    variable = (u16 << shift);
+    variable = (u16 << shift) & 0xFFFF;

Conclusion

The vulnerability in the liquidio package, which is part of the Linux Kernel, can lead to potential security risks if left unaddressed. It is crucial to update the Linux Kernel to version v5.4.119 or later to fix this vulnerability. In the meantime, users can apply the provided workaround patch to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow attackers to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.

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 the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the necessary fixes to mitigate any potential risks.

Yes, you can apply the provided workaround patch to mitigate the vulnerability until an official fix is available. However, it is still recommended to update to the fixed version of the Linux Kernel as soon as possible.

You can find more information about this vulnerability in the official GitHub repository of the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000426.json).

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