draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

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

Exploited in attacks

Yes. CVE-2022-0185 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 21 August 2024. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 25.2%.

Exploited in real attacks
Yes. On CISA's exploited list since 21 August 2024
Used in ransomware
Not known
Public exploit code
None found in Exploit-DB, Metasploit or Nuclei
Chance of exploitation (EPSS)
25.2% in the next 30 days, higher than 98.0% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
8.4 High (version 3.1)
Affects
Linux Kernel
Type of flaw
Integer overflow (CWE-190)
Published
11 February 2022
US federal patch deadline
11 September 2024

What it is

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.

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 from the CVE record.

Is CVE-2022-0185 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2022-0185 on 21 August 2024. That was 2 years after the CVE was published, so attackers are still finding unpatched systems long after the fix.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

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

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Linux Kernel runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Kernel. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Linux products

CVEWhat it affectsStatusEPSSPublished
CVE-2026-46300Linux KernelPublic exploit23.6%23 May 2026
CVE-2025-39682Linux KernelNo public exploit found3.0%5 September 2025
CVE-2025-39964Linux KernelNo public exploit found1.6%13 October 2025
CVE-2026-53266Linux KernelNo public exploit found0.93%25 June 2026
CVE-2026-53362Linux KernelNo public exploit found1.3%4 July 2026
CVE-2022-0995Linux KernelPublic exploit8.9%25 March 2022

Sources

Machine-readable: /api/cve/CVE-2022-0185.json