Linux Kernel pipe buffer flags improper initialization
CVE-2022-0847Known exploitedHigh
The Linux kernel fails to properly initialise the flags member of pipe buffer structures in copy_page_to_iter_pipe and push_pipe functions, leaving stale values in memory. An unprivileged local user can exploit this to write to pages in the page cache that are backed by read-only files, allowing them to escalate their privileges. The attacker needs only local access to the system.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 25 Apr 2022
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Linux Kernel. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-665 (opens in a new tab)
Affected versions
- linux linux kernel: from 5.8, before 5.10.102
- linux linux kernel: from 5.15, before 5.15.25
- linux linux kernel: from 5.16, before 5.16.11
- fedoraproject fedora: 35
- redhat enterprise linux: 8.0
- redhat enterprise linux eus: 8.2
- redhat enterprise linux eus: 8.4
- redhat enterprise linux for ibm z systems: 8.0
- redhat enterprise linux for ibm z systems eus: 8.2
- redhat enterprise linux for ibm z systems eus: 8.4
- redhat enterprise linux for power little endian: 8.0
- redhat enterprise linux for power little endian eus: 8.2
- redhat enterprise linux for power little endian eus: 8.4
- redhat enterprise linux for real time: 8
- redhat enterprise linux for real time for nfv: 8
- redhat enterprise linux for real time for nfv tus: 8.2
- redhat enterprise linux for real time for nfv tus: 8.4
- redhat enterprise linux for real time tus: 8.2
- redhat enterprise linux for real time tus: 8.4
- redhat enterprise linux server aus: 8.2
- redhat enterprise linux server aus: 8.4
- redhat enterprise linux server for power little endian update services for sap solutions: 8.1
- redhat enterprise linux server for power little endian update services for sap solutions: 8.2
- redhat enterprise linux server for power little endian update services for sap solutions: 8.4
- redhat enterprise linux server tus: 8.2
The NVD record lists more.