CVE-2022-49478 Details
Description
In the Linux kernel, the following vulnerability has been resolved: media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init Syzbot reported that -1 is used as array index. The problem was in missing validation check. hdw->unit_number is initialized with -1 and then if init table walk fails this value remains unchanged. Since code blindly uses this member for array indexing adding sanity check is the easiest fix for that. hdw->workpoll initialization moved upper to prevent warning in __flush_work.
An array index out-of-bounds vulnerability has been identified in the Linux kernel's pvrusb2 media driver. The issue arises because the unit_number is initialized to -1 and, if the initialization table walk fails, this value remains unchanged. The code then uses this unvalidated value for array indexing, leading to potential out-of-bounds access. The vulnerability was reported by Syzbot.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1310fc3538dcc375a2f46ef0a438512c2ca32827 | kernel.org | Patch |
| https://git.kernel.org/stable/c/24e807541e4a9263ed928e6ae3498de3ad43bd1e | kernel.org | Patch |
| https://git.kernel.org/stable/c/2e004fe914b243db41fa96f9e583385f360ea58e | kernel.org | Patch |
| https://git.kernel.org/stable/c/3309c2c574e13b21b44729f5bdbf21f60189b79a | kernel.org | Patch |
| https://git.kernel.org/stable/c/4351bfe36aba9fa7dc9d68d498d25d41a0f45e67 | kernel.org | Patch |
| https://git.kernel.org/stable/c/471bec68457aaf981add77b4f590d65dd7da1059 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a3304766d9384886e6d3092c776273526947a2e9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a3660e06675bccec4bf149c7229ea1d491ba10d7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f99a8b1ec0eddc2931aeaa4f490277a15b39f511 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-129 | Improper Validation of Array Index | [email protected] |
| CWE-129 | Improper Validation of Array Index | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.18, < 4.9.318 >= 4.10, < 4.14.283 >= 4.15, < 4.19.247 >= 4.20, < 5.4.198 >= 5.5, < 5.10.121 >= 5.11, < 5.15.46 >= 5.16, < 5.17.14 >= 5.18, < 5.18.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 17, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |