{"id":"CVE-2022-49186","published":"2025-02-26T01:55:35Z","modified":"2026-05-11T18:54:46Z","title":"clk: visconti: prevent array overflow in visconti_clk_register_gates()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: visconti: prevent array overflow in visconti_clk_register_gates()\n\nThis code was using -1 to represent that there was no reset function.\nUnfortunately, the -1 was stored in u8 so the if (clks[i].rs_id >= 0)\ncondition was always true.  This lead to an out of bounds access in\nvisconti_clk_register_gates().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00249,"percentile":0.16563,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://git.kernel.org/stable/c/2723543c1d60278d5aef1c4ad732dbad24b84a81","tags":[]},{"url":"https://git.kernel.org/stable/c/c5601e0720ce1a3ad895f94a5838530edde01ed3","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":3.31},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa, < 2723543c1d60278d5aef1c4ad732dbad24b84a81",">= b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa, < c5601e0720ce1a3ad895f94a5838530edde01ed3"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-01T19:47:22.612139Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55040","exploited":false,"provenance":"source"}}