CVE-2022-49186

HIGH CVSS 3.1: 7.8 EPSS 0.25%
Updated Oct 01, 2025
Linux
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions 5.17 — 5.17.2
Fixed In 5.17.2
Type CWE-129 (Improper Validation of Array Index)
Vendor Linux
Public PoC No

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

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.17 5.17.2