CVE-2022-0185
Exploitation confirmed. First attested on 2024-08-21 by CISA-ADP, CISA KEV, GCVE · kevintel.
- Published2022-02-11
- Fixed in5.16.2 · 5.15.16 · 5.10.93 · 5.4.173
- WeaknessCWE-190 · CWE-191
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCObserved activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-0185?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-0185?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.16 | ≥ 5.16, < 5.16.2 | 5.16.2 | NVD |
| 5.x | ≥ 5.11, < 5.15.16 | 5.15.16 | NVD |
| 5.x | ≥ 5.5, < 5.10.93 | 5.10.93 | NVD |
| 5.x | ≥ 5.1, < 5.4.173 | 5.4.173 | NVD |
| 8.4 | = 8.4 | no fix published | CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
6 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- kernelAffected
- = 8.4no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-02-25
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- :linux_kernel:Androidfrom :0 · fixed in :2022-06-05
- dtb-aarch64openSUSE:Leap 15.3all versions · fixed in 5.3.18-150300.59.43.1and 11 other packages
- kernelRocky Linux:8all versions · fixed in 0:4.18.0-348.12.2.el8_5
- kernelRed Hat:rhel_eus:8.4::baseosall versions · fixed in 0:4.18.0-305.34.2.el8_4and 32 other packages
- kernelRed Hat:enterprise_linux:8::baseosall versions · fixed in 0:4.18.0-348.12.2.el8_5and 31 other packages
- kernelMageia:8all versions · fixed in 5.15.16-1.mga8and 1 other package
- kernelAzure Linux:2all versions · fixed in 5.15.26.1-1
- kernel-64kbSUSE:Linux Enterprise Module for Basesystem 15 SP3all versions · fixed in 5.3.18-150300.59.43.1and 4 other packages
136 more package ranges on OSV.dev
Vendor advisories
kernel: fs_context: heap overflow in legacy parameter handling
Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.4.10-1]
Red Hat Security Advisory: kpatch-patch security update
Red Hat Security Advisory: kpatch-patch security update
Red Hat Security Advisory: kernel security and bug fix update
Red Hat Security Advisory: kernel security, bug fix, and enhancement update
2 more advisories
Fix
- Update Linux linux kernel to 5.16.2 · 5.15.16 · 5.10.93 · 5.4.173
- CISA’s required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.due 2024-09-11
- Vendor fix Red Hat Product Security RHSA-2022:0540 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
- Vendor fix Red Hat Product Security RHSA-2022:0231 · 70 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:0188 · 119 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
- Workaround from the vendor Red Hat Product Security RHSA-2022:0540 · 15 productsOn non-containerized deployments of Red Hat Enterprise Linux 8, you can disable user namespaces by setting user.max_user_namespaces to 0: # echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf # sysctl -p /etc/sysctl.d/userns.conf On containerized deployments, such as Red Hat OpenShift C…
Advisories and patches
- git.kernel.orgPatch
- www.openwall.comPatch
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 11 repositories, unverifiedCrusaders-of-Rust/CVE-2022-0185discordianfish/cve-2022-0185-crash-pockhaclep007/CVE-2022-0185chenaotian/CVE-2022-0185veritas501/CVE-2022-0185-PipeVersion PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2024-08-21
- Patch Due Date
- 2024-09-11
- Ransomware Use
- Unknown
- Required Action
- Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
Sources
- CISA KEVKEV entry2024-08-21
- ENISA EUVDexploitation2024-08-212024-08-21
- GCVEexploitation2024-08-21
- CISA-ADPSSVC decisionactive2024-08-22
- OpenCVESSVC decisionactive—
- CISA-ADPCVSS 3.18.42024-08-20
- NVDCVSS 3.18.4read 2026-10-23
- NVDCVSS 2.07.2read 2026-10-23
- CNAweakness (CWE)CWE-190known since 2026-10-23
- NVDweakness (CWE)CWE-191read 2026-10-23
- FIRST EPSSEPSS score25.2 %read 2026-11-03
- PoC-in-GitHubproof of concept11read 2026-11-03
- OSVaffected packages—
Identifiers
- AZL-8578same flawAzure Linux · MIT
- EUVD-2022-15389same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- PUB-A-213172369same flawAndroid Security Bulletins · CC-BY-4.0
- ALSA-2022:0188advisory covering several CVEsAlmaLinux · MIT
- DSA-5050-1advisory covering several CVEsDebian · LicenseRef-unstated
- LSN-0084-1advisory covering several CVEsUbuntu
- MGASA-2022-0026advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2022-0027advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2022:0169-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2022:0198-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11775-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13704-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:0176advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0186advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0187advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0188advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0231advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0232advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0540advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:0176advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:0188advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:0169-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0197-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0198-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0238-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0239-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0241-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0254-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0257-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0262-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0270-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0288-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0289-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0291-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0292-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0293-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0295-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5240-1advisory covering several CVEsUbuntu
- USN-5362-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2022-02-11
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2022-0185?
Is CVE-2022-0185 actively exploited?
What is the CVSS score for CVE-2022-0185?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0