CVE-2022-0185
Confirmed PUBLISHEDA heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Feb 11, 2022
- Exploitation Reported
- Aug 21, 2024
- CVSS
- 8.4 High
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| linux |
linux_kernel
|
8.4 |
Affected |
| n/a |
kernel
|
8.4 |
Affected |
CVE References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/... git.kernel.org · CVE Record https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/co...
- GitHub — Crusaders-of-Rust/CVE-2022-0185 github.com · CVE Record https://github.com/Crusaders-of-Rust/CVE-2022-0185
- OSS-Security Mailing List openwall.com · CVE Record https://www.openwall.com/lists/oss-security/2022/01/18/7
- willsroot.io/2022/01/cve-2022-0185.html willsroot.io · CVE Record https://www.willsroot.io/2022/01/cve-2022-0185.html
- security.netapp.com/advisory/ntap-20220225-0003 security.netapp.com · CVE Record https://security.netapp.com/advisory/ntap-20220225-0003/
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2024-08-21 00:00 UTC |
No detection artifacts or sensor request patterns are available for this CVE yet.
Check back as sensor telemetry and scanner integrations are updated.
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
Exploitation Status
Exploited in the wild
Recorded 2024-08-21 00:00:00 UTC · CISA
Proof of concept available
Recorded 2022-01-19 06:19:38 UTC · GitHub
Weaknesses (CWE)
-
Integer Overflow or Wraparound
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nessus | https://www.tenable.com/plugins/nessus/236676 | Jun 02, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2024-04-15 02:42:43 UTC · 3 stars
github · Created 2022-04-14 10:46:04 UTC · 3 stars
CVE-2022-0185 exploit
github · Created 2022-04-05 07:48:35 UTC · 16 stars
CVE-2022-0185 exploit rewritten with pipe primitive
github · Created 2022-02-18 09:27:34 UTC · 37 stars
CVE-2022-0185 POC and Docker and Analysis write up
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
09:26 UTC about 1 year ago09:26 UTC · about 1 year ago
Nessus plugin available
Scanner coverage available
-
00:00 UTC almost 2 years ago00:00 UTC · almost 2 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
17:40 UTC over 4 years ago17:40 UTC · over 4 years ago
CVE published
Vulnerability disclosed publicly
-
06:19 UTC over 4 years ago06:19 UTC · over 4 years ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-0185
{
"cve_id": "CVE-2022-0185",
"title": "A heap-based buffer overflow flaw was found in the way the legacy_parse_param...",
"affected_vendor": "Linux",
"affected_product": "kernel",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 8.4,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}