CVE-2022-49478
media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init
Check your servers for CVE-2022-49478
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49478 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-129 Improper Validation of Array Index
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before 4351bfe36aba9fa7dc9d68d498d25d41a0f45e67 affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before 2e004fe914b243db41fa96f9e583385f360ea58e affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before a3660e06675bccec4bf149c7229ea1d491ba10d7 affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before 1310fc3538dcc375a2f46ef0a438512c2ca32827 affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before a3304766d9384886e6d3092c776273526947a2e9 affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before 3309c2c574e13b21b44729f5bdbf21f60189b79a affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before f99a8b1ec0eddc2931aeaa4f490277a15b39f511 affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before 24e807541e4a9263ed928e6ae3498de3ad43bd1e affected from d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, before 471bec68457aaf981add77b4f590d65dd7da1059
Other versions: unaffected
|
| Linux |
affected 2.6.18 unaffected before 2.6.18 unaffected from 4.9.318 up to and including 4.9.* unaffected from 4.14.283 up to and including 4.14.* unaffected from 4.19.247 up to and including 4.19.* unaffected from 5.4.198 up to and including 5.4.* unaffected from 5.10.121 up to and including 5.10.* unaffected from 5.15.46 up to and including 5.15.* unaffected from 5.17.14 up to and including 5.17.* unaffected from 5.18.3 up to and including 5.18.* unaffected 5.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49478 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49478
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49478
trivy image --scanners vuln IMAGE | grep CVE-2022-49478
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4351bfe36aba9fa7dc9d68d498d25d41a0f45e67 git.kernel.org
- https://git.kernel.org/stable/c/2e004fe914b243db41fa96f9e583385f360ea58e git.kernel.org
- https://git.kernel.org/stable/c/a3660e06675bccec4bf149c7229ea1d491ba10d7 git.kernel.org
- https://git.kernel.org/stable/c/1310fc3538dcc375a2f46ef0a438512c2ca32827 git.kernel.org
- https://git.kernel.org/stable/c/a3304766d9384886e6d3092c776273526947a2e9 git.kernel.org
- https://git.kernel.org/stable/c/3309c2c574e13b21b44729f5bdbf21f60189b79a git.kernel.org
- https://git.kernel.org/stable/c/f99a8b1ec0eddc2931aeaa4f490277a15b39f511 git.kernel.org
- https://git.kernel.org/stable/c/24e807541e4a9263ed928e6ae3498de3ad43bd1e git.kernel.org
- https://git.kernel.org/stable/c/471bec68457aaf981add77b4f590d65dd7da1059 git.kernel.org
Source: the record CVE-2022-49478 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse