CVE-2022-49186
HIGHLinux Kernel 5.17-5.17.1 - Out-of-Bounds Array Access in visconti_clk_register_gates()
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2022-49186. PoCs published by iamdarshana.
AI-analyzed exploit summary This repository contains a working privilege escalation exploit for CVE-2022-49186, targeting a signed-to-unsigned conversion vulnerability in the Visconti clock driver of Linux kernel versions 5.17.0 to 5.17.1. The exploit leverages an array overflow to corrupt adjacent memory structures and escalate privileges to root.
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().
Exploits (1)
This repository contains a working privilege escalation exploit for CVE-2022-49186, targeting a signed-to-unsigned conversion vulnerability in the Visconti clock driver of Linux kernel versions 5.17.0 to 5.17.1. The exploit leverages an array overflow to corrupt adjacent memory structures and escalate privileges to root.
References (2)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H