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-unsigned-5.13.0-1010-intel (5.13.0-1010.10) @ focal | 2026-09-08 | ubuntu |
| ubuntu | linux-buildinfo-5.13.0-1015-raspi (5.13.0-1015.17) @ impish | 2026-09-08 | ubuntu |
| ubuntu | lowlatency-5.4 (5.4.0-26) @ bionic | 2026-09-08 | 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-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 |
| redhat | kernel-rt-0:4.18.0-305.34.2.rt7.107.el8_4 | 2022-01-19 | redhat |
| redhat | kernel-rt-0:4.18.0-348.12.2.rt7.143.el8_5 | 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 / 234× 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 781 total refreshes for this CVE.
- 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
- 2026-09-07 01:05 UTCVendor advisory
- 2026-09-06 20:51 UTCVendor advisory
- 2026-09-06 16:36 UTCEG score recompute
- 2026-09-06 16:36 UTCVendor advisory
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-06 12:21 UTCVendor advisory
- 2026-09-06 08:07 UTCVendor advisory
- 2026-09-06 03:52 UTCVendor advisory
- 2026-09-05 23:39 UTCVendor advisory
- 2026-09-05 19:24 UTCEG score recompute
- 2026-09-05 19:24 UTCVendor advisory
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-05 15:11 UTCVendor advisory
- 2026-09-05 10:53 UTCVendor advisory
- 2026-09-05 06:39 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-05 02:23 UTCVendor advisory
- 2026-09-04 22:09 UTCVendor advisory
- 2026-09-04 17:52 UTCEG score recompute
- 2026-09-04 17:52 UTCVendor advisory
- 2026-09-04 17:38 UTCCISA KEV update
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 13:36 UTCVendor advisory
- 2026-09-04 09:22 UTCVendor advisory
- 2026-09-04 05:06 UTCEG score recompute
- 2026-09-04 05:06 UTCVendor advisory
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-04 00:48 UTCVendor advisory
- 2026-09-03 20:32 UTCVendor advisory
- 2026-09-03 16:17 UTCVendor advisory
- 2026-09-03 12:01 UTCVendor advisory
- 2026-09-03 07:45 UTCVendor advisory
- 2026-09-03 03:30 UTCVendor advisory
- 2026-09-02 23:15 UTCVendor advisory
- 2026-09-02 19:01 UTCVendor advisory
- 2026-09-02 17:33 UTCCISA KEV update
- 2026-09-02 14:45 UTCEG score recompute
- 2026-09-02 14:45 UTCVendor advisory
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-02 10:28 UTCVendor advisory
- 2026-09-02 06:14 UTCVendor advisory
- 2026-09-02 01:59 UTCVendor advisory
- 2026-09-01 21:45 UTCVendor advisory
- 2026-09-01 17:31 UTCEG score recompute
- 2026-09-01 17:31 UTCVendor advisory
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-09-01 13:17 UTCVendor advisory
- 2026-09-01 09:01 UTCVendor advisory
- 2026-09-01 04:47 UTCEG score recompute
- 2026-09-01 04:47 UTCVendor advisory
- 2026-09-01 00:32 UTCVendor advisory
- 2026-08-31 20:18 UTCVendor advisory
- 2026-08-31 16:04 UTCVendor advisory
- 2026-08-31 14:19 UTCCISA KEV update
- 2026-08-31 11:49 UTCVendor advisory
- 2026-08-31 07:35 UTCVendor advisory
- 2026-08-31 03:21 UTCVendor advisory
- 2026-08-30 23:06 UTCEG score recompute
- 2026-08-30 23:06 UTCVendor advisory
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 18:52 UTCVendor advisory
- 2026-08-30 14:38 UTCVendor advisory
- 2026-08-30 10:23 UTCVendor advisory
- 2026-08-30 06:09 UTCVendor advisory
- 2026-08-30 01:52 UTCEG score recompute
- 2026-08-30 01:52 UTCVendor advisory
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-29 21:38 UTCVendor advisory
- 2026-08-29 17:24 UTCVendor advisory
- 2026-08-29 13:08 UTCVendor advisory
- 2026-08-29 08:54 UTCVendor advisory
- 2026-08-29 04:40 UTCVendor advisory
- 2026-08-29 00:24 UTCEG score recompute
- 2026-08-29 00:24 UTCVendor advisory
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-28 20:08 UTCVendor advisory
- 2026-08-28 15:53 UTCVendor advisory
- 2026-08-28 11:39 UTCVendor advisory
- 2026-08-28 07:24 UTCVendor advisory
- 2026-08-28 03:09 UTCVendor advisory
- 2026-08-27 22:51 UTCVendor advisory
- 2026-08-27 18:37 UTCVendor advisory
- 2026-08-27 17:22 UTCCISA KEV update
- 2026-08-27 14:22 UTCEG score recompute
- 2026-08-27 14:22 UTCVendor advisory
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-27 10:08 UTCVendor advisory
- 2026-08-27 05:54 UTCVendor advisory
- 2026-08-27 01:37 UTCVendor advisory
- 2026-08-26 21:24 UTCVendor advisory
- 2026-08-26 17:41 UTCCISA KEV update
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.