Array Index Out-of-Bounds Vulnerability in media: pvrusb2

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003091: media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init. Affects Kernel versions >= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, < f99a8b1ec0eddc2931aeaa4f490277a15b39f511. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The media package in the Linux Kernel provides support for various media devices, including video capture cards. One such device is pvrusb2, which is used for capturing video from Pinnacle PCTV USB devices. The pvrusb2 driver in the media package handles the initialization of the I2C subsystem for these devices. However, a vulnerability exists in the pvr2_i2c_core_init function, which can lead to an array index out-of-bounds error.

Vulnerability Detail

The array index out-of-bounds vulnerability in pvr2_i2c_core_init occurs when accessing an array without proper bounds checking. An attacker could exploit this vulnerability by sending specially crafted input to the affected system, potentially leading to memory corruption or arbitrary code execution. The impact of this vulnerability depends on the attacker's ability to trigger the vulnerable code path and the system's overall security posture.

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 disable or unload the pvrusb2 driver if it is not required for their system. This can be done by executing the following command as root:

modprobe -r pvrusb2

However, this workaround should only be considered temporary, as it may impact the functionality of Pinnacle PCTV USB devices.

Conclusion

In conclusion, the media package in the Linux Kernel is vulnerable to an array index out-of-bounds issue in the pvr2_i2c_core_init function. This vulnerability can be mitigated by updating to Linux Kernel version v5.17.14 or later. Users can also consider temporarily disabling the pvrusb2 driver, although this may impact the functionality of Pinnacle PCTV USB devices. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability depends on the attacker's ability to trigger the vulnerable code path and the system's overall security posture. It could potentially lead to memory corruption or arbitrary code execution.

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 for any open-source vulnerabilities, including this one.

Yes, a patch for this vulnerability is available in the Linux Kernel version v5.17.14. It is recommended to update to this version or later to fix the vulnerability.

Yes, you can disable or unload the pvrusb2 driver as a temporary workaround. However, this may impact the functionality of Pinnacle PCTV USB devices.

You can obtain the updated Linux Kernel from the official Linux Kernel repository or your respective Linux distribution's package manager. Make sure to update to version v5.17.14 or later.

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