Integer overflow in kernel
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | kernel | 8.4 | — | No fix listed | CNA |
- kernel Vendor— Affected 8.4 Fixed in — No fix listed CNA
CPE configurations NVD · 17
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.1 to before 5.4.173; 5.5 to before 5.10.93; 5.11 to before 5.15.16; 5.16 to before 5.16.2 | Vulnerable | Linux |
| cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.1 to before 5.4.173; 5.5 to before 5.10.93; 5.11 to before 5.15.16; 5.16 to before 5.16.2 Vulnerable ·Linux
- cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Show 7 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:h:netapp:h300e:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h500e:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h700e:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
- cpe:2.3:h:netapp:h300e:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h500e:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h700e:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
Remediation
Red Hat 7 advisories
- RHSA-2022:0540 Released 2022-02-15 · Red Hat rating ImportantRed Hat Virtualization Host security update [ovirt-4.4.10-1]
- 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.5
- RHSA-2022:0231 Released 2022-01-24 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) kpatch-patch-4_18_0-305-1-10.el8, kpatch-patch-4_18_0-305_10_2-1-7.el8_4, kpatch-patch-4_18_0-305_12_1-1-6.el8_4 +7
- RHSA-2022:0232 Released 2022-01-24 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-348-1-2.el8, kpatch-patch-4_18_0-348_2_1-1-1.el8_5, kpatch-patch-4_18_0-348_7_1-1-1.el8_5
Show 4 more Red Hat advisories
- RHSA-2022:0188 Released 2022-01-19 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-348.12.2.el8_5
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-348.12.2.el8_5, kernel-4.18.0-348.12.2.el8_5, kernel-abi-stablelists-4.18.0-348.12.2.el8_5 +18
- RHSA-2022:0186 Released 2022-01-19 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) bpftool-4.18.0-305.34.2.el8_4, kernel-4.18.0-305.34.2.el8_4, kernel-abi-stablelists-4.18.0-305.34.2.el8_4 +19
- Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-tools-libs-devel-4.18.0-305.34.2.el8_4
- RHSA-2022:0187 Released 2022-01-19 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV 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-debug-4.18.0-305.34.2.rt7.107.el8_4 +9
- 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-debug-4.18.0-305.34.2.rt7.107.el8_4 +7
- RHSA-2022:0176 Released 2022-01-19 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time for NFV (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-debug-4.18.0-348.12.2.rt7.143.el8_5 +9
- 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-debug-4.18.0-348.12.2.rt7.143.el8_5 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2022:0188 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:0188, RHSA-2022:0232 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2022:0186, RHSA-2022:0231 |
| Red Hat Enterprise Linux CRB EUS (v.8.4) | Fixed | RHSA-2022:0186 |
| Red Hat Enterprise Linux NFV EUS (v.8.4) | Fixed | RHSA-2022:0187 |
| Red Hat Enterprise Linux RT EUS (v.8.4) | Fixed | RHSA-2022:0187 |
| Red Hat Enterprise Linux Real Time for NFV (v. 8) | Fixed | RHSA-2022:0176 |
| Red Hat Enterprise Linux for Real Time (v. 8) | Fixed | RHSA-2022:0176 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2022:0540 |
Not affected: 6 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux BaseOS (v. 8)
- Red Hat Virtualization 4 Hypervisor for RHEL 8
Timeline
- 2024-08-21 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2022-0185
References
Exploit 2
Patch 2
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
- TI-2023-00252 Use after free in SNDRV_CTL_IOCTL_ELEM in Linux Kernel KEVCVSS 3.1HIGH 7.9
Sources
- CVE-2022-0185 · CVE Program
- CVE-2022-0185 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- CVE-2022-0185 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences