CVE-2022-0847, Dirty Pipe, is a Linux kernel flaw from version 5.8 onward that lets any local user overwrite the cached contents of read-only files, such as root-owned binaries or configuration, and so become root. NVD scores it 7.8, CISA lists it as exploited, and kernels 5.10.102, 5.15.25 and 5.16.11 fix it. WAGO and Siemens ship fixed firmware.
Vulnerability summary
CVSS base score
7.8
High severity
EPSS score (FIRST)
92.8%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2022-0847 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Linux kernel (pipe buffer handling) | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.8 up to (excluding) 5.10.102, 5.15 up to 5.15.25, 5.16 up to 5.16.11 (NVD); the 5.11 to 5.14 series are also affected (flaw present since 5.8); fixed in mainline 5.17-rc6 by commit 9d2231c5 |
| Debian linux package | pkg:deb/debian/linux | bullseye fixed in 5.10.92-2 (DSA-5092-1); unstable fixed in 5.16.11-1; stretch and buster not affected, vulnerable code introduced later (Debian security tracker, as of 2026-11-20) |
| WAGO PFC100/PFC200 (750-81xx, 750-82xx, 750-8217), Compact Controller CC100 (751-9301), Touch Panel 600 (762-4xxx/5xxx/6xxx), Edge Controller (752-8303/8000-002) | — | Firmware 03.07.14(19) to 03.07.18(19) and, for PFC and CC100, 03.08.07(20) to 03.08.08(20); fixed in 03.09.04(21) (750-8217: 03.09.05(21)) and 03.07.19(19) for Touch Panel 600 and Edge Controller (CERT@VDE VDE-2022-009) |
| Siemens RUGGEDCOM ROX MX5000, MX5000RE, RX1400, RX1500, RX1501, RX1510, RX1511, RX1512, RX1524, RX1536, RX5000 | — | All versions before V2.17.0; fixed in V2.17.0 (Siemens SSA-202008) |
| Siemens SCALANCE LPE9403 (6GK5998-3GS00-2AC2) | cpe:2.3:o:siemens:scalance_lpe9403_firmware:*:*:*:*:*:*:*:* | All versions before V2.0; fixed in V2.0 (Siemens SSA-222547; NVD CPE before 2.0) |
What does this mean for affected devices?
NVD describes CVE-2022-0847, known as Dirty Pipe, as a flaw in the way the "flags" member of a new pipe buffer structure "was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel". 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." Red Hat is the CNA; NVD published the record on 2022-03-10 (NVD, CVE record).
How does Dirty Pipe work?
Max Kellermann of CM4all/IONOS found it while chasing corrupt log files and documented it in his write-up. Commit 241699cd72a8 (Linux 4.9, 2016) added two functions that allocate a struct pipe_buffer without initializing its flags member. That was harmless until commit f6dd975583bd (Linux 5.8, 2020) turned the merge check into the per-buffer flag PIPE_BUF_FLAG_CAN_MERGE. From then on, an attacker could fill and drain a pipe to leave the flag set, splice() a page of a read-only file into it, and write data that lands in the file's page cache. The write-up lists the limits: the attacker needs read permission on the file, the offset cannot be on a page boundary, the write cannot cross a page boundary, and the file cannot be resized. The change lives in the page cache, so it is lost on reboot and never reaches the disk, but any process reading the file in the meantime sees the attacker's data. Kellermann compares it to Dirty COW (CVE-2016-5195) and calls it "easier to exploit".
The fix, commit 9d2231c5 ("lib/iov_iter: initialize "flags" in new pipe_buffer"), adds buf->flags = 0; in both functions. It is in mainline from v5.17-rc6 and in the stable releases 5.16.11, 5.15.25 and 5.10.102 of 2022-02-23; disclosure followed on 2022-03-07.
How severe is CVE-2022-0847?
NVD's Primary score is CVSS v3.1 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); the CISA ADP score in the CVE record is the same, and the Red Hat CNA record carries no CVSS score. NVD v2 is 7.2. NVD and Red Hat list CWE-665 (Improper Initialization); Red Hat's record maps it on to CWE-281, which is also the CWE Siemens uses. The attacker needs a local account or code execution as any user. On a controller or router that is often the second step after a web or service flaw that runs as an unprivileged user, which is why the WAGO guide treats it as a path from any foothold to root.
Which kernels, firmware and devices are affected?
NVD's CPE ranges for linux:linux_kernel are 5.8 up to (excluding) 5.10.102, 5.15 up to 5.15.25 and 5.16 up to 5.16.11. The write-up dates the flaw to 5.8, so the 5.11 to 5.14 series are affected as well and have no fixed stable release among the three. Kernels before 5.8, such as 4.19 or 5.4, are not affected. Device vendors that name products:
- WAGO (CERT@VDE VDE-2022-009, published 2022-04-06): PFC100/PFC200 (750-81xx, 750-82xx, 750-8217) and the Compact Controller CC100 (751-9301) on firmware 03.08.07(20) to 03.08.08(20), and for 750-81xx/82xx/8217 also 03.07.14(19) to 03.07.18(19), are fixed in 03.09.04(21), except 750-8217, which is fixed in 03.09.05(21). Touch Panel 600 (762-4xxx, 762-5xxx, 762-6xxx) and the Edge Controller (752-8303/8000-002) on 03.07.14(19) to 03.07.18(19) are fixed in 03.07.19(19).
- Siemens RUGGEDCOM ROX (SSA-202008, 2025-12-09): ROX MX5000, MX5000RE, RX1400, RX1500, RX1501, RX1510, RX1511, RX1512, RX1524, RX1536 and RX5000, all versions before V2.17.0. The same advisory lists CVE-2022-0492.
- Siemens SCALANCE LPE9403 (SSA-222547, 2022-06-14): all versions before V2.0; NVD's CPE list includes
siemens:scalance_lpe9403_firmwarebefore 2.0.
Debian's security tracker marks stretch and buster (kernel 4.9 and 4.19) not affected, because the vulnerable code came later, and fixed bullseye in 5.10.92-2 with DSA-5092-1 and unstable in 5.16.11-1.
How do you fix CVE-2022-0847?
Install the vendor firmware named above: WAGO 03.09.04(21) or 03.09.05(21) for 750-8217, or 03.07.19(19) for Touch Panel 600 and Edge Controller; RUGGEDCOM ROX V2.17.0; SCALANCE LPE9403 V2.0. For your own builds, move to 5.10.102, 5.15.25, 5.16.11 or later, or backport commit 9d2231c5, then confirm the running kernel version on the device. The vendors' interim advice is network-side: WAGO recommends restricting network access, strong passwords and no direct internet connection, and Siemens points to its general security recommendations. The Linux kernel CVE guide explains how to match a firmware image's kernel version and configuration against CVEs like this one, and the SCALANCE and RUGGEDCOM guide covers the ROX advisory. Other exploited kernel flaws on this site include CVE-2021-22555 and CVE-2024-53104.
Is CVE-2022-0847 exploited?
Yes. CISA added it to the KEV catalog on 2022-04-25 (due date 2022-05-16, ransomware use "Unknown"), and it is still listed as of 2026-11-20 (catalog version 2026.11.18, 1,786 entries). NVD references public exploits on Packet Storm. FIRST EPSS gives it 0.92795, the 99.8th percentile, in the 2026-11-19 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-20): status Analyzed; published 2022-03-10T17:44:57; NVD Primary CVSS v3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, v2 7.2; CISA ADP 7.8; CWE-665 (NVD and Red Hat); CPE linux_kernel 5.8 to <5.10.102, 5.15 to <5.15.25, 5.16 to <5.16.11, siemens scalance_lpe9403_firmware <2.0; references dirtypipe.cm4all.com, SSA-222547 and Packet Storm exploits. — NVD
- Max Kellermann, The Dirty Pipe Vulnerability (read 2026-11-20): flaw since 5.8, commit 241699cd72a8 (4.9) left flags uninitialized, f6dd975583bd (5.8) made it exploitable; limitations (read permission, no page-boundary offset, no crossing a page boundary, no resize); fixed in 5.16.11, 5.15.25, 5.10.102 on 2022-02-23; public disclosure 2022-03-07. — CM4all / IONOS
- Kernel commit 9d2231c5 'lib/iov_iter: initialize "flags" in new pipe_buffer' (Max Kellermann, 2022-02-21), read 2026-11-20: adds buf->flags = 0 in copy_page_to_iter_pipe() and push_pipe(); contained in tags v5.17-rc6 and later; listed in the kernel.org ChangeLogs of 5.10.102, 5.15.25 and 5.16.11. — Linux kernel
- CERT@VDE VDE-2022-009 (published 2022-04-06, updated 2025-05-22), read 2026-11-20: WAGO 750-81xx, 750-82xx, 750-8217, 751-9301, 752-8303/8000-002, 762-4xxx/5xxx/6xxx affected; fixed in 03.09.04(21), 750-8217 in 03.09.05(21), Touch Panel 600 and Edge Controller in 03.07.19(19). — CERT@VDE
- Siemens SSA-202008 V1.0 (2025-12-09), read 2026-11-20: eleven RUGGEDCOM ROX models, all versions before V2.17.0, affected by all listed CVEs including CVE-2022-0847 (CVSS 7.8, CWE-281) and CVE-2022-0492; update to V2.17.0. — Siemens ProductCERT
- Siemens SSA-222547 V1.0 (2022-06-14), read 2026-11-20: SCALANCE LPE9403 (6GK5998-3GS00-2AC2) all versions before V2.0 affected by third-party CivetWeb, Docker, Linux kernel and systemd flaws including CVE-2022-0847 (CWE-281); update to V2.0. — Siemens ProductCERT
- Debian security tracker (read 2026-11-20): bullseye fixed in 5.10.92-2 (DSA-5092-1); unstable 5.16.11-1; stretch and buster not affected (vulnerable code introduced later). — Debian
- CVE record (checked 2026-11-20): CNA Red Hat, published 2022-03-07, no CNA CVSS score, CWE-665->CWE-281; CISA ADP CVSS v3.1 7.8. — CVE.org
- CISA KEV catalog version 2026.11.18 (1,786 entries), checked 2026-11-20: listed, dateAdded 2022-04-25, dueDate 2022-05-16, knownRansomwareCampaignUse Unknown. — CISA KEV
- EPSS 0.92795, percentile 0.99833, dataset 2026-11-19, read 2026-11-20. — FIRST EPSS

Related advisories
Sources
- NVD
- Max Kellermann: The Dirty Pipe Vulnerability
- Linux kernel commit 9d2231c5: lib/iov_iter: initialize "flags" in new pipe_buffer
- CERT@VDE VDE-2022-009: WAGO multiple products affected by Dirty Pipe
- Siemens SSA-202008: Multiple vulnerabilities in RUGGEDCOM ROX before V2.17.0
- Siemens SSA-222547: Third-party component vulnerabilities in SCALANCE LPE9403 before V2.0
- Debian security tracker: CVE-2022-0847
- CVE.org record CVE-2022-0847 (CNA: Red Hat)
- CISA KEV
- FIRST EPSS
Frequently asked questions
Which kernel versions fix CVE-2022-0847?
Linux 5.10.102, 5.15.25 and 5.16.11 (released 2022-02-23) and mainline 5.17-rc6 and later, all carrying commit 9d2231c5. Kernels before 5.8 never had the exploitable path. Distribution kernels may carry a backport under a lower version number: Debian bullseye is fixed in 5.10.92-2 (DSA-5092-1).
Which WAGO firmware fixes Dirty Pipe?
Per CERT@VDE VDE-2022-009: 03.09.04(21) for PFC100/PFC200 (750-81xx, 750-82xx) and CC100 (751-9301), 03.09.05(21) for 750-8217, and 03.07.19(19) for Touch Panel 600 (762-4xxx/5xxx/6xxx) and the Edge Controller (752-8303/8000-002).
Can Dirty Pipe be exploited over the network?
Not on its own. The CVSS vector is local with low privileges: the attacker must already run code as some user on the device. On an embedded device that usually means chaining it after a remote flaw in a web interface or service, which is why vendors pair the firmware fix with advice to restrict network access.
Does a reboot undo a Dirty Pipe attack?
The file change itself is lost on reboot or when the kernel evicts the page, because only the page cache is modified, not the disk. Anything the attacker did with root access in the meantime, such as installing persistence elsewhere, is not undone, so a suspected compromise still needs investigation.
Questions about this page?