Vulnerability in xen/xenbus package: Removal of Grants in Error Case

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000758: xen/xenbus: don't let xenbus_grant_ring() remove grants in error case. Affects Kernel versions < 66cb2bbb522b0d5e4f6a11558ff7bfdf3f7d31f3. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The xen/xenbus package is a component of the Linux Kernel ecosystem. It provides a mechanism for communication between the Xen hypervisor and guest domains. The package allows guest domains to request resources from the hypervisor and share information. The xenbus_grant_ring() function is responsible for granting access to shared memory rings between the hypervisor and guest domains. However, a vulnerability has been discovered in this function that could lead to the unintended removal of grants in an error case.

Vulnerability Detail

The vulnerability in xen/xenbus arises from the xenbus_grant_ring() function, which incorrectly removes grants in an error case. This can result in the loss of shared memory rings between the hypervisor and guest domains. An attacker could potentially exploit this vulnerability to disrupt communication between the hypervisor and guest domains, leading to denial of service or other security implications. The vulnerability has been fixed in Linux Kernel version v5.15.28 by commit 66cb2bbb522b0d5e4f6a11558ff7bfdf3f7d31f3.

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.

Conclusion

In conclusion, the xen/xenbus package in the Linux Kernel is vulnerable to a flaw that can result in the unintended removal of grants in an error case. This can disrupt communication between the hypervisor and guest domains, leading to potential denial of service or other security implications. It is recommended to update the Linux Kernel to version v5.15.28 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to the loss of shared memory rings between the hypervisor and guest domains, potentially disrupting communication and causing denial of service or other security implications.

At the time of this report, there is no known exploit for this vulnerability. However, it is advisable to apply the recommended fix to mitigate any potential risks.

The vulnerability is present in versions of the xen/xenbus package prior to Linux Kernel v5.15.28. It has been fixed in this version and subsequent releases.

The recommended fix for this vulnerability is to update the Linux Kernel to version v5.15.28 or later. While there may be alternative mitigation measures, updating the kernel is the most effective way to address the vulnerability.

More information about the fix can be found in the commit 66cb2bbb522b0d5e4f6a11558ff7bfdf3f7d31f3 in the official Linux Kernel repository. The vulnerability details are available in the Open Source Vulnerability database with ID GSD-2022-1000758.

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