CVE-2022-49478

media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init

HIGH
7.8
CVSS Score
Published: February 26, 2025 at 02:13 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.18 ≤ v < 4.14.2832.6.18 ≤ v < 4.19.2472.6.18 ≤ v < 4.9.3182.6.18 ≤ v < 5.10.1212.6.18 ≤ v < 5.15.462.6.18 ≤ v < 5.17.142.6.18 ≤ v < 5.18.32.6.18 ≤ v < 5.192.6.18 ≤ v < 5.4.1984.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1212.6.18d855497edbfbf9e19a17f4a1154bca69cb4bd9ba
Vendor states this is fixed in 1310fc3538dcc375a2f46ef0a438512c2ca32827 (fixed)
Vendor states this is fixed in 24e807541e4a9263ed928e6ae3498de3ad43bd1e (fixed)
Vendor states this is fixed in 2e004fe914b243db41fa96f9e583385f360ea58e (fixed)
Vendor states this is fixed in 3309c2c574e13b21b44729f5bdbf21f60189b79a (fixed)
Vendor states this is fixed in 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67 (fixed)
Vendor states this is fixed in 471bec68457aaf981add77b4f590d65dd7da1059 (fixed)
Vendor states this is fixed in a3304766d9384886e6d3092c776273526947a2e9 (fixed)
Vendor states this is fixed in a3660e06675bccec4bf149c7229ea1d491ba10d7 (fixed)
Vendor states this is fixed in f99a8b1ec0eddc2931aeaa4f490277a15b39f511 (fixed)
Vendor states this is fixed in 2.6.18 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1310fc3538dcc375a2f46ef0a438512c2ca32827
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24e807541e4a9263ed928e6ae3498de3ad43bd1e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e004fe914b243db41fa96f9e583385f360ea58e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3309c2c574e13b21b44729f5bdbf21f60189b79a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4351bfe36aba9fa7dc9d68d498d25d41a0f45e67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/471bec68457aaf981add77b4f590d65dd7da1059
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a3304766d9384886e6d3092c776273526947a2e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a3660e06675bccec4bf149c7229ea1d491ba10d7

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-129

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card