Skip to main content
ExploitedIn CISA KEVFix available

CVE-2022-0185

Exploitation confirmed. First attested on 2024-08-21 by CISA-ADP, CISA KEV, GCVE · kevintel.

  • Published2022-02-11
  • Fixed in5.16.2 · 5.15.16 · 5.10.93 · 5.4.173
  • WeaknessCWE-190 · CWE-191

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-02-1118:15CVE publishedNVD
  2. 2024-08-21Added to the CISA KEV catalogCISA KEV
  3. 2024-08-21Listed as exploited by GCVEGCVE
  4. 2024-08-21Exploitation first reportedCISA KEV
  5. 2024-08-2212:49SSVC exploitation set to activeCISA-ADP

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-0185?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-0185?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · CISA-ADP
Linux linux kernel
BranchAffectedFixed in
5.16≥ 5.16, < 5.16.25.16.2
5.x≥ 5.11, < 5.15.165.15.16
5.x≥ 5.5, < 5.10.935.10.93
5.x≥ 5.1, < 5.4.1735.4.173
8.4= 8.4no fix published
Netapp h300e firmwareversion to verify
BranchAffectedFixed in
—all versionsno fix published
Netapp h300s firmwareversion to verify
BranchAffectedFixed in
—all versionsno fix published

6 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • kernel
    Affected
    • = 8.4no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-02-25

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • :linux_kernel:Androidfrom :0 · fixed in :2022-06-05
  • dtb-aarch64openSUSE:Leap 15.3all versions · fixed in 5.3.18-150300.59.43.1and 11 other packages
  • kernelRocky Linux:8all versions · fixed in 0:4.18.0-348.12.2.el8_5
  • kernelRed Hat:rhel_eus:8.4::baseosall versions · fixed in 0:4.18.0-305.34.2.el8_4and 32 other packages
  • kernelRed Hat:enterprise_linux:8::baseosall versions · fixed in 0:4.18.0-348.12.2.el8_5and 31 other packages
  • kernelMageia:8all versions · fixed in 5.15.16-1.mga8and 1 other package
  • kernelAzure Linux:2all versions · fixed in 5.15.26.1-1
  • kernel-64kbSUSE:Linux Enterprise Module for Basesystem 15 SP3all versions · fixed in 5.3.18-150300.59.43.1and 4 other packages

136 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-0185 Red Hat Product Security392 products fixed

    kernel: fs_context: heap overflow in legacy parameter handling

  • RHSA-2022:0540 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.4.10-1]

  • RHSA-2022:0231 Red Hat Product Security70 products fixed

    Red Hat Security Advisory: kpatch-patch security update

  • RHSA-2022:0232 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: kpatch-patch security update

  • RHSA-2022:0188 Red Hat Product Security119 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

  • RHSA-2022:0186 Red Hat Product Security120 products fixed

    Red Hat Security Advisory: kernel security, bug fix, and enhancement update

2 more advisories

Full record on NVD

Fix

  1. Update Linux linux kernel to 5.16.2 · 5.15.16 · 5.10.93 · 5.4.173
  2. CISA’s required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.due 2024-09-11
  3. Vendor fix Red Hat Product Security RHSA-2022:0540 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  4. Vendor fix Red Hat Product Security RHSA-2022:0231 · 70 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  5. Vendor fix Red Hat Product Security RHSA-2022:0188 · 119 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
  6. Workaround from the vendor Red Hat Product Security RHSA-2022:0540 · 15 productsOn non-containerized deployments of Red Hat Enterprise Linux 8, you can disable user namespaces by setting user.max_user_namespaces to 0: # echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf # sysctl -p /etc/sysctl.d/userns.conf On containerized deployments, such as Red Hat OpenShift C…

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

CISA Known Exploited Vulnerability

Date Added
2024-08-21
Patch Due Date
2024-09-11
Ransomware Use
Unknown
Required Action
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

Sources

  • CISA KEVKEV entry2024-08-21
  • ENISA EUVDexploitation2024-08-212024-08-21
  • GCVEexploitation2024-08-21
  • CISA-ADPSSVC decisionactive2024-08-22
  • OpenCVESSVC decisionactive—
  • CISA-ADPCVSS 3.18.42024-08-20
  • NVDCVSS 3.18.4read 2026-10-23
  • NVDCVSS 2.07.2read 2026-10-23
  • CNAweakness (CWE)CWE-190known since 2026-10-23
  • NVDweakness (CWE)CWE-191read 2026-10-23
  • FIRST EPSSEPSS score25.2 %read 2026-11-03
  • PoC-in-GitHubproof of concept11read 2026-11-03
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-02-11
Last Modified
2026-06-17
NVD status
Analyzed

Frequently asked questions

What is CVE-2022-0185?

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.

Is CVE-2022-0185 actively exploited?

Yes. CVE-2022-0185 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2024-09-11.

What is the CVSS score for CVE-2022-0185?

CVE-2022-0185 has a CVSS v3 base score of 8.4 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record