Back

HIGH KEV

kernel: improper initialization of the "flags" member of the new pipe_buffer

Published Mar 7, 2022 ·Due May 16, 2022

Description

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.

Affected products

Remediation

Red Hat statement

Red Hat Product Security is aware of this issue. Updates will be released as they become available. Note that PIPE_BUF_FLAG_CAN_MERGE flag attack vector is not available in Red Hat Enterprise Linux 8 and thus the currently known exploits leveraging this flag do not work. The underlying issue (lack of proper pipe_buffer structure initialization) is still present though and other novel ways leading to successful exploitation cannot be fully ruled out.

Red Hat mitigation

Currently there is no mitigation available for this flaw. Customers should update to fixed packages, once they are available.

Metrics

Weaknesses (2)

References (16)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Mar 7, 2022
Updated Oct 21, 2025
Reserved Mar 3, 2022
CISA Vulnrichment
Updated Feb 4, 2025
NVD
Status Analyzed
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Mar 7, 2022