CVE-2022-0185

published 11 Feb 2022 · updated 21 Oct 2025

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.

10.0CriticalCVSS 8.4EPSS 25%CISA KEV · due 11 Sep 2024

Exploited in the wild, in CISA KEV since 21 Aug 2024 (due 11 Sep 2024). No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel
=8.4

Exploit evidence

1 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-0185 severity on Zeptric[![CVE-2022-0185](https://zeptric.io/badge/cve/CVE-2022-0185.svg)](https://zeptric.io/cve/CVE-2022-0185)