CVE-2022-0185

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.

Severity
HIGH
CVSS v3
8.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
25.151%
chance of exploitation in the next 30 days
higher than 98% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2024-08-21
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameLinux Kernel Heap-Based Buffer Overflow Vulnerability
Vendor / productLinux / Kernel
Date added2024-08-21
Federal remediation due date2024-09-11
Required actionApply updates per vendor instructions or discontinue use of the product if updates are unavailable.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2024-08-22

Timeline

  1. 2022-02-11Published by the CNA17:40 UTC
  2. 2024-08-21Added to the CISA KEV catalog922 days after publication
  3. 2024-08-22CISA SSVC decision recorded923 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
linux linux_kernelfrom 5.5 before 5.10.93fixed in 5.10.93from 5.11 before 5.15.16fixed in 5.15.16from 5.16 before 5.16.2fixed in 5.16.2from 5.1 before 5.4.173fixed in 5.4.1735.10.935.15.165.16.25.4.173
netapp h300e_firmware
netapp h300s_firmware
netapp h410c_firmware
netapp h410s_firmware
netapp h500e_firmware
netapp h500s_firmware
netapp h700e_firmware
netapp h700s_firmware

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources