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
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.
- BDU:2022-01166
- ALSA-2022:0825
- DSA-5092-1
- openSUSE-SU-2022:0755-1
- openSUSE-SU-2022:0760-1
- openSUSE-SU-2022:0768-1
- openSUSE-SU-2024:11910-1
- RHSA-2022:0819
- RHSA-2022:0820
- RHSA-2022:0821
- RHSA-2022:0822
- RHSA-2022:0823
- RHSA-2022:0825
- RHSA-2022:0831
- RHSA-2022:0841
- RLSA-2022:0819
- RLSA-2022:0825
- SUSE-SU-2022:0755-1
- SUSE-SU-2022:0757-1
- SUSE-SU-2022:0759-1
- Published
- Mar 10, 2022
- Updated
- Jun 17, 2026
- EPSS
- 92.8% · 100th percentile
- CWE
- CWE-665
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
89
Now
Patch today or shut off access.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 28 / 30 · 92.8%
CISA SSVC decision
- Exploitation
- active
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Apr 25, 2022. That signals real attacks, not theory.
Remediation deadline for government agencies: May 16, 2022.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for ibm z systems eus | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
| redhat | enterprise linux for real time | cpe:2.3:o:redhat:enterprise_linux_for_real_time |
| redhat | enterprise linux for real time for nfv | cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv |
| redhat | enterprise linux for real time for nfv tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv_tus |
| redhat | enterprise linux for real time tus | cpe:2.3:o:redhat:enterprise_linux_for_real_time_tus |
and 27 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- sonicwall sma1000 firmwareup to 12.4.2-02044 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a kernel
- Linux Kernel 5.17 rc6affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | before 4.18.0-348.20.1.el8_5 | 4.18.0-348.20.1.el8_5 |
| Debian:11 | linux | before 5.10.92-2 | 5.10.92-2 |
| Debian:12 | linux | before 5.16.11-1 | 5.16.11-1 |
| openSUSE:Leap 15.3 | dtb-aarch64 | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-64kb | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-azure | before 5.3.18-150300.38.47.1 | 5.3.18-150300.38.47.1 |
| openSUSE:Leap 15.3 | kernel-debug | before 4.12.14-197.108.1 | 4.12.14-197.108.1 |
| openSUSE:Leap 15.3 | kernel-debug | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-default | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-default | before 4.12.14-197.108.1 | 4.12.14-197.108.1 |
| openSUSE:Leap 15.3 | kernel-default-base | before 5.3.18-150300.59.54.1.150300.18.35.3 | 5.3.18-150300.59.54.1.150300.18.35.3 |
| openSUSE:Leap 15.3 | kernel-docs | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-kvmsmall | before 4.12.14-197.108.1 | 4.12.14-197.108.1 |
| openSUSE:Leap 15.3 | kernel-kvmsmall | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-obs-build | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-obs-qa | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-preempt | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-source | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-source-azure | before 5.3.18-150300.38.47.1 | 5.3.18-150300.38.47.1 |
| openSUSE:Leap 15.3 | kernel-syms | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
| openSUSE:Leap 15.3 | kernel-syms-azure | before 5.3.18-150300.38.47.1 | 5.3.18-150300.38.47.1 |
| openSUSE:Leap 15.3 | kernel-vanilla | before 4.12.14-197.108.1 | 4.12.14-197.108.1 |
| openSUSE:Leap 15.3 | kernel-zfcpdump | before 4.12.14-197.108.1 | 4.12.14-197.108.1 |
| openSUSE:Leap 15.3 | kernel-zfcpdump | before 5.3.18-150300.59.54.1 | 5.3.18-150300.59.54.1 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Now
- CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV77This week
- CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV77This week
- CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV77This week
- CVE-2014-3153The futex_requeue function in kernel/futex.c in the Linux kernel through 3.14.5 does not ensure that calls have two different futex addresseKEV72This week
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:kernel-tools-libs-devel | 4.18.0-348.20.1.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 5.16.11-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-64kb | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-azure | 5.3.18-150300.38.47.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-debug | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-default | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-default-base | 5.3.18-150300.59.54.1.150300.18.35.3 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-docs | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-obs-build | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-obs-qa | 5.3.18-150300.59.54.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-source-azure | 5.3.18-150300.38.47.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 5.3.18-150300.38.47.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:kernel-rt | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-core | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-core | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-debuginfo | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-devel | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-kvm | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-modules | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-modules-extra | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debuginfo | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debuginfo-common-x86_64 | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-devel | 0:4.18.0-348.20.1.rt7.150.el8_5 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| rocky linux:kernel | 0:4.18.0-348.20.1.el8_5 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:kernel-rt | 0:4.18.0-348.20.1.rt7.150.el8_5 · Rocky Linux:8 | Package registry (OSV) |
| suse:kernel-azure | 5.3.18-150300.38.47.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | Package registry (OSV) |
| suse:kernel-default | 4.12.14-95.93.1 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
+10
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×50
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2022-03-08 |
| Metasploit module | exploit/linux/local/cve_2022_0847_dirtypipeDirty Pipe Local Privilege Escalation via CVE-2022-0847exploit | 2022-02-20 |
| Proof-of-concept repository on GitHub | stars:50 | 2022-03-07 |
| Proof-of-concept repository on GitHub | stars:9 | 2022-03-07 |
| Proof-of-concept repository on GitHub | stars:282 | 2022-03-07 |
| Proof-of-concept repository on GitHub | stars:1133 | 2022-03-07 |
| Proof-of-concept repository on GitHub | stars:10 | 2022-03-07 |
| Proof-of-concept repository on GitHub | stars:1 | 2022-03-08 |
| Proof-of-concept repository on GitHub | stars:0 | 2022-03-08 |
| Proof-of-concept repository on GitHub | stars:0 | 2022-03-08 |
| Proof-of-concept repository on GitHub | stars:58 | 2022-03-08 |
| Proof-of-concept repository on GitHub | stars:2 | 2022-03-08 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-19 d
- First PoC-4 d
- Published
- CISA KEV+45 d
- TodayOct 11, 2026+1676 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0436 · Jun 20, 2022(IBM Güvenlik Bildirimi)
- TR-22-0433 · Jun 17, 2022(Siemens Endüstriyel Ürünler Zafiyeti)
- TR-22-0217 · Mar 11, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0211 · Mar 9, 2022(Linux Kernel Zafiyeti)
- TR-22-0207 · Mar 9, 2022(Microsoft Güvenlik Güncellemesi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-665 · Improper InitializationCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html
- bugzilla.redhat.com/show_bug.cgi?id=2060795
- cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015
- security.netapp.com/advisory/ntap-20220325-0005/
- www.suse.com/support/kb/doc/?id=000020603
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847
Vendor advisories and official records. Exploit/PoC links are deliberately left out.