Security Resilience

CVE-2022-0185

Memory Safety in Linux Kernel 5.1 – 5.4.173

CISA KEVActive ExploitationEUVD ExploitedPublic PoCMemory Safety
Published
11 February 2022
Modified
06 November 2025
KEV Added
21 August 2024
Patch / advisory
CVSS Score v3.1 8.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.25 98th percentile
Risk Priority 88 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2022-0185 is a high-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Linux Kernel. Its CVSS base score is 8.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 2% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A heap-based buffer overflow exists in the legacy_parse_param function within the Filesystem Context subsystem of the Linux kernel. The flaw stems from insufficient validation of supplied parameter lengths when a filesystem lacking native Filesystem Context API support falls back to legacy handling, leading to improper bounds checking during parameter processing. The issue is tracked under CWE-190 and CWE-191 and carries a CVSS 3.1 score of 8.4.

An unprivileged local attacker who can mount or open an affected filesystem may trigger the overflow. When unprivileged user namespaces are enabled, no special privileges are required; otherwise the attacker needs namespaced CAP_SYS_ADMIN. Successful exploitation grants the ability to escalate privileges to root on the system.

Upstream fixes are referenced in the mainline kernel commit that corrects legacy_parse_param handling. Vendor advisories, including NetApp's, direct administrators to apply the relevant kernel updates or configuration changes that disable legacy fallback paths where feasible.

EPSS scores for the CVE rose from lower values after disclosure to a peak of 0.0783 on 2023-02-03 before receding to the current 0.0194, indicating a period of increased exploitation interest roughly a year post-publication. Public proof-of-concept code and technical analyses are available.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
21 August 2024

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2022-0995Same product: Linux Linux Kernelboth on KEV
CVE-2021-22600Same product: Linux Linux Kernelboth on KEV
CVE-2023-32252Same product: Linux Linux Kernel
CVE-2023-38427Same product: Linux Linux Kernel
CVE-2023-33250Same product: Linux Linux Kernel
CVE-2021-43267Same product: Linux Linux Kernel
CVE-2024-0565Same product: Linux Linux Kernel
CVE-2021-22555Same product: Linux Linux Kernelboth on KEV
CVE-2023-0386Same product: Linux Linux Kernelboth on KEV
CVE-2026-31662Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
5.1 — 5.4.173 · 5.5 — 5.10.93 · 5.11 — 5.15.16
netapp
h410c firmware
all versions
netapp
h300s firmware
all versions
netapp
h500s firmware
all versions
netapp
h700s firmware
all versions
netapp
h300e firmware
all versions
netapp
h500e firmware
all versions
netapp
h700e firmware
all versions
netapp
h410s firmware
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.2.6

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure SDLC practices directly prevent integer underflow defects via input validation, bounds checking, and static analysis.

ID.RA-01 partial match
blocks

Vulnerability scanning and code analysis can surface underflow flaws after they are introduced.

PR.PS-02 partial match
blocks

Routine patching can remediate known underflow bugs once they are discovered in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect integer overflows before release.

prevents

Secure coding standards explicitly forbid unsafe integer operations and mandate overflow-safe constructs.

prevents

A.8.30’s contractual secure-design, coding, and testing requirements reduce the introduction of integer-underflow defects in outsourced software, but fallible implementation practice leaves a substantial remainder.

finds

A.8.8's reach is DISCLOSURE — it identifies vulnerabilities through vendor advisories, vulnerability scanning, and third-party component tracking. Integer overflows in third-party components with published CVEs are found (the observed examples include several), but the bulk of CWE-190 instances in first-party/custom code are not what A.8.8 reaches; those require source-reading testing (A.8.28/A.8.29). Same logic as the A.8.8 finds CWE-89 = partial anchor.

References