# CVE-2022-49478: media: pvrusb2: fix array-index-out-of-bounds in pvr2\_i2c\_core\_init

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2025-02-26T02:13:19.330Z
- **Modified:** 2026-06-17T05:18:10.720Z

## Who should check

- Anyone running Linux \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 2e004fe914b243db41fa96f9e583385f360ea58e; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< a3660e06675bccec4bf149c7229ea1d491ba10d7; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 1310fc3538dcc375a2f46ef0a438512c2ca32827; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< a3304766d9384886e6d3092c776273526947a2e9; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 3309c2c574e13b21b44729f5bdbf21f60189b79a; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< f99a8b1ec0eddc2931aeaa4f490277a15b39f511; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 24e807541e4a9263ed928e6ae3498de3ad43bd1e; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 471bec68457aaf981add77b4f590d65dd7da1059
- Anyone running Linux 2.6.18

## 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 and fixed versions

- Linux: \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 2e004fe914b243db41fa96f9e583385f360ea58e; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< a3660e06675bccec4bf149c7229ea1d491ba10d7; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 1310fc3538dcc375a2f46ef0a438512c2ca32827; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< a3304766d9384886e6d3092c776273526947a2e9; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 3309c2c574e13b21b44729f5bdbf21f60189b79a; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< f99a8b1ec0eddc2931aeaa4f490277a15b39f511; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 24e807541e4a9263ed928e6ae3498de3ad43bd1e; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 471bec68457aaf981add77b4f590d65dd7da1059 (cvelist)
- Linux: 2.6.18 (cvelist)

## Mitigation

- Upgrade Linux to 471bec68457aaf981add77b4f590d65dd7da1059 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49478. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49478.md
Affected: Linux >= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, < 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67; >= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, < 2e004fe914b243db41fa96f9e583385f360ea58e; >= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, < a3660e06675bccec4bf149c7229ea1d491ba10d7; >= d855497edbfbf9e19a17f4a…
Fixed in: Linux 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67, Linux 2e004fe914b243db41fa96f9e583385f360ea58e, Linux 1310fc3538dcc375a2f46ef0a438512c2ca32827, Linux 3309c2c574e13b21b44729f5bdbf21f60189b79a, Linux 24e807541e4a9263ed928e6ae3498de3ad43bd1e, Linux 471bec68457aaf981add77b4f590d65dd7da1059

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49478 being exploited?

There is no confirmed exploitation: CVE-2022-49478 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49478?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49478?

Linux \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 2e004fe914b243db41fa96f9e583385f360ea58e; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< a3660e06675bccec4bf149c7229ea1d491ba10d7; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 1310fc3538dcc375a2f46ef0a438512c2ca32827; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< a3304766d9384886e6d3092c776273526947a2e9; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 3309c2c574e13b21b44729f5bdbf21f60189b79a; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< f99a8b1ec0eddc2931aeaa4f490277a15b39f511; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 24e807541e4a9263ed928e6ae3498de3ad43bd1e; \>= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, \< 471bec68457aaf981add77b4f590d65dd7da1059; Linux 2.6.18.

### Is there a fix for CVE-2022-49478?

Yes. Fixed in Linux 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67, Linux 2e004fe914b243db41fa96f9e583385f360ea58e, Linux 1310fc3538dcc375a2f46ef0a438512c2ca32827, Linux 3309c2c574e13b21b44729f5bdbf21f60189b79a, Linux 24e807541e4a9263ed928e6ae3498de3ad43bd1e, Linux 471bec68457aaf981add77b4f590d65dd7da1059. Upgrade Linux to 471bec68457aaf981add77b4f590d65dd7da1059 or later.

### How do I check if I'm affected by CVE-2022-49478?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4351bfe36aba9fa7dc9d68d498d25d41a0f45e67>
- patch: <https://git.kernel.org/stable/c/2e004fe914b243db41fa96f9e583385f360ea58e>
- patch: <https://git.kernel.org/stable/c/a3660e06675bccec4bf149c7229ea1d491ba10d7>
- patch: <https://git.kernel.org/stable/c/1310fc3538dcc375a2f46ef0a438512c2ca32827>
- patch: <https://git.kernel.org/stable/c/a3304766d9384886e6d3092c776273526947a2e9>
- patch: <https://git.kernel.org/stable/c/3309c2c574e13b21b44729f5bdbf21f60189b79a>
- patch: <https://git.kernel.org/stable/c/f99a8b1ec0eddc2931aeaa4f490277a15b39f511>
- patch: <https://git.kernel.org/stable/c/24e807541e4a9263ed928e6ae3498de3ad43bd1e>
- patch: <https://git.kernel.org/stable/c/471bec68457aaf981add77b4f590d65dd7da1059>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49478>

HTML: <https://flawdb.com/CVE-2022-49478> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49478>
