CVE-2022-0185 in Linux Kernel and 16 more products
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 ...
Affects 17 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | 8.4 ≥ 5.1, < 5.4.173 ≥ 5.5, < 5.10.93 ≥ 5.11, < 5.15.16 ≥ 5.16, < 5.16.2 |
| Netapp | H410C (device and firmware) | No version listed by the source |
| Netapp | H300S (device and firmware) | No version listed by the source |
| Netapp | H500S (device and firmware) | No version listed by the source |
| Netapp | H700S (device and firmware) | No version listed by the source |
| Netapp | H300E (device and firmware) | No version listed by the source |
| Netapp | H500E (device and firmware) | No version listed by the source |
| Netapp | H700E (device and firmware) | No version listed by the source |
| Netapp | H410S (device and firmware) | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2024-08-21 |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-0185 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-255434-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-02-11 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-191: CWE-191
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2022-0185 is a heap-based buffer overflow vulnerability in the legacy_parse_param function of the Linux kernel, which can be exploited by an unprivileged user to escalate privileges. This vulnerability is particularly concerning in environments where unprivileged user namespaces are enabled, as it allows for privilege escalation without additional privileges. The CVSS score of 8.4 indicates a high severity, and the presence of a public proof of concept (PoC) increases the risk of exploitation. Affected vendors include Linux and NetApp, and the vulnerability is listed in the KEV catalog, emphasizing its critical nature in ICS/OT environments.
The vulnerability exists in the legacy_parse_param function of the Filesystem Context functionality in the Linux kernel. An unprivileged user can exploit this flaw by opening a filesystem that does not support the Filesystem Context API, leading to a heap-based buffer overflow. This can result in privilege escalation, allowing the attacker to gain higher privileges on the system. The attack requires local access and no user interaction, making it particularly dangerous in environments where unprivileged user namespaces are enabled.
Compensating controls AI-drafted, review before use
Implement strict user namespace policies and monitor for unusual filesystem operations that could indicate exploitation attempts.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2022-0185?
CVE-2022-0185 is a heap-based buffer overflow vulnerability in the legacy_parse_param function of the Linux kernel, which can be exploited by an unprivileged user to escalate privileges. This vulnerability is particularly concerning in environments where unprivileged user namespaces are enabled, as it allows for privilege escalation without additional privileges. The CVSS score of 8.4 indicates a high severity, and the presence of a public proof of concept (PoC) increases the risk of exploitatio
What is the CVSS score for CVE-2022-0185?
CVE-2022-0185 has CVSS 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.2%.
Is CVE-2022-0185 actively exploited?
Yes. CVE-2022-0185 is in the CISA known-exploited catalog (added 2024-08-21). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2022-0185?
Priority: IMMEDIATE.
What systems are affected by CVE-2022-0185?
CVE-2022-0185 affects Linux Linux Kernel; Netapp H410C, H300S, H500S, H700S, H300E, H500E, H700E, H410S.
What NERC-CIP standard applies to CVE-2022-0185?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows an unprivileged user to escalate privileges, which can compromise the security of the electronic security perimeter and the systems within it.
What IEC 62443 requirement maps to CVE-2022-0185?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves a vulnerability that can be exploited to gain unauthorized access to system resources, which is a critical security concern in ICS/OT environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linux","product":"Linux Kernel","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.