CVE-2022-49186: Linux Kernel - Buffer Overflow
- Cve: CVE-2022-49186
- Name: Linux Kernel - Buffer Overflow
- 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().
- Impact: Local attackers can cause out-of-bounds access, potentially leading to kernel memory corruption or privilege escalation.
- Remediation: Update to the latest Linux kernel version where this issue is fixed.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00249
- Epss percentile: 0.16343
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2025-02-26T07:00:55Z
- Age in days: 636
- Modified at: 2026-06-17T05:17:19Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-49186
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-129 | Improper Validation of Array Index |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/iamdarshana/cve-2022-49186-research | poc-in-github | 2025-12-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/2723543c1d60278d5aef1c4ad732dbad24b84a81 | nvd | Patch |
| https://git.kernel.org/stable/c/c5601e0720ce1a3ad895f94a5838530edde01ed3 | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 5.17, < 5.17.2 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-12-06
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports