SecurityContext

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

IdName
CWE-129Improper Validation of Array Index

Public exploits

UrlSourceAdded date
https://github.com/iamdarshana/cve-2022-49186-researchpoc-in-github2025-12-06

References

UrlSourceTags
https://git.kernel.org/stable/c/2723543c1d60278d5aef1c4ad732dbad24b84a81nvdPatch
https://git.kernel.org/stable/c/c5601e0720ce1a3ad895f94a5838530edde01ed3nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.17, < 5.17.2nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/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