CVE-2022-0185

From Exploited flaws, HARD’s guide to the flaws being used in attacks · Checked
This article is about a flaw in Linux Kernel. For every flaw being used in attacks, see Exploited flaws; for Linux’s, see Linux flaws being used in attacks.

CVE-2022-0185 is a security flaw in Linux Kernel, the core of Linux, which runs most servers, Android phones and many home routers. Someone who already has a foothold can use Linux Kernel to take full control of the machine. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 21 Aug 2024.[1]

Linux Kernel is business software or equipment. Most families won’t have it, but attackers break into it to get inside companies, and from there to what those companies hold about their customers, patients and staff. Linux has published a fix or advice.

Description

CISA calls it a heap-based buffer overflow in Linux Kernel. In its words: “Linux kernel contains a heap-based buffer overflow vulnerability in the legacy_parse_param function in the Filesystem Context functionality. This allows an attacker to open a filesystem that does not support the Filesystem Context API and ultimately escalate privileges.”[1]

The CVE record adds: “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.”[2]

The underlying weakness is integer overflow (CWE-190), in MITRE’s list of common software weaknesses.

It scores 8.4 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by NVD using CVSS 3.1.[2]

Affected versions

NVD’s record doesn’t list version ranges for it; Linux’s advisory has them[3]. CISA names the product as Linux Kernel.

Most families won’t have Linux Kernel; it’s for whoever looks after IT at work.

Exploitation

CISA added it to its catalog of known exploited vulnerabilities on 21 Aug 2024, 922 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 11 Sep 2024 to fix it.[1]

FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 25%. That’s in the top 3% of the flaws it scores.[4]

CISA assesses it as not automatable: each attack takes some work.

CISA doesn’t say who was attacked, or how.

Fix

Linux has published a fix or advice.[3] CISA’s required action: “Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.”[1]

  1. Check whether you use it.Linux Kernel is business software or equipment, so most families won’t have it. If you run a business, or work from home on company equipment, ask whoever looks after your IT.
  2. Send this page to your IT person.Ask them to confirm it’s fixed, or not in use. CISA gave US government agencies until 11 Sep 2024 to fix it.
  3. If it can’t be fixed, take it offline.CISA’s advice when there’s no fix is to stop using the product, or take it off the internet, until there is one.

You can’t fix someone else’s server, but you can watch for what follows a break-in like this: a breach notice, a password reset you didn’t ask for, or a scam message that knows things it shouldn’t. HARD watches for those for you and your family.

Timeline

DateEvent
The flaw is made public in the National Vulnerability Database, with a severity score of 8.4.[2]
CISA adds it to its catalog of flaws known to be used in attacks.[1]
CISA’s deadline for US government agencies to fix it.[1]
FIRST puts the odds of it being used in attacks in the next 30 days at 25%.[4]

See also

Other Linux Kernel flaws

Other integer overflow flaws

  • CVE-2026-97229, GitLab Community Edition and Enterprise Edition: integer overflow or wraparound ·
  • CVE-2025-48595, Android Framework: integer overflow ·
  • CVE-2021-30952, Apple devices: integer overflow or wraparound ·
  • CVE-2026-21385, Qualcomm Multiple Chipsets: memory corruption ·
  • CVE-2025-24985, Microsoft Windows: fast FAT file system driver integer overflow ·

Added the same day

  • CVE-2021-33045, Dahua IP Camera Firmware: IP camera authentication bypass ·
  • CVE-2021-33044, Dahua IP Camera Firmware: IP camera authentication bypass ·
  • CVE-2021-31196, Microsoft Exchange Server: information disclosure ·

Every Linux flaw on CISA’s list · Everything added in August 2024

References

  1. ^ Cybersecurity and Infrastructure Security Agency. “Linux Kernel Heap-Based Buffer Overflow Vulnerability”. Known Exploited Vulnerabilities Catalog, added 21 Aug 2024.
  2. ^ National Institute of Standards and Technology. “CVE-2022-0185 Detail”. National Vulnerability Database, published 11 Feb 2022.
  3. ^ Linux. Advisories and fixes: git.kernel.org, git.kernel.org, openwall.com.
  4. ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.252, percentile 97.9, 31 Oct 2026.
  5. CVE Program. “CVE-2022-0185”. The official CVE record.

This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.