CVE-2022-0185Linux Kernel Heap-Based Buffer Overflow Vulnerability
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
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.
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.
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.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
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.
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 products | Versions |
|---|---|
| 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 | Not specified |
| netapp H300s Firmware | Not specified |
| netapp H500s Firmware | Not specified |
| netapp H700s Firmware | Not specified |
| netapp H300e Firmware | Not specified |
| netapp H500e Firmware | Not specified |
| netapp H700e Firmware | Not specified |
| netapp H410s Firmware | Not specified |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- 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
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2(Mailing List, Patch)
- www.openwall.com/lists/oss-security/2022/01/18/7(Mailing List, Patch, Third Party Advisory)
- github.com/Crusaders-of-Rust/CVE-2022-0185(Exploit, 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)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.