CVE DatabaseCVE-2022-0995
한국어 권고문 →
CVE-2022-09957.8/HIGHCISA KEVCWE-787CWE-787

Linux Kernel watch_queue Subsystem Out-of-Bounds Write Vulnerability (CVE-2022-0995) Advisory

Affected Vendors
linux
Affected Components
linux_kernel
Published Date
2022-03-25

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Linux kernel versions from 5.8 up to 5.17-rc8 utilizing the watch_queue event notification subsystem.

Impact

A local unprivileged attacker can overwrite kernel state memory, potentially leading to local privilege escalation (LPE) to root or system denial of service (DoS).

Mitigation

Apply the latest kernel security patches immediately, or restrict unprivileged user namespaces as a temporary mitigation.

Affected Products & Version Scope

Linux kernel versions 5.8 through 5.17-rc8 (with watch_queue enabled)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Kernel Patch Installation

The recommended remediation is to upgrade the Linux kernel to a patched version.

Ubuntu / Debian systems:

bash
sudo apt update
sudo apt-get install --only-upgrade linux-image-generic
sudo reboot

RHEL / Rocky Linux systems:

bash
sudo dnf update kernel
sudo reboot

2. Temporary Mitigation (If patching is not immediately possible)

You can mitigate the risk by disabling unprivileged user namespaces, which restricts the ability of local users to trigger the vulnerable code path.

bash
# Disable unprivileged user namespaces
sudo sysctl -w kernel.unprivileged_userns_clone=0

# Persist the configuration
echo "kernel.unprivileged_userns_clone=0" | sudo tee -a /etc/sysctl.d/99-disable-userns.conf
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
This vulnerability is actively exploited in the wild (CISA KEV); immediately update your Linux kernel to the latest secure release.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

This vulnerability (CVE-2022-0995) is an Out-of-Bounds (OOB) memory write flaw (CWE-787) residing in the Linux kernel's watch_queue event notification subsystem.

By sending specially crafted system calls (ioctl) during the configuration of watch_queue filters, a local attacker can bypass boundary checks and overwrite critical kernel heap memory. Since this vulnerability is listed in the CISA KEV catalog and public exploits are readily available, it poses a severe threat. Attackers who have gained initial local access can leverage this flaw to escape sandboxes and obtain full administrative (root) privileges.

Official Vendor Advisories & References

SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
CVE-2022-0995: Linux Kernel watch_queue Subsystem Out-of-Bounds Write Vulnerability (CVE-2022-0995) Advisory (CVSS 7.8) | CVE Pulse