CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
- Actively exploited
- High · 8.4 of 10
- Exploited since
- 21 Aug 2024 added to the CISA list
- Chance of attacks
- 25% in the next 30 days (FIRST EPSS)
- Fix deadline
- 11 Sep 2024 for US federal agencies
- Published
- 11 Feb 2022 in the NVD
What this means
Linux kernel contains a heap-based buffer overflow vulnerability in the legacy_parse_param function in the Filesystem Context functionality. This allows an attacker to open a filesystem that does not support the Filesystem Context API and ultimately escalate privileges.
CISA
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.
NIST National Vulnerability Database
What to do
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- n/a kernel
- linux linux_kernel
Official sources
- nvd.nist.gov/vuln/detail/CVE-2022-0185
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
- github.com/Crusaders-of-Rust/CVE-2022-0185
- security.netapp.com/advisory/ntap-20220225-0003/
- openwall.com/lists/oss-security/2022/01/18/7
- willsroot.io/2022/01/cve-2022-0185.html
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
- github.com/Crusaders-of-Rust/CVE-2022-0185
- security.netapp.com/advisory/ntap-20220225-0003/
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.