🟒 CVE-2022-0995

CVE-2022-0995 is an out-of-bounds memory write flaw in the Linux kernel's watch_queue event notification subsystem. It allows a LOCAL, low-privileged user to escalate privileges to root or cause a denial of service. It requires prior local access and cannot be exploited directly over the network, making it a privilege escalation (T1068) rather than an initial access (T1190) vulnerability.

← Back to Overview
LOW_RISK
Risk Level
7.8
CVSS Score
LOCAL
Attack Vector
Privilege Escalation
ATT&CK Tactic
T1068 β€” Exploitation for Privilege Escalation
ATT&CK Technique
VERY_LOW
Deployment Risk
No
Ransomware

πŸ“‹ Vulnerability Details

Data Source: CIRCL

Confidence: HIGH

Exploitation Method: OTHER

CVE Published: 2022-03-25

Added to CISA KEV: 2026-08-26 1615 DAYS BETWEEN CVE AND KEV

🎯 Recommendations:

πŸ” Web Intelligence (Kagi Β· 2026-09-14)

Summary

CVE-2022-0995 is an out-of-bounds (OOB) memory write vulnerability located within the Linux kernel’s `watch_queue` event notification subsystem. This flaw allows a local, unprivileged user to overwrite sensitive kernel memory, which can be leveraged to escalate privileges to root or trigger a system-wide denial of service (DoS), making it a critical concern for systems utilizing affected kernel versions.

Exploitation

  • Active Exploitation: There have been reports of active exploitation attempts following the public disclosure of the vulnerability.
  • Threat Actors/Campaigns: While security researchers identified the vulnerability, no specific state-sponsored threat actors or widespread ransomware campaigns have been uniquely attributed to the weaponization of this specific CVE in public documentation.
  • Proof-of-Concept/Exploit: Publicly available proof-of-concept (PoC) exploit code exists, including functional examples on platforms like GitHub that demonstrate local privilege escalation (LPE) techniques [1].
  • Attack Prerequisites:
* Access: Local access is required; it cannot be exploited remotely over a network. * Authentication: The attacker must have a user account on the target system. * User Interaction: No specific user interaction (beyond the initial access) is required.

Affected Products & Patches

  • Affected Versions: The vulnerability affects various versions of the Linux kernel that include the `watch_queue` subsystem, which was introduced in kernel 5.8.
  • Patch Availability: The Linux kernel maintainers addressed this flaw in stable release branches shortly after discovery. Users are advised to upgrade to patched kernel versions (e.g., 5.17.1, 5.16.15, 5.15.29, or later) provided by their respective Linux distribution vendors.
  • Mitigations/Workarounds: If an immediate kernel update is not possible, organizations may consider disabling the `watch_queue` functionality if it is not required by system applications, or limiting access to user namespaces (unprivileged user namespaces) which are often required to trigger the exploit code.

Impact

  • Capabilities: Successful exploitation grants the attacker full root privileges on the affected host, enabling them to bypass security controls, install persistence mechanisms, steal sensitive data, or install malware.
  • Business Risk: For internet-facing servers (such as web or application servers), this vulnerability represents a severe "second-stage" risk. If an attacker gains low-privileged access through a separate web application vulnerability, CVE-2022-0995 provides the necessary path to achieve full system compromise, leading to total loss of confidentiality, integrity, and availability.

Sources

  1. GitHub - Bonfee/CVE-2022-0995: CVE-2022-0995 exploit Β· GitHub

    GitHub Advanced SecurityFind and fix vulnerabilities. Code securitySecure your code as you build. Secret protectionStop leaks before they start.This is my exploit for CVE-2022-0995, an heap out-of-bounds write in the watch_queue Linux kernel component. It uses the same technique described in https:/…