VULNERABILITY INTELLIGENCE
CVE-2022-49186
CVSS score7.8 HIGH
EPSS probability0.25%
CISA KEVNot currently listed
Published2025-02-26
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
In the Linux kernel, the following vulnerability has been resolved: clk: visconti: prevent array overflow in visconti_clk_register_gates() This code was using -1 to represent that there was no reset function. Unfortunately, the -1 was stored in u8 so the if (clks[i].rs_id >= 0) condition was always true. This lead to an out of bounds access in visconti_clk_register_gates().
Weakness classification
- nvd@nist.gov: CWE-129
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-129