Vulnerability record

CVE-2022-0185

Linux Kernel Heap-Based Buffer Overflow Vulnerability

Severity: HighExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Linux, fix it now.

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

US federal civilian agencies must remediate by Sep 11, 2024.

Patch status

Official fix available since

Apply the vendor's update to every affected system. Check the fixed-in versions below where known.

Basis: NVD patch reference

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
LinuxLinux>= 5.1, < 5.4.173; >= 5.5, < 5.10.93; >= 5.11, < 5.15.16; >= 5.16, < 5.16.25.4.173; 5.10.93; 5.15.16; 5.16.2KEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2022-0185 scored CVSS 8.4: Linux Kernel, Linux Kernel Heap-Based Buffer Overflow Vulnerability

    CISA lists this as exploited in the wild. Unpatched Kernel systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

  2. Patch releasedUpdateKEV

    Patch released for CVE-2022-0185: Linux Kernel, Linux Kernel Heap-Based Buffer Overflow Vulnerability

    An official fix is now available for Linux Kernel. This vulnerability is being exploited, so apply it promptly.

    Basis: NVD patch reference

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • git.kernel.org https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=722d94847de2
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/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
  • security.netapp.com https://security.netapp.com/advisory/ntap-20220225-0003/
  • 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
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185