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-2022-0185
Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2024-08-21), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 8.4 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
A fix is available — apply it.
- CVSS v3
- 8.4
- EG Score
- 9.0(high)
- EG Risk
- 81(Attend)EG Risk 81/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation100% × 40%Automatability0% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 25%
- EPSS %ILE
- 98%
- KEV
- ⚠ Exploited
Published
February 11, 2022
Last Modified
November 6, 2025
Advisory Details (5)
Auto-updated Jun 2, 2026Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
https://www.willsroot.io/2022/01/cve-2022-0185.htmloss-security - Linux kernel: Heap buffer overflow in fs_context.c since version 5.1
https://www.openwall.com/lists/oss-security/2022/01/18/7GitHub - Crusaders-of-Rust/CVE-2022-0185: CVE-2022-0185 · GitHub
https://github.com/Crusaders-of-Rust/CVE-2022-0185vfs: fs_context: fix up param length parsing in legacy_parse_param - kernel/git/torvalds/linux.git - Linux kernel source tree
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2Vendor Advisories for CVE-2022-0185(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2022:0188Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel security and bug fix update
- RHSA-2022:0186Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel security, bug fix, and enhancement update
- RHSA-2022:0187Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel-rt security and bug fix update
- RHSA-2022:0176Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel-rt security and bug fix update
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | linux-image-5.13.0-1028-oem (5.13.0-1028.35) @ focal | 2026-09-19 | ubuntu |
| ubuntu | ibm (5.4.0-1009) @ focal | 2026-09-19 | ubuntu |
| ubuntu | linux-image-unsigned-5.13.0-1010-intel (5.13.0-1010.10) @ focal | 2026-09-19 | ubuntu |
| redhat | redhat-virtualization-host-0:4.4.10-202202081536_8.5 | 2022-02-15 | redhat |
| redhat | kpatch-patch | 2022-01-24 | redhat |
| redhat | kernel-rt-0:4.18.0-348.12.2.rt7.143.el8_5 | 2022-01-19 | redhat |
| redhat | kernel-rt-0:4.18.0-305.34.2.rt7.107.el8_4 | 2022-01-19 | redhat |
| redhat | kernel-0:4.18.0-348.12.2.el8_5 | 2022-01-19 | redhat |
| redhat | kernel-0:4.18.0-305.34.2.el8_4 | 2022-01-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | 5.10.46-4 ... 5.10.92-1~bpo10+1 (6 versions) | 5.10.92-1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.15.15-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.15.15-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.15.15-1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2022-01852022-02-23
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.
- Red HatRHSA-2022:0231IMPORTANT2022-01-18
RHSA-2022:0231 — Important
- Red HatRHSA-2022:0232IMPORTANT2022-01-18
RHSA-2022:0232 — Important
- Red HatRHSA-2022:0540IMPORTANT2022-01-18
RHSA-2022:0540 — Important
- UbuntuLSN-0084-1HIGH
Kernel Live Patch Security Notice
- UbuntuUSN-5240-1HIGH
Linux kernel vulnerability
- UbuntuUSN-5362-1HIGH
Linux kernel (Intel IOTG) vulnerabilities
Data Freshness Timeline
(refreshed 56× in last 7d / 239× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 871 total refreshes for this CVE.
- 2026-09-19 14:20 UTCVendor advisory
- 2026-09-19 10:05 UTCVendor advisory
- 2026-09-19 05:51 UTCVendor advisory
- 2026-09-19 01:38 UTCVendor advisory
- 2026-09-18 21:23 UTCEG score recompute
- 2026-09-18 21:23 UTCVendor advisory
- 2026-09-18 19:24 UTCEPSS rescore
- 2026-09-18 19:20 UTCCISA KEV update
- 2026-09-18 17:09 UTCVendor advisory
- 2026-09-18 14:15 UTCCISA KEV update
- 2026-09-18 12:55 UTCVendor advisory
- 2026-09-18 08:41 UTCVendor advisory
- 2026-09-18 04:27 UTCVendor advisory
- 2026-09-18 00:13 UTCVendor advisory
- 2026-09-17 19:59 UTCEG score recompute
- 2026-09-17 19:59 UTCVendor advisory
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-17 15:45 UTCVendor advisory
- 2026-09-17 11:30 UTCVendor advisory
- 2026-09-17 07:16 UTCVendor advisory
- 2026-09-17 03:02 UTCVendor advisory
- 2026-09-16 22:47 UTCVendor advisory
- 2026-09-16 18:32 UTCVendor advisory
- 2026-09-16 14:18 UTCEG score recompute
- 2026-09-16 14:18 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-16 14:10 UTCCISA KEV update
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 10:04 UTCVendor advisory
- 2026-09-16 05:50 UTCEG score recompute
- 2026-09-16 05:50 UTCVendor advisory
- 2026-09-16 01:36 UTCVendor advisory
- 2026-09-15 21:22 UTCVendor advisory
- 2026-09-15 17:08 UTCVendor advisory
- 2026-09-15 12:53 UTCVendor advisory
- 2026-09-15 08:39 UTCVendor advisory
- 2026-09-15 04:25 UTCEG score recompute
- 2026-09-15 04:25 UTCVendor advisory
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-15 00:11 UTCVendor advisory
- 2026-09-14 19:57 UTCVendor advisory
- 2026-09-14 19:24 UTCCISA KEV update
- 2026-09-14 15:43 UTCVendor advisory
- 2026-09-14 11:29 UTCVendor advisory
- 2026-09-14 07:14 UTCVendor advisory
- 2026-09-14 03:00 UTCVendor advisory
- 2026-09-13 22:45 UTCVendor advisory
- 2026-09-13 18:31 UTCVendor advisory
- 2026-09-13 14:17 UTCVendor advisory
- 2026-09-13 10:03 UTCVendor advisory
- 2026-09-13 05:49 UTCVendor advisory
- 2026-09-13 01:35 UTCVendor advisory
- 2026-09-12 21:21 UTCVendor advisory
- 2026-09-12 17:07 UTCEG score recompute
- 2026-09-12 17:07 UTCVendor advisory
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-12 12:53 UTCVendor advisory
- 2026-09-12 08:39 UTCVendor advisory
- 2026-09-12 04:25 UTCVendor advisory
- 2026-09-12 00:10 UTCVendor advisory
- 2026-09-11 19:55 UTCVendor advisory
- 2026-09-11 18:49 UTCCISA KEV update
- 2026-09-11 15:35 UTCEG score recompute
- 2026-09-11 15:35 UTCVendor advisory
- 2026-09-11 14:49 UTCEPSS rescore
- 2026-09-11 11:21 UTCEG score recompute
- 2026-09-11 11:21 UTCVendor advisory
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-11 07:03 UTCVendor advisory
- 2026-09-11 02:49 UTCVendor advisory
- 2026-09-10 22:35 UTCVendor advisory
- 2026-09-10 19:28 UTCCISA KEV update
- 2026-09-10 18:21 UTCVendor advisory
- 2026-09-10 14:06 UTCVendor advisory
- 2026-09-10 09:51 UTCEG score recompute
- 2026-09-10 09:51 UTCVendor advisory
- 2026-09-10 05:37 UTCVendor advisory
- 2026-09-10 01:23 UTCVendor advisory
- 2026-09-09 21:08 UTCVendor advisory
- 2026-09-09 19:08 UTCCISA KEV update
- 2026-09-09 16:54 UTCVendor advisory
- 2026-09-09 12:39 UTCVendor advisory
- 2026-09-09 08:26 UTCVendor advisory
- 2026-09-09 04:11 UTCVendor advisory
- 2026-09-08 23:57 UTCEG score recompute
- 2026-09-08 23:57 UTCVendor advisory
- 2026-09-08 21:57 UTCEPSS rescore
- 2026-09-08 19:43 UTCVendor advisory
- 2026-09-08 18:54 UTCCISA KEV update
- 2026-09-08 15:29 UTCVendor advisory
- 2026-09-08 11:08 UTCVendor advisory
- 2026-09-08 06:51 UTCVendor advisory
- 2026-09-08 02:34 UTCVendor advisory
- 2026-09-07 22:19 UTCVendor advisory
- 2026-09-07 18:05 UTCEG score recompute
- 2026-09-07 18:05 UTCVendor advisory
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-07 13:51 UTCVendor advisory
- 2026-09-07 09:35 UTCVendor advisory
- 2026-09-07 05:21 UTCVendor advisory
Publicly available exploits
(6 references)Working exploit code is in the public domain (6 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Open source ↗GitHub PoCdcheng69/CVE-2022-0185-Case-StudyFirst seen Apr 15, 2024
- GitHub PoCfeatherL/CVE-2022-0185-exploitFirst seen Apr 14, 2022
CVE-2022-0185 exploit
Open source ↗ - GitHub PoCveritas501/CVE-2022-0185-PipeVersionFirst seen Apr 5, 2022
CVE-2022-0185 exploit rewritten with pipe primitive
Open source ↗ - GitHub PoCchenaotian/CVE-2022-0185First seen Feb 18, 2022
CVE-2022-0185 POC and Docker and Analysis write up
Open source ↗ - Open source ↗GitHub PoCdiscordianfish/cve-2022-0185-crash-pocFirst seen Jan 26, 2022
- GitHub PoCCrusaders-of-Rust/CVE-2022-0185First seen Jan 19, 2022
CVE-2022-0185
Open source ↗
Frequently asked(6)
What is CVE-2022-0185?
When was CVE-2022-0185 disclosed?
Is CVE-2022-0185 actively exploited?
What is the CVSS score of CVE-2022-0185?
Which products are affected by CVE-2022-0185?
How do I remediate CVE-2022-0185?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-0185
Is Your Infrastructure Affected by CVE-2022-0185?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.