CVE-2022-0185
CONFIRMED EXPLOITEDLinux Kernel Heap-Based Buffer Overflow Vulnerability
Is Linux Kernel affected by CVE-2022-0185?
Linux Kernel is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2022-0185, added on 2024-08-21. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (12 vulnerable CPE entries): linux linux_kernel, netapp h300e_firmware, netapp h300s_firmware, netapp h410c_firmware, netapp h410s_firmware and netapp h500e_firmware and 3 further CPE product entries.
Published CPE version bounds mark releases below 5.16.2 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2024-09-11.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-46300Same productLinux Kernel
Linux Kernel Missing Initialization of a Variable Vulnerability
- CVE-2026-53266Same productLinux Kernel
Linux Kernel Out-of-Bounds Write Vulnerability
- CVE-2025-39964Same productLinux Kernel
Linux Kernel Race Condition Vulnerability
- CVE-2025-39682Same productLinux Kernel
Linux Kernel Improper Check for Unusual or Exceptional Conditions Vulnerability
- CVE-2021-33045Neighboring entryDahua IP Camera Firmware
Dahua IP Camera Authentication Bypass Vulnerability
- CVE-2024-39717Neighboring entryVersa Director
Versa Director Dangerous File Type Upload Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Linux kernel contains a heap-based buffer overflow vulnerability in the legacy_parse_param function in the Filesystem Context functionality. This allows an attacker to open a filesystem that does not support the Filesystem Context API and ultimately escalate privileges.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2024-08-21. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Kernel has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Kernel / local privilege surface (Linux Kernel): monitor endpoint syscall and process telemetry (`Linux auditd`, `Tetragon` eBPF LSM/kprobe policies, Windows Security Event IDs 4672/4688 & Sysmon, `Velociraptor` VQL) for unexpected UID/token elevation, namespace escapes, or unauthorized child processes.
- Inventory all hosts running Linux Kernel and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2Mailing ListPatch
- https://github.com/Crusaders-of-Rust/CVE-2022-0185ExploitThird Party Advisory
- https://security.netapp.com/advisory/ntap-20220225-0003/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/18/7Mailing ListPatchThird Party Advisory
- https://www.willsroot.io/2022/01/cve-2022-0185.htmlExploitThird Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2Mailing ListPatch
- https://github.com/Crusaders-of-Rust/CVE-2022-0185ExploitThird Party Advisory
- https://security.netapp.com/advisory/ntap-20220225-0003/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/18/7Mailing ListPatchThird Party Advisory
- https://www.willsroot.io/2022/01/cve-2022-0185.htmlExploitThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
eBPF-based Linux runtime security observability and inline kernel enforcement
Comprehensive vulnerability, SBOM, and misconfiguration scanner
Open-source XDR and SIEM platform for endpoint and cloud security monitoring
Endpoint visibility, digital forensics, and incident response (DFIR) platform