# CVE-2022-0185: Linux Kernel Heap-Based Buffer Overflow Vulnerability

> CVE-2022-0185: Linux Kernel Heap-Based Buffer Overflow Vulnerability. CVSS 8.4 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2022-0185
Last updated: 2025-10-21T23:15:46Z

- Published: 2022-02-11 17:40 UTC · Updated: 2025-10-21 23:15 UTC · Assigner: redhat
- CVSS: 8.4 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 25.2%, 98th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2024-08-21, federal due date 2024-09-11, ransomware use: Unknown
- CWE: CWE-190

## 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.

## CISA required action

Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

## Affected vendors and products

- linux: linux\_kernel
- n/a: kernel

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-0185)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2022-0185)
- [https://github.com/Crusaders-of-Rust/CVE-2022-0185](https://github.com/Crusaders-of-Rust/CVE-2022-0185)
- [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2)
- [https://security.netapp.com/advisory/ntap-20220225-0003/](https://security.netapp.com/advisory/ntap-20220225-0003/)
- [https://www.openwall.com/lists/oss-security/2022/01/18/7](https://www.openwall.com/lists/oss-security/2022/01/18/7)
- [https://www.willsroot.io/2022/01/cve-2022-0185.html](https://www.willsroot.io/2022/01/cve-2022-0185.html)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2022-0185 · Markdown: https://rewindex.com/cve/CVE-2022-0185.md · JSON: https://rewindex.com/api/v1/cves/CVE-2022-0185 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:47:38.867Z
