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
- CWE-190: Integer Overflow or Wraparound
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Linux Kernel Heap-Based Buffer Overflow Vulnerability |
|---|---|
| Vendor / product | Linux / Kernel |
| Date added | 2024-08-21 |
| Federal remediation due date | 2024-09-11 |
| Required action | Apply updates per vendor instructions or discontinue use of the product if updates are unavailable. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2024-08-22 |
Timeline
- 2022-02-11Published by the CNA17:40 UTC
- 2024-08-21Added to the CISA KEV catalog922 days after publication
- 2024-08-22CISA SSVC decision recorded923 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | from 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.173 | 5.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 |
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
- https://www.openwall.com/lists/oss-security/2022/01/18/7
- https://github.com/Crusaders-of-Rust/CVE-2022-0185
- https://www.willsroot.io/2022/01/cve-2022-0185.html
- https://security.netapp.com/advisory/ntap-20220225-0003/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-0185'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-0185'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-0185'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-0185'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2022-0185'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).