CVE-2022-0185
published high CVSS 3.1 · 8.4kernel: fs_context: heap overflow in legacy parameter handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernel8.4 | Affected | Not stated | redhat |
| linux | — | linux_kernel8.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-009 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-021 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2022-076 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-070 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-305.34.2.el8_4 | RHSA-2022:0186 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-348.12.2.el8_5 | ALSA-2022:0188 |
| Debian | bullseye | linux | Advisory build | 5.10.92-1 | DSA-5050-1 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-348.12.2.el8_5 | RHSA-2022:0188 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-305.34.2.el8_4 | RHSA-2022:0186 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-348.12.2.el8_5 | RHSA-2022:0188 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-305.34.2.el8_4 | RHSA-2022:0186 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-348.12.2.el8_5 | RHSA-2022:0188 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.34.2.el8_4 | RHSA-2022:0186 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-348.12.2.el8_5 | RHSA-2022:0188 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-305.34.2.el8_4 | RHSA-2022:0186 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-348.12.2.el8_5 | RHSA-2022:0188 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7 | ELSA-2022-9029 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7 | ELSA-2022-9148 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7 | ELSA-2022-9029 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7 | ELSA-2022-9148 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el7uek | ELSA-2022-9028 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el7uek | ELSA-2022-9147 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8 | ELSA-2022-9029 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el8 | ELSA-2022-9148 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8 | ELSA-2022-9029 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el8 | ELSA-2022-9148 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.302.7.2.1.el8uek | ELSA-2022-9028 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.304.4.1.el8uek | ELSA-2022-9147 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-348.12.2.el8_5 | ELSA-2022-0188 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-305.34.2.el8_4 | RHSA-2022:0186 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-348.12.2.el8_5 | RHSA-2022:0188 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | 8.4 (affected) | redhat · cna |
| linux | linux_kernel | 8.4 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound CWE-190
References
6- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
- https://github.com/Crusaders-of-Rust/CVE-2022-0185
- https://security.netapp.com/advisory/ntap-20220225-0003/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185
- https://www.openwall.com/lists/oss-security/2022/01/18/7
- https://www.willsroot.io/2022/01/cve-2022-0185.html
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4f711fce4f5b7017443d7099587afa8881d39573c46d234a641281c487bf55cf
- Ingested
- 23 Sep 2026, 07:57:26 UTC
- Source record
- Official CVE record