CVE-2022-0847 kev in the critical feed json
A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…
published 2022-03-07 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-15890
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Exploited
- added 2022-04-25
- epss
- 92.8%
- EPSS 92.8% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system.
Patch / fix
cisa required action Apply updates per vendor instructions.
- linux linux_kernel 5.10.102, 5.15.25, 5.16.11
- siemens scalance_lpe9403_firmware 2.0
- linux Debian 14, Debian 13, Debian 12 5.16.11-1
debian advisories DEBIAN-CVE-2022-0847
- linux-aws-5.13 Ubuntu 20.04 LTS 5.13.0-1017.19~20.04.1
- linux-gcp-5.13 Ubuntu 20.04 LTS 5.13.0-1019.23~20.04.1
- linux-hwe-5.13 Ubuntu 20.04 LTS 5.13.0-35.40~20.04.1
- linux-oem-5.14 Ubuntu 20.04 LTS 5.14.0-1027.30
- linux-azure-5.13 Ubuntu 20.04 LTS 5.13.0-1017.19~20.04.1
- linux-intel-5.13 Ubuntu 20.04 LTS 5.13.0-1010.10
- linux-oracle-5.13 Ubuntu 20.04 LTS 5.13.0-1021.26~20.04.1
- linux-intel-iotg-5.15 Ubuntu 20.04 LTS 5.15.0-1008.11~20.04.1
ubuntu advisories UBUNTU-CVE-2022-0847
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
- kernel RHEL 8 4.18.0-348.20.1.el8_5
- perf RHEL 8 4.18.0-348.20.1.el8_5
- bpftool RHEL 8 4.18.0-348.20.1.el8_5
- kernel-core RHEL 8 4.18.0-348.20.1.el8_5
- kernel-tools RHEL 8 4.18.0-348.20.1.el8_5
- python3-perf RHEL 8 4.18.0-348.20.1.el8_5
- kernel-modules RHEL 8 4.18.0-348.20.1.el8_5
- kernel-zfcpdump RHEL 8 4.18.0-348.20.1.el8_5
red hat advisories RHSA-2022:0825RHSA-2022:0841RHSA-2022:0819RHSA-2022:0823RHSA-2022:0821RHSA-2022:0820
- kernel-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.91.1
- kernel-syms-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.91.1
- kernel-source-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.91.1
- kernel-rt SLE Micro 5.1, Real Time Module 15 SP3 5.3.18-150300.79.1
- kernel-syms-rt Real Time Module 15 SP3 5.3.18-150300.79.1
- kernel-rt_debug Real Time Module 15 SP3 5.3.18-150300.79.1
- kernel-source-rt Real Time Module 15 SP3 5.3.18-150300.79.1
- kernel-rt SLE Micro 5.0, Real Time Module 15 SP2 5.3.18-76.1
suse advisories SUSE-SU-2022:0765-1SUSE-SU-2022:0763-1SUSE-SU-2022:0764-1SUSE-SU-2022:0761-1SUSE-SU-2022:0766-1SUSE-SU-2022:0767-1
- kernel-source openSUSE Tumbleweed 5.16.14-1.1
- kernel-source openSUSE Tumbleweed 6.6.17-1.1
- kernel-default openSUSE Leap 15.3 4.12.14-197.108.1
- kernel-vanilla openSUSE Leap 15.3 4.12.14-197.108.1
- kernel-kvmsmall openSUSE Leap 15.3 4.12.14-197.108.1
- kernel-zfcpdump openSUSE Leap 15.3 4.12.14-197.108.1
- dtb-aarch64 openSUSE Leap 15.3 5.3.18-150300.59.54.1
- kernel-64kb openSUSE Leap 15.3 5.3.18-150300.59.54.1
opensuse advisories openSUSE-SU-2024:11910-1openSUSE-SU-2024:13704-1openSUSE-SU-2022:0768-1openSUSE-SU-2022:0760-1openSUSE-SU-2022:0755-1
- kernel Rocky Linux 8 4.18.0-348.20.1.el8_5
- kernel-rt Rocky Linux 8 4.18.0-348.20.1.rt7.150.el8_5
rocky linux advisories RLSA-2022:0825RLSA-2022:0819
- kernel CBL-Mariner 2.0 5.15.26.1-1
azure linux advisories AZL-8900
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- linux Arch Linux 5.16.11-1
arch linux advisories AVG-2652
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-0847 updated cvss 7.8
kernel: improper initialization of the "flags" member of the new pipe_buffer
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-348.20.1.el8_5, kernel-debuginfo-common-aarch64 4.18.0-348.20.1.el8_5, kernel-debuginfo-common-ppc64le 4.18.0-348.20.1.el8_5fixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0825
-
Red Hat CodeReady Linux Builder EUS (v. 8.2) kernel-debuginfo-common-x86_64 4.18.0-193.79.1.el8_2, kernel-debuginfo-common-aarch64 4.18.0-193.79.1.el8_2, kernel-debuginfo-common-ppc64le 4.18.0-193.79.1.el8_2fixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0820
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-348.20.1.el8_5, kernel 4.18.0-348.20.1.el8_5, bpftool 4.18.0-348.20.1.el8_5, kernel-core 4.18.0-348.20.1.el8_5, kernel-tools 4.18.0-348.20.1.el8_5, python3-perf 4.18.0-348.20.1.el8_5, +15 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0825
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.1) perf 4.18.0-147.64.1.el8_1, kernel 4.18.0-147.64.1.el8_1, bpftool 4.18.0-147.64.1.el8_1, kernel-core 4.18.0-147.64.1.el8_1, kernel-tools 4.18.0-147.64.1.el8_1, python3-perf 4.18.0-147.64.1.el8_1, +9 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0823
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) perf 4.18.0-193.79.1.el8_2, kernel 4.18.0-193.79.1.el8_2, bpftool 4.18.0-193.79.1.el8_2, kernel-core 4.18.0-193.79.1.el8_2, kernel-tools 4.18.0-193.79.1.el8_2, python3-perf 4.18.0-193.79.1.el8_2, +15 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0820
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) perf 4.18.0-305.40.2.el8_4, kernel 4.18.0-305.40.2.el8_4, bpftool 4.18.0-305.40.2.el8_4, kernel-core 4.18.0-305.40.2.el8_4, kernel-tools 4.18.0-305.40.2.el8_4, python3-perf 4.18.0-305.40.2.el8_4, +15 more Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-debuginfo-common-x86_64 4.18.0-305.40.2.el8_4, kernel-debuginfo-common-aarch64 4.18.0-305.40.2.el8_4, kernel-debuginfo-common-ppc64le 4.18.0-305.40.2.el8_4fixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0831
-
Red Hat Enterprise Linux for Real Time (v. 8) kernel-rt 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-core 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-modules 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-debug-core 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-debug-modules 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-modules-extra 4.18.0-348.20.1.rt7.150.el8_5, +2 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0819
-
Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-kvm 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-core 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-modules 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-debug-kvm 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-debug-core 4.18.0-305.40.2.rt7.113.el8_4, +4 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0822
show 6 moreshow fewer
-
Red Hat Enterprise Linux Real Time EUS (v. 8.2) kernel-rt 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-core 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-modules 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-debug-core 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-debug-modules 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-modules-extra 4.18.0-193.79.1.rt13.129.el8_2, +2 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0821
-
Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-kvm 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-core 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-modules 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-debug-kvm 4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-debug-core 4.18.0-348.20.1.rt7.150.el8_5, +4 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0819
-
Red Hat Enterprise Linux Real Time for NFV EUS (v. 8.2) kernel-rt 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-kvm 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-core 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-modules 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-debug-kvm 4.18.0-193.79.1.rt13.129.el8_2, kernel-rt-debug-core 4.18.0-193.79.1.rt13.129.el8_2, +4 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0821
-
Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-core 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-modules 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-debug-core 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-debug-modules 4.18.0-305.40.2.rt7.113.el8_4, kernel-rt-modules-extra 4.18.0-305.40.2.rt7.113.el8_4, +2 morefixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0822
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.4.10-202203101736_8.5, redhat-virtualization-host-image-update 4.4.10-202203101736_8.5fixed: vendor fix “Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.” RHSA-2022:0841
-
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 RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.4.10-2.el8ev, redhat-release-virtualization-host-content 4.4.10-2.el8ev, redhat-virtualization-host-image-update-placeholder 4.4.10-2.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
cisa ICSA-22-167-09 updated cvss 7.8
Siemens SCALANCE LPE9403 Third-Party Vulnerabilities
-
Siemens SCALANCE LPE9403 <V2.0affected: fixed in V2.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Timeline
- First public exploit (Metasploit exploit/linux/local/cve_2022_0847_dirtypipe)
- Published
- Added to CISA KEV
- CISA patch deadline
- CISA SSVC: exploitation active
Known exploited
- Added
- 4 y ago
- Patch by
- 2022-05-16 (4 y ago)
- Ransomware
- Not known
- Required action
- Apply updates per vendor instructions.
- Vendor, product
- Linux, Kernel
- CISA name
- Linux Kernel Privilege Escalation Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- no
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
92.80% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/local/cve_2022_0847_dirtypipe Dirty Pipe Local Privilege Escalation via CVE-2022-0847 metasploit exploit, excellent rank, 2022-02-20
- EDB-50808 Linux Kernel 5.8 < 5.16.11 - Local Privilege Escalation (DirtyPipe) local, 2022-03-08
- dirtypipe.cm4all.com https://dirtypipe.cm4all.com/ referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/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
Classification
- Weakness
-
- CWE-665 Improper Initialization
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2060795
issue-tracking, patch, third-party-advisory
-
dirtypipe.cm4all.com
/
exploit, third-party-advisory
-
packetstormsecurity.com
/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html
exploit, third-party-advisory, vdb-entry
-
packetstormsecurity.com
/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html
exploit, third-party-advisory, vdb-entry
-
packetstormsecurity.com
/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html
exploit, third-party-advisory, vdb-entry
-
suse.com
/support/kb/doc/?id=000020603
third-party-advisory
-
security.netapp.com
/advisory/ntap-20220325-0005/
third-party-advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-222547.pdf
third-party-advisory
-
psirt.global.sonicwall.com
/vuln-detail/SNWLID-2022-0015
third-party-advisory
-
packetstormsecurity.com
/files/176534/Linux-4.20-KTLS-Read-Only-Write.html
third-party-advisory, vdb-entry
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847
government-resource, us-government-resource
Sources
- CVE List CVE-2022-0847
- NVD CVE-2022-0847
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.