Integer overflow in Linux Kernel
CVE-2022-0185
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.252 (97.9th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.252 · newest: 0.252 · change: 0.000
Affected products
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
Required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
Public proof-of-concept exploits
- Crusaders-of-Rust/CVE-2022-0185
- chenaotian/CVE-2022-0185
- veritas501/CVE-2022-0185-PipeVersion
- discordianfish/cve-2022-0185-crash-poc
- dcheng69/CVE-2022-0185-Case-Study
- featherL/CVE-2022-0185-exploit
- secjuhl/CVE-2022-0185
- sandesh9978/CVE-2022-0185-Analysis-and-Exploit
- shakyanayann/CVE-2022-0185
- prabeershakya/CVE-2022-0185-POC
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Mailing List)
- github.com/Crusaders-of-Rust/CVE-2022-0185 (Exploit, Third Party Advisory)
- www.openwall.com/lists/oss-security/2022/01/18/7 (Patch, Mailing List, Third Party Advisory)
- www.willsroot.io/2022/01/cve-2022-0185.html (Exploit, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220225-0003/ (Third Party Advisory)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (US Government Resource)
Frequently asked questions
- What is CVE-2022-0185?
- CVE-2022-0185 is a high-severity vulnerability in Linux Kernel, classified under Integer Overflow or Wraparound. CVSS score: 8.4/10. Published 2022-02-11.
- How severe is CVE-2022-0185?
- High severity. CVSS v3 base score is 8.4 out of 10.
- Is CVE-2022-0185 known to be exploited?
- Yes. CVE-2022-0185 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2024-08-21), indicating it is being actively exploited. 107 public proof-of-concept repositories are indexed.