Vulnerabilities

CVE-2022-0185

Linux Kernel Heap-Based Buffer Overflow Vulnerability

Actively exploited (CISA KEV) High 8.4 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2022-02-11
Last modified
2026-06-17
Assigned by
secalert@redhat.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
25.2 % higher than 98 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Actively exploited

CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2024-08-21, with a remediation deadline of 2024-09-11 for US federal agencies.

Required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

Affected products

Vendor Product Versions Status
Linux Linux Kernel ≥ 5.1, < 5.4.173 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.16 Affected
Linux Linux Kernel ≥ 5.16, < 5.16.2 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.93 Affected
Netapp H300e all versions listed Not affected
Netapp H300e Firmware all versions listed Affected
Netapp H300s all versions listed Not affected
Netapp H300s Firmware all versions listed Affected
Netapp H410c all versions listed Not affected
Netapp H410c Firmware all versions listed Affected
Netapp H410s all versions listed Not affected
Netapp H410s Firmware all versions listed Affected
Netapp H500e all versions listed Not affected
Netapp H500e Firmware all versions listed Affected
Netapp H500s all versions listed Not affected
Netapp H500s Firmware all versions listed Affected
Netapp H700e all versions listed Not affected
Netapp H700e Firmware all versions listed Affected
Netapp H700s all versions listed Not affected
Netapp H700s Firmware all versions listed Affected

Weakness type

  • CWE-191: Integer Underflow (Wrap or Wraparound)

    The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

  • CWE-190: Integer Overflow or Wraparound

    The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities