Linux Kernel
Linux Kernel Heap-Based Buffer Overflow Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 23 days before publication; added to CISA KEV 2.5 years after publication. First PoC: Crusaders-of-Rust/CVE-2022-0185 (created 19 Jan 2022, found by us: backfilled).
PoC repositories
Found on GitHub.9 PoCs · 2 pending · 1 suspicious or fake
PoCs 9
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Crusaders-of-Rust/CVE-2022-0185 | 19 Jan 2022 −23 d | 378 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| discordianfish/cve-2022-0185-crash-poc | 26 Jan 2022 −16 d | 5 | PoC |
| khaclep007/CVE-2022-0185 | 27 Jan 2022 −15 d | 0 | PoC |
| veritas501/CVE-2022-0185-PipeVersion | 5 Apr 2022 +53 d | 16 | PoC |
| featherL/CVE-2022-0185-exploit | 14 Apr 2022 +62 d | 3 | PoC |
| sandesh9978/CVE-2022-0185-Analysis-and-Exploit | 25 Feb 2026 +4.0 y | 0 | PoC |
| prabeershakya/CVE-2022-0185-POC | 4 Mar 2026 +4.1 y | 0 | PoC |
| shakyanayann/CVE-2022-0185 | 5 Mar 2026 +4.1 y | 0 | PoC |
| secjuhl/CVE-2022-0185 | 7 Oct 2026 +4.6 y | 0 | PoC via PoC Index |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dcheng69/CVE-2022-0185-Case-Study | 15 Apr 2024 +2.2 y | 3 | Pending · repository exceeds size limit via PoC Index |
| shahparkhan/cve-2022-0185 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| chenaotian/CVE-2022-0185 | 18 Feb 2022 +6.7 d | 37 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.