{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49478","id":"CVE-2022-49478","title":"media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init\n\nSyzbot reported that -1 is used as array index. The problem was in\nmissing validation check.\n\nhdw->unit_number is initialized with -1 and then if init table walk fails\nthis value remains unchanged. Since code blindly uses this member for\narray indexing adding sa","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init\n\nSyzbot reported that -1 is used as array index. The problem was in\nmissing validation check.\n\nhdw->unit_number is initialized with -1 and then if init table walk fails\nthis value remains unchanged. Since code blindly uses this member for\narray indexing adding sanity check is the easiest fix for that.\n\nhdw->workpoll initialization moved upper to prevent warning in\n__flush_work.","published":"2025-02-26T02:13:19.330Z","updated":"2026-10-28T02:30:48.994023682Z","reserved":"2025-02-26T02:08:31.581Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"4351bfe36aba9fa7dc9d68d498d25d41a0f45e67","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"2e004fe914b243db41fa96f9e583385f360ea58e","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"a3660e06675bccec4bf149c7229ea1d491ba10d7","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"1310fc3538dcc375a2f46ef0a438512c2ca32827","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"a3304766d9384886e6d3092c776273526947a2e9","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"3309c2c574e13b21b44729f5bdbf21f60189b79a","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"f99a8b1ec0eddc2931aeaa4f490277a15b39f511","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"24e807541e4a9263ed928e6ae3498de3ad43bd1e","status":"affected","versionType":"git"},{"version":"d855497edbfbf9e19a17f4a1154bca69cb4bd9ba","lessThan":"471bec68457aaf981add77b4f590d65dd7da1059","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.18","status":"affected"},{"version":"0","lessThan":"2.6.18","status":"unaffected","versionType":"semver"},{"version":"4.9.318","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.283","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.247","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.198","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.121","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.46","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.14","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.3","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-129"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4351bfe36aba9fa7dc9d68d498d25d41a0f45e67","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2e004fe914b243db41fa96f9e583385f360ea58e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a3660e06675bccec4bf149c7229ea1d491ba10d7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1310fc3538dcc375a2f46ef0a438512c2ca32827","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a3304766d9384886e6d3092c776273526947a2e9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3309c2c574e13b21b44729f5bdbf21f60189b79a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f99a8b1ec0eddc2931aeaa4f490277a15b39f511","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/24e807541e4a9263ed928e6ae3498de3ad43bd1e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/471bec68457aaf981add77b4f590d65dd7da1059","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49478.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49478","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00292,"epssPercentile":0.22199,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49478","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49478","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49478","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49478","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}