Vulnerabilities

CVE-2022-49478

High 7.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-02-26
Last modified
2026-06-17
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 21 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel ≥ 2.6.18, < 4.9.318 Affected
Linux Linux Kernel ≥ 4.10, < 4.14.283 Affected
Linux Linux Kernel ≥ 4.15, < 4.19.247 Affected
Linux Linux Kernel ≥ 4.20, < 5.4.198 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.46 Affected
Linux Linux Kernel ≥ 5.16, < 5.17.14 Affected
Linux Linux Kernel ≥ 5.18, < 5.18.3 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.121 Affected

Weakness type

  • CWE-129: Improper Validation of Array Index

    The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities