Skip to content
RedCVE

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

ExploitedLinuxnetappPublished:

CVSS score

8.4

High

CVSS 3.1 from NVD

Exploit probability (EPSS)

25.2%

25.2% chance of exploitation in the next 30 days, higher than 98.0% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 21 Aug 2024.

US federal deadline to fix: 11 Sept 2024.

Official 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: NVD · CNA: secalert@redhat.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 21 Aug 2024.

    US federal agencies must fix it by 11 Sept 2024. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
  2. Check whether you're affected

    Find every system running Linux Kernel, netapp H410c Firmware, netapp H300s Firmware, netapp H500s Firmware, netapp H700s Firmware and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Linux Kernel to 5.4.173, 5.10.93, 5.15.16, 5.16.2 or later, on the branch you run.
  4. If you can't update right away

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Linux Linux Kernel≥ 5.1, < 5.4.173 · ≥ 5.5, < 5.10.93 · ≥ 5.11, < 5.15.16 · ≥ 5.16, < 5.16.2 · 8.4
netapp H410c FirmwareNot specified
netapp H300s FirmwareNot specified
netapp H500s FirmwareNot specified
netapp H700s FirmwareNot specified
netapp H300e FirmwareNot specified
netapp H500e FirmwareNot specified
netapp H700e FirmwareNot specified
netapp H410s FirmwareNot specified

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2022-0185 being exploited?

Yes. CISA added CVE-2022-0185 to its Known Exploited Vulnerabilities catalog on 21 Aug 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 25.2% probability of exploitation in the next 30 days.

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

CVE-2022-0185 has a CVSS 3.1 base score of 8.4 (high).

Which versions are affected?

Linux Linux Kernel (≥ 5.1, < 5.4.173; ≥ 5.5, < 5.10.93; ≥ 5.11, < 5.15.16; ≥ 5.16, < 5.16.2; 8.4), Netapp H410c Firmware, Netapp H300s Firmware, Netapp H500s Firmware, Netapp H700s Firmware, Netapp H300e Firmware

Is there a patch for CVE-2022-0185?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.