CVE-2022-0185: Linux Kernel Heap-Based Buffer Overflow Vulnerability
A heap-based buffer overflow flaw was found in the way the legacyparseparam 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 CAPSYSADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy…
Published Feb 11, 2022 · Updated Jun 17, 2026
Required action
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
Advisory details
From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.
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.
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
- https://github.com/Crusaders-of-Rust/CVE-2022-0185
- https://security.netapp.com/advisory/ntap-20220225-0003/
- https://www.openwall.com/lists/oss-security/2022/01/18/7
- https://www.willsroot.io/2022/01/cve-2022-0185.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Linux vulnerabilities
All Linux entriesCVE-2026-53362
Linux Kernel Unspecified Vulnerability
high7.8ExploitedJul 4, 2026CVE-2026-53266
Linux Kernel Out-of-Bounds Write Vulnerability
high8.8ExploitedJun 25, 2026CVE-2026-31431
Linux Kernel Incorrect Resource Transfer Between Spheres Vulnerability
high7.8ExploitedApr 22, 2026CVE-2025-39964
Linux Kernel Race Condition Vulnerability
medium5.5ExploitedOct 13, 2025CVE-2025-39682
Linux Kernel Improper Check for Unusual or Exceptional Conditions Vulnerability
critical9.8ExploitedSep 5, 2025CVE-2025-38352
Linux Kernel Time-of-Check Time-of-Use (TOCTOU) Race Condition Vulnerability
high7.8ExploitedJul 22, 2025
