Vulnerability in ibmvnic: Release of napi in __ibmvnic_open()

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000514: ibmvnic: don't release napi in __ibmvnic_open(). Affects Kernel versions >= ed651a10875f13135a5f59c1bae4d51b377b3925, < e08cb9056fb2564d1f6bad789bdf79ab09bf2f81. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ibmvnic package is a component of the Linux Kernel ecosystem. It provides support for IBM Virtual NIC (ibmvnic) devices, which are used in IBM Power Systems. The ibmvnic driver allows these devices to communicate with the operating system and enables network connectivity for virtual machines running on IBM Power Systems. This vulnerability affects versions of the Linux Kernel starting from v4.12 and was fixed in v5.16.10.

Vulnerability Detail

The vulnerability in ibmvnic arises from a flaw in the __ibmvnic_open() function. In this function, the napi structure is released prematurely, leading to a use-after-free vulnerability. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in the Linux Kernel v4.12 and was fixed in v5.16.10 by commit e08cb9056fb2564d1f6bad789bdf79ab09bf2f81.

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 known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel to a version that includes the necessary patch.

Conclusion

The vulnerability in ibmvnic, which allowed premature release of the napi structure in the __ibmvnic_open() function, has been fixed in the Linux Kernel version v5.16.10. It is crucial to update the Linux Kernel to a version that includes the fix to mitigate the risk of exploitation. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ibmvnic is a component of the Linux Kernel that provides support for IBM Virtual NIC (ibmvnic) devices on IBM Power Systems. It enables network connectivity for virtual machines running on these systems.

The vulnerability in ibmvnic could allow an attacker to execute arbitrary code or cause a denial-of-service condition on a system running an affected version of the Linux Kernel.

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 to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

No, there is no known workaround for this vulnerability. It is crucial to apply the fix by updating the Linux Kernel to a version that includes the necessary patch.

The fix for this vulnerability can be found in the Linux Kernel version v5.16.10 or later. You can obtain the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compile it for your system.

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