Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

89
Patch now
HIGH 8.4EXPLOITEDWATCHLISTUPGRADEMITIGATEMITIGATE

CVE-2022-0185 is a high-severity flaw (CVSS 8.4) affecting linux kernel, h410c firmware, h300s firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 fla

Why this priority

  • High severity
  • EPSS top 2%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score8.4 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance25.2% (top 2%)
CISA exploited listYes, fix due 2024-09-11
WeaknessCWE-190, CWE-191
Published2022-02-11
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: linux · netapp

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

linux linux kernel UPGRADE
Affected: >= 5.1 and < 5.4.173 · >= 5.5 and < 5.10.93 · >= 5.11 and < 5.15.16 · >= 5.16 and < 5.16.2
Fixed in: 5.4.173, 5.10.93, 5.15.16, 5.16.2
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h410c firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h300s firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h500s firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h700s firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h300e firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · nemo · FIXED · 6.8.0-1.fc46 · FEDORA-2026-0edead723f · source
sudo dnf upgrade --advisory=FEDORA-2026-0edead723f
Fedora ELN · composer · FIXED · 2.11.1-1.eln159 · FEDORA-2026-cb4f992456 · source
sudo dnf upgrade --advisory=FEDORA-2026-cb4f992456
Ubuntu 20.04 · linux · FIXED · 5.4.0-96.109
sudo apt update && sudo apt install --only-upgrade linux dpkg --compare-versions "$(dpkg-query -W -f='${Version}' linux)" ge "5.4.0-96.109" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 22.04 · linux · NOT AFFECTED
Ubuntu 24.04 · linux · NOT AFFECTED
Ubuntu 24.10 · linux · NOT AFFECTED
Ubuntu 25.04 · linux · NOT AFFECTED
Debian 12 · linux · FIXED · 5.15.15-1
sudo apt update && sudo apt install --only-upgrade linux dpkg --compare-versions "$(dpkg-query -W -f='${Version}' linux)" ge "5.15.15-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · linux · FIXED · 5.15.15-1
sudo apt update && sudo apt install --only-upgrade linux dpkg --compare-versions "$(dpkg-query -W -f='${Version}' linux)" ge "5.15.15-1" && echo PATCHED || echo STILL-VULNERABLE
RHEL 8 · kernel-rt · FIXED · kernel-rt-4.18.0-348.12.2.rt7.143.el8_5
sudo dnf upgrade --advisory=RHSA-2022:0176 rpm -q kernel-rt
RHEL 8 · kernel · FIXED · kernel-4.18.0-348.12.2.el8_5
sudo dnf upgrade --advisory=RHSA-2022:0188 rpm -q kernel
RHEL 8.4 Extended Update Support · kernel-rt · FIXED · kernel-rt-4.18.0-305.34.2.rt7.107.el8_4
sudo dnf upgrade --advisory=RHSA-2022:0187 rpm -q kernel-rt
RHEL 8.4 Extended Update Support · kernel · FIXED · kernel-4.18.0-305.34.2.el8_4
sudo dnf upgrade --advisory=RHSA-2022:0186 rpm -q kernel
RHEL 6 · kernel · NOT AFFECTED
Amazon Linux 2023 · see advisory · FIXED · ALAS2023-2023-070 · source
sudo dnf update --advisory=ALAS2023-2023-070

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-0185?

linux kernel: upgrade to 5.4.173, 5.10.93, 5.15.16, 5.16.2; h410c firmware: mitigate or apply the listed mitigation; h300s firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2022-0185 being exploited?

Yes. CVE-2022-0185 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2022-0185 affect?

CVE-2022-0185 affects linux kernel, h410c firmware, h300s firmware. Severity is high (CVSS 8.4). 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 namesp

How urgent is CVE-2022-0185?

Priority 89/100. High severity; EPSS top 2%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; On your watchlist

Software pages

Linux kernel vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.