Vulnerability details

CVE-2022-49186

Linux Linux

clk: visconti: prevent array overflow in visconti_clk_register_gates()

CVSS 3.1
7.8High

Official 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().

CVSS scores

ScoreVersionSourceVector
7.8High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 5.17 CVEProject cvelistV5 (CNA)
Linux Linux b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa ≤ v < 2723543c1d60278d5aef1c4ad732dbad24b84a81 CVEProject cvelistV5 (CNA)
Linux Linux b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa ≤ v < c5601e0720ce1a3ad895f94a5838530edde01ed3 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-02-26
Last updated
2026-05-11
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.24%
Probability of exploitation in 30 days
16.3%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-129
    Improper Validation of Array Index