---
title: "CVE-2022-0185: Linux Kernel Heap-Based Buffer Overflow Vulnerability"
url: https://erroneo.us/security/cve/CVE-2022-0185/
description: "CVE-2022-0185 (Linux Kernel): Exploited in the wild (CISA KEV). A heap-based buffer overflow flaw was found in the way the legacyparseparam function in the…"
type: vulnerability-record
section: "Security Digest"
date_published: 2022-02-11
date_modified: 2025-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2022-0185"
kev: true
cvss: 8.4
epss: 0.25151
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Exploited: patch now if you run it. CISA has confirmed exploitation in the wild. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Yes, if you run Linux Kernel. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2024-08-21, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2024-09-11 ; treat that as the outer limit, not the target.
- EPSS 25.2% , percentile 98: FIRST’s model estimates a 25.2% chance of exploitation activity in the next 30 days, higher than 98% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Needs local access needed. Lower urgency for most teams unless an attacker could already run code on the machine.

## What it is

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 handling) could use this flaw to escalate their privileges on the system.

## Affected products (CVE record)

- n/a kernel: 8.4

## Severity

- CISA-ADP CVSS 3.1: 8.4 `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: added 2024-08-21; federal due date 2024-09-11. Known ransomware use: Unknown.
- CISA required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
- CISA SSVC assessment: exploitation active , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 25.15% probability of exploitation activity in the next 30 days; percentile 98.

## Sources

- [Listed in CISA KEV notes (git.kernel.org)](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=722d94847de2)
- [CVE.org record CVE-2022-0185](https://www.cve.org/CVERecord?id=CVE-2022-0185)
- [NVD entry CVE-2022-0185](https://nvd.nist.gov/vuln/detail/CVE-2022-0185)
- [CISA Known Exploited Vulnerabilities catalog entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185)
- [git.kernel.org](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2)
- [github.com](https://github.com/Crusaders-of-Rust/CVE-2022-0185)
- [openwall.com](https://www.openwall.com/lists/oss-security/2022/01/18/7)
- [willsroot.io](https://www.willsroot.io/2022/01/cve-2022-0185.html)
- [security.netapp.com](https://security.netapp.com/advisory/ntap-20220225-0003/)

---
Source page: https://erroneo.us/security/cve/CVE-2022-0185/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
