CVE-2022-0185 kev in the critical feed json
A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux…
published 2022-02-11 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-15389
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Exploited
- added 2024-08-21
- epss
- 25.2%
- EPSS 25.2% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
cisa required action Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
- linux linux_kernel 5.4.173, 5.10.93, 5.15.16, 5.16.2
- linux Debian 14, Debian 13, Debian 12 5.15.15-1
debian advisories DEBIAN-CVE-2022-0185
- linux Ubuntu 20.04 LTS 5.4.0-96.109
- linux-aws Ubuntu 20.04 LTS 5.4.0-1063.66
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1062.66
- linux-gke Ubuntu 20.04 LTS 5.4.0-1059.62
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1012.13
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1053.55
- linux-azure Ubuntu 20.04 LTS 5.4.0-1067.70
- linux-gkeop Ubuntu 20.04 LTS 5.4.0-1031.32
ubuntu advisories UBUNTU-CVE-2022-0185
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- redhat-virtualization-host rhev hypervisor 4.4 4.4.10-202202081536_8.5
- redhat-virtualization-host-image-update rhev hypervisor 4.4 4.4.10-202202081536_8.5
- kernel-rt RHEL 8 4.18.0-348.12.2.rt7.143.el8_5
- kernel-rt-kvm RHEL 8 4.18.0-348.12.2.rt7.143.el8_5
- kernel-rt-core RHEL 8 4.18.0-348.12.2.rt7.143.el8_5
- kernel-rt-modules RHEL 8 4.18.0-348.12.2.rt7.143.el8_5
- kernel-rt-debug-kvm RHEL 8 4.18.0-348.12.2.rt7.143.el8_5
- kernel-rt-debug-core RHEL 8 4.18.0-348.12.2.rt7.143.el8_5
red hat advisories RHSA-2022:0540RHSA-2022:0176RHSA-2022:0232RHSA-2022:0231RHSA-2022:0188RHSA-2022:0186
- kernel-rt SLE Micro 5.0, Real Time Module 15 SP2 5.3.18-68.1
- kernel-syms-rt Real Time Module 15 SP2 5.3.18-68.1
- kernel-rt_debug Real Time Module 15 SP2 5.3.18-68.1
- kernel-source-rt Real Time Module 15 SP2 5.3.18-68.1
- kernel-rt SLE Micro 5.1, Real Time Module 15 SP3 5.3.18-150300.71.1
- kernel-syms-rt Real Time Module 15 SP3 5.3.18-150300.71.1
- kernel-rt_debug Real Time Module 15 SP3 5.3.18-150300.71.1
- kernel-source-rt Real Time Module 15 SP3 5.3.18-150300.71.1
suse advisories SUSE-SU-2022:0295-1SUSE-SU-2022:0293-1SUSE-SU-2022:0292-1SUSE-SU-2022:0291-1SUSE-SU-2022:0289-1SUSE-SU-2022:0288-1
- kernel-source openSUSE Tumbleweed 5.16.2-1.1
- kernel-source openSUSE Tumbleweed 6.6.17-1.1
- dtb-aarch64 openSUSE Leap 15.3 5.3.18-150300.59.43.1
- kernel-64kb openSUSE Leap 15.3 5.3.18-150300.59.43.1
- kernel-syms openSUSE Leap 15.3 5.3.18-150300.59.43.1
- kernel-obs-qa openSUSE Leap 15.3 5.3.18-150300.59.43.1
- kernel-source openSUSE Leap 15.3 5.3.18-150300.59.43.1
- kernel-default openSUSE Leap 15.3 5.3.18-150300.59.43.1
opensuse advisories openSUSE-SU-2024:11775-1openSUSE-SU-2024:13704-1openSUSE-SU-2022:0198-1openSUSE-SU-2022:0169-1
- kernel Rocky Linux 8 4.18.0-348.12.2.el8_5
- kernel-rt Rocky Linux 8 4.18.0-348.12.2.rt7.143.el8_5
rocky linux advisories RLSA-2022:0188RLSA-2022:0176
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-0185 updated cvss 7.8
kernel: fs_context: heap overflow in legacy parameter handling
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-348.12.2.el8_5, kernel-debuginfo-common-aarch64 4.18.0-348.12.2.el8_5, kernel-debuginfo-common-ppc64le 4.18.0-348.12.2.el8_5 Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-348.12.2.el8_5, kernel 4.18.0-348.12.2.el8_5, bpftool 4.18.0-348.12.2.el8_5, kpatch-patch-4_18_0-348 1-2.el8, kernel-core 4.18.0-348.12.2.el8_5, kernel-tools 4.18.0-348.12.2.el8_5, +18 morefixed: vendor fix RHSA-2022:0188
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) perf 4.18.0-305.34.2.el8_4, kernel 4.18.0-305.34.2.el8_4, bpftool 4.18.0-305.34.2.el8_4, kpatch-patch-4_18_0-305 1-10.el8, kernel-core 4.18.0-305.34.2.el8_4, kernel-tools 4.18.0-305.34.2.el8_4, +25 more Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-debuginfo-common-x86_64 4.18.0-305.34.2.el8_4, kernel-debuginfo-common-aarch64 4.18.0-305.34.2.el8_4, kernel-debuginfo-common-ppc64le 4.18.0-305.34.2.el8_4fixed: vendor fix RHSA-2022:0186
-
Red Hat Enterprise Linux for Real Time (v. 8) kernel-rt 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-core 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-modules 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-core 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-modules 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-modules-extra 4.18.0-348.12.2.rt7.143.el8_5, +2 morefixed: vendor fix RHSA-2022:0176
-
Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-kvm 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-core 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-modules 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-kvm 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-core 4.18.0-305.34.2.rt7.107.el8_4, +4 morefixed: vendor fix RHSA-2022:0187
-
Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-kvm 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-core 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-modules 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-kvm 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-core 4.18.0-348.12.2.rt7.143.el8_5, +4 morefixed: vendor fix RHSA-2022:0176
-
Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-core 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-modules 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-core 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-modules 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-modules-extra 4.18.0-305.34.2.rt7.107.el8_4, +2 morefixed: vendor fix RHSA-2022:0187
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.4.10-202202081536_8.5, redhat-virtualization-host-image-update 4.4.10-202202081536_8.5fixed: vendor fix RHSA-2022:0540
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux BaseOS (v. 8) kernel-doc 4.18.0-348.12.2.el8_5 Red Hat Virtualization 4 Hypervisor for RHEL 8 wget 1.19.5-10.el8, libmetalink 0.1.3-7.el8 Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.4.10-1.el8ev, redhat-release-virtualization-host-content 4.4.10-1.el8ev, redhat-virtualization-host-image-update-placeholder 4.4.10-1.el8evnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- Added to CISA KEV
- CISA SSVC: exploitation active
- CISA patch deadline
Known exploited
- Added
- 2 y ago
- Patch by
- 2024-09-11 (2 y ago)
- Ransomware
- Not known
- Required action
- Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
- Vendor, product
- Linux, Kernel
- CISA name
- Linux Kernel Heap-Based Buffer Overflow Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
25.15% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Crusaders-of-Rust/CVE-2022-0185 referenced PoC, tagged "exploit" by a source, unverified
- willsroot.io https://www.willsroot.io/2022/01/cve-2022-0185.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- n/a kernel
- linux linux_kernel
Classification
- Weakness
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
mailing-list, patch
-
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
-
willsroot.io
/2022/01/cve-2022-0185.html
exploit, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220225-0003/
third-party-advisory
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185
government-resource, us-government-resource
Sources
- CVE List CVE-2022-0185
- NVD CVE-2022-0185
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.