Skip to main content

Linux Kernel CVE-2022-0847

HIGH
Improper Initialization (CWE-665)
2022-03-10 secalert@redhat.com
7.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Generated
Mar 26, 2026 - 11:19 vuln.today
Added to CISA KEV
Nov 06, 2025 - 14:50 cisa
CISA KEV
PoC Detected
Nov 06, 2025 - 14:50 vuln.today
Public exploit code
Patch released
Nov 06, 2025 - 14:50 nvd
Patch available
CVE Published
Mar 10, 2022 - 17:44 nvd
HIGH 7.8

DescriptionCVE.org

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.

AnalysisAI

Linux kernel contains a flaw known as 'Dirty Pipe' where improper pipe buffer flag initialization allows unprivileged local users to overwrite read-only files, enabling trivial privilege escalation to root on Linux 5.8+.

Technical ContextAI

The CWE-665 improper initialization in copy_page_to_iter_pipe and push_pipe leaves the PIPE_BUF_FLAG_CAN_MERGE flag set on newly allocated pipe buffers. When a pipe is spliced from a file, subsequent writes to the pipe overwrite the page cache of the source file, even if the file is read-only (owned by root with 0644 permissions).

Affected ProductsAI

Linux kernel 5.8 through 5.16.10 Linux kernel 5.15.x before 5.15.25 Android 12 (kernel 5.10+)

RemediationAI

Update Linux kernel to 5.16.11, 5.15.25, or 5.10.102+. For Android, apply the March 2022 security patch. Container environments must update the host kernel. Monitor for /etc/passwd and /etc/shadow modification attempts.

Share

CVE-2022-0847 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy