CVERadar
Edition used by more than 30,000 companies in more than 150 countries.
Sign Up For FreeCVE-2022-49478
Medium Severity|Linux
30
SVRS
7.8
CVSSv3
0.0027
EPSS
TAGSNo tags available
VECTOR STRING
CVSS:3.1AV:LAC:LPR:LUI:NS:UC:HI:HA:H
PUBLICATION DATE2025-02-26
LAST MODIFIED2025-10-01
Deep CVE Analysis in Progress
The system is currently conducting an in-depth analysis of the selected CVE. This includes advanced correlation, vulnerability classification, and cross-referencing with real-time threat intelligence sources. Once the analysis is complete, the page will automatically update with enriched vulnerability data and actionable insights.
Security Intelligence Brief
1. What is this vulnerability and why does it matter?
This vulnerability, identified as CVE-2022-49478, is an array-index-out-of-bounds error in the pvr2_i2c_core_init function within the pvrusb2 media driver in the Linux kernel. The issue arises because the hdw->unit_number variable is initialized to -1, and if an initialization table walk fails, this value remains unchanged. Subsequently, this unvalidated -1 is used as an array index, leading to an out-of-bounds memory access.
This vulnerability matters significantly because it affects the Linux kernel, a core component of many systems. An out-of-bounds access in kernel space can lead to severe consequences, including system crashes (Denial of Service), information disclosure, or potentially arbitrary code execution at the highest privilege level, thereby compromising the entire system.
This vulnerability matters significantly because it affects the Linux kernel, a core component of many systems. An out-of-bounds access in kernel space can lead to severe consequences, including system crashes (Denial of Service), information disclosure, or potentially arbitrary code execution at the highest privilege level, thereby compromising the entire system.
2. What are the CVSS score, severity level, and disclosure details?
The CVSS score for CVE-2022-49478 is 7.8.
Based on this score, the severity level is classified as High.
The disclosure details are as follows:
Based on this score, the severity level is classified as High.
The disclosure details are as follows:
- Published: 2025-02-26 02:13:19
- Modified: 2025-10-01 19:46:45
3. Which products, vendors, systems, and versions are affected?
- Product: Linux kernel
- Vendor: The Linux Foundation (as the maintainer of the Linux kernel)
- Systems: Any system running a vulnerable version of the Linux kernel, specifically those that include and utilize the pvrusb2 media driver.
- Versions: Specific affected kernel versions are not detailed in the provided data, but the vulnerability statement indicates it has been "resolved," implying that older, unpatched versions of the Linux kernel are affected. Users should update to the latest stable or patched kernel versions to ensure protection.
4. What is the technical root cause and attack vector?
The technical root cause is a missing validation check. The hdw->unit_number member is initialized to -1. If the subsequent initialization table walk fails, this member's value remains -1. Without proper validation, this -1 is then blindly used as an array index, leading to an array-index-out-of-bounds condition. This type of flaw is categorized under CWE-129 (Improper Neutralization of Null Byte or other Special Characters), as provided in the CVE data.
The attack vector likely requires an attacker to have local access to the system or to be able to interact with the pvrusb2 media driver. This could be achieved through a specially crafted input to a user-space application that interfaces with the driver, or by connecting a malicious USB device designed to trigger the vulnerable code path during its initialization.
The attack vector likely requires an attacker to have local access to the system or to be able to interact with the pvrusb2 media driver. This could be achieved through a specially crafted input to a user-space application that interfaces with the driver, or by connecting a malicious USB device designed to trigger the vulnerable code path during its initialization.
5. How can this vulnerability be exploited?
Exploitation of this vulnerability would typically involve an attacker crafting a scenario where the pvr2_i2c_core_init function is called, and the internal logic, specifically the "init table walk," is made to fail. This would leave the hdw->unit_number at its unvalidated -1 state. When this -1 is subsequently used as an array index, it causes an out-of-bounds memory access.
The potential outcomes of such an exploitation include:
The potential outcomes of such an exploitation include:
- Denial of Service (DoS): Causing a kernel panic or system crash due to invalid memory access.
- Information Disclosure: Reading arbitrary kernel memory outside the intended bounds, potentially revealing sensitive data.
- Privilege Escalation: In more sophisticated attacks, an out-of-bounds write could potentially overwrite critical kernel data structures or inject malicious code, leading to arbitrary code execution in kernel mode and full system compromise.
6. What mitigation steps and patches are available?
The primary mitigation step is to apply the available patch that resolves this vulnerability. The CVE description states that the vulnerability "has been resolved" in the Linux kernel. The fix involves:
- Adding a sanity check before hdw->unit_number is used as an array index.
- Moving the hdw->workpoll initialization to an earlier stage to prevent a warning.
7. How can vulnerable systems be detected?
To detect vulnerable systems, the following methods can be employed:
- Kernel Version Check: Determine the exact version of the Linux kernel running on target systems. Compare this against known patched versions (once distribution advisories are released).
- Driver Presence: Verify if the pvrusb2 media driver is compiled into the kernel or available as a loadable module on the system. If the driver is not present, the system might not be directly exploitable by this specific vulnerability, but updating the kernel remains best practice.
- Configuration Review: Examine kernel configuration files to confirm the inclusion status of the pvrusb2 driver.
- Vulnerability Scanners: Utilize enterprise vulnerability management tools (e.g., Nessus, OpenVAS, Qualys, etc.) that are updated with recent CVE definitions. These tools can identify systems running vulnerable kernel versions.
8. What are the indicators of compromise (IOCs)?
Given that this is a kernel-level vulnerability related to memory access, direct user-visible indicators of compromise might be challenging to detect unless the exploitation leads to overt system behavior. Potential IOCs include:
- System Crashes or Kernel Panics: Unexpected reboots or appearance of kernel panic messages in system logs, particularly if accompanied by stack traces mentioning the pvrusb2 module or memory access violations.
- Unusual System Instability: Erratic system behavior, unexplainable application crashes, or data corruption that cannot be attributed to other issues, especially after interaction with USB media devices.
- Log Analysis: Reviewing kernel logs (e.g., dmesg output, /var/log/kern.log, /var/log/syslog) for error messages, warnings, or anomalies related to memory management or the pvrusb2 driver during system operation or device attachment.
9. Which threat actors are known to exploit this vulnerability?
The provided CVE data does not name any specific threat actors known to exploit CVE-2022-49478. The vulnerability was reported by "Syzbot," which is an automated kernel testing tool, indicating a programmatic discovery rather than active exploitation by a specific group.
10. What public intelligence references and advisories exist?
The primary public intelligence reference for this vulnerability is:
- CVE Identifier: CVE-2022-49478
11. What is the risk assessment and urgency level?
Risk Assessment:
- Severity: High (CVSS v3.1 Base Score 7.8).
- Impact: The vulnerability can lead to kernel panic (Denial of Service), information disclosure, and potentially arbitrary code execution with kernel privileges, severely compromising system integrity and confidentiality.
- Prerequisites: Exploitation likely requires local access to the system or a method to trigger the vulnerable code path within the pvrusb2 driver, such as interacting with a specially crafted USB device.
- Scope: Affects a core component of widely deployed Linux-based systems.
Enhance Your CVE Management with SOCRadar Vulnerability Intelligence
Get comprehensive CVE details, real-time notifications, and proactive threat management all in one platform.
CREATE FREE ACCOUNTCVE Details
Access comprehensive CVE information instantly
Real-time Tracking
Subscribe to CVEs and get instant updates
Exploit Analysis
Monitor related APT groups and threats
IOC Tracking
Analyze and track CVE-related IOCs
CVE Radar
Real-time CVE Intelligence & Vulnerability Management Platform
CVE Radar provides comprehensive vulnerability intelligence by monitoring CVE databases, security advisories, and threat feeds. Get instant updates on new vulnerabilities, exploit details, and mitigation strategies specific to your assets.