Boundary Check Missing in vm_access in drm/i915/gem

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001282: drm/i915/gem: add missing boundary check in vm_access. Affects Kernel versions >= 9f909e215fea0652023b9ed09d3d7bfe10386423, < 8f0ebea8f6e8c474264ed97d7a64c9c09ed4f5aa. 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 drm/i915/gem package is a component of the Linux Kernel that provides support for Intel integrated graphics devices. It includes various features and functionalities related to graphics memory management, including the vm_access function. This function is responsible for handling access to the virtual memory of the graphics device. However, a vulnerability has been identified in the implementation of vm_access, where a missing boundary check can lead to potential security issues.

Vulnerability Detail

The vulnerability in drm/i915/gem arises from a missing boundary check in the vm_access function. This issue allows an attacker to access memory beyond the intended boundaries, potentially leading to information disclosure or privilege escalation. By exploiting this vulnerability, an attacker could gain unauthorized access to sensitive data or execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.17.2.

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 that addresses the missing boundary check in the vm_access function. The patch can be obtained from the official Linux Kernel repository and applied to the affected system. However, it is strongly recommended to update to the latest version of the Kernel to ensure comprehensive vulnerability mitigation.

Conclusion

In conclusion, the vulnerability in drm/i915/gem due to the missing boundary check in the vm_access function can lead to potential security risks, including information disclosure and privilege escalation. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate this vulnerability. Applying the provided patch or using Vulert's playground can help assess the impact on your system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability allows an attacker to access memory beyond the intended boundaries, potentially leading to information disclosure or privilege escalation. This can result in unauthorized access to sensitive data or the execution of arbitrary code with elevated privileges.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert analyzes the manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities in the software.

Yes, a patch addressing the missing boundary check in the vm_access function is available. However, it is recommended to update to the latest version of the Linux Kernel for comprehensive vulnerability mitigation.

You can refer to the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) for more information about the fix. The commit 8f0ebea8f6e8c474264ed97d7a64c9c09ed4f5aa in version v5.17.2 addresses this vulnerability.

To update the Linux Kernel, you need to obtain the latest version of the Kernel source code from the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compile it according to the provided instructions. Once the updated Kernel is installed, the vulnerability will be mitigated.

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