CVE-2022-0185
Reported by redhat · Published February 11, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-devel | Amazon Linux | 6.1.10-15.42.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.10-15.42.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.10-15.42.amzn2023 |
| bpftool | Amazon Linux | 6.1.10-15.42.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | kernel | 8.4 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| linux | linux_kernel | 8.4 |
| amazon:2023 | kernel-livepatch-6.1.10-15.42 | 0 |
| n/a | kernel | 8.4 |
| linux | linux_kernel | |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
Timeline
- Jan 19, 2022 CVE Published
- Jan 26, 2022 VulnCheck XDB Entry (10 in total, the first dated here)
- Feb 12, 2022 EPSS Score (30 in total, the first dated here)
- Jun 8, 2023 CVE Updated
- Mar 21, 2024 VulnCheck KEV Exploitation (3 in total, the first dated here)
- Aug 21, 2024 CISA KEV Added
- Apr 3, 2026 Distribution Patch (12 in total, the first dated here)
- Apr 3, 2026 Security Advisory (15 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-0185
vulnetix vdb fixes CVE-2022-0185
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-0185/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185 url