NetSight
high7.8Known exploitedPublic exploit code

CVE-2022-0847

Linux Kernel Privilege Escalation Vulnerability

Exploited in the wild

This vulnerability is on a Known Exploited Vulnerabilities catalogue, added 2022-04-25. Federal due date: 2022-05-16.

Apply updates per vendor instructions.

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.8 before 5.10.102
from 5.15 before 5.15.25
from 5.16 before 5.16.11
FedoraprojectFedora
Version 35
RedhatEnterprise Linux
Version 8.0
RedhatEnterprise Linux Eus
Versions 8.2, 8.4
RedhatEnterprise Linux For Ibm Z Systems
Version 8.0
RedhatEnterprise Linux For Ibm Z Systems Eus
Versions 8.2, 8.4
RedhatEnterprise Linux For Power Little Endian
Version 8.0
RedhatEnterprise Linux For Power Little Endian Eus
Versions 8.2, 8.4
RedhatEnterprise Linux For Real Time
Version 8
RedhatEnterprise Linux For Real Time For Nfv
Version 8
RedhatEnterprise Linux For Real Time For Nfv Tus
Versions 8.2, 8.4
RedhatEnterprise Linux For Real Time Tus
Versions 8.2, 8.4

Weakness classification

References