CVEvulnerability
CVE-2022-0185
CISA Known Exploited Vulnerability
Linux Kernel Heap-Based Buffer Overflow Vulnerability — Linux Kernel
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.
- Added to KEV
- 2024-08-21
- Remediation due
- 2024-09-11
- Ransomware use
- Unknown
- Required action
- Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
- Notes
- This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=722d94847de2; https://nvd.nist.gov/vuln/detail/CVE-2022-0185
- Status
- Analyzed
- Published
- 2022-02-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.4 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.4 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-190, CWE-191
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.
Affected configurations
• linux linux kernel (>= 5.1 < 5.4.173)
• linux linux kernel (>= 5.5 < 5.10.93)
• linux linux kernel (>= 5.11 < 5.15.16)
• linux linux kernel (>= 5.16 < 5.16.2)
• netapp h410c firmware
• netapp h300s firmware
• netapp h500s firmware
• netapp h700s firmware
• netapp h300e firmware
• netapp h500e firmware
• netapp h700e firmware
• netapp h410s firmware
Related
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2 Mailing List, Patch
- https://github.com/Crusaders-of-Rust/CVE-2022-0185 Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220225-0003/ Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/18/7 Mailing List, Patch, Third Party Advisory
- https://www.willsroot.io/2022/01/cve-2022-0185.html Exploit, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2 Mailing List, Patch
- https://github.com/Crusaders-of-Rust/CVE-2022-0185 Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220225-0003/ Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/18/7 Mailing List, Patch, Third Party Advisory
- https://www.willsroot.io/2022/01/cve-2022-0185.html Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185 US Government Resource