Your submission was sent successfully! Close

CVE-2022-0847

Published: 7 March 2022

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.

From the Ubuntu security team

Max Kellermann discovered that the Linux kernel incorrectly handled Unix pipes. A local attacker could potentially use this to modify any file that could be opened for reading.

Notes

AuthorNote
mdeslaur
The specific flaw exists in the bionic and focal, but is not
currently exploitable due to lack of a flag that was introduced
in kernel 5.8. The flaw will be fixed as part of the next round
of bionic and focal kernel updates in case some other way of
exploiting it is discovered in the future.
The hardware enablement kernel for focal, linux-hwe-5.13, was
updated to fix this issue in USN-5317-1.
Priority

High

CVSS 3 base score: 7.8

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.13.0-16.19)
focal Not vulnerable
(5.4.0-9.12)
impish
Released (5.13.0-35.40)
jammy Not vulnerable
(5.15.0-23.23)
trusty Not vulnerable
(3.11.0-12.19)
upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.4.0-2.16)
Patches:
Introduced by

f6dd975583bd8ce088400648fd9819e4691c8958

Fixed by 9d2231c5d74e13b2a0546fee6737ee4446017903
linux-aws
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.15.0-1001.1)
focal Not vulnerable
(5.4.0-1005.5)
impish
Released (5.13.0-1017.19)
jammy Not vulnerable
(5.15.0-1003.5)
trusty Not vulnerable
(4.4.0-1002.2)
upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.4.0-1001.10)
linux-aws-5.0
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-aws-5.3)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-aws-5.11
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was needs-triage now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-aws-5.13
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (5.13.0-1017.19~20.04.1)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-aws-5.15
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

linux-aws-5.3
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-aws-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-aws-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1018.18~18.04.1)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-aws-5.8
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-aws-5.11)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-aws-hwe
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.15.0-1030.31~16.04.1)
linux-azure
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-azure-5.3)
focal Not vulnerable
(5.4.0-1006.6)
impish
Released (5.13.0-1017.19)
jammy Not vulnerable
(5.15.0-1002.3)
trusty Not vulnerable
(4.15.0-1023.24~14.04.1)
upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.11.0-1009.9)
linux-azure-4.15
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.15.0-1082.92)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-azure-5.11
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was needs-triage now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-azure-5.13
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (5.13.0-1017.19~20.04.1)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-azure-5.15
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

linux-azure-5.3
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-azure-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-azure-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1020.20~18.04.1)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-azure-5.8
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-azure-5.11)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-azure-edge
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-azure-5.3)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-azure-fde
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.4.0-1063.66+cvm2.2)
impish Does not exist

jammy Needs triage

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-bluefield
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.4.0-1007.10)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-dell300x
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.15.0-1005.8)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-fips
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.4.0-1079.86)
linux-gcp
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-gcp-5.3)
focal Not vulnerable
(5.4.0-1005.5)
impish
Released (5.13.0-1019.23)
jammy Not vulnerable
(5.15.0-1003.6)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.10.0-1004.4)
linux-gcp-4.15
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.15.0-1071.81)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gcp-5.11
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was needs-triage now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gcp-5.13
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (5.13.0-1019.23~20.04.1)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gcp-5.15
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

linux-gcp-5.3
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-gcp-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gcp-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1019.19~18.04.2)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gcp-5.8
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-gcp-5.11)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gke
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.4.0-1033.35)
impish Does not exist

jammy Not vulnerable
(5.15.0-1002.2)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Ignored
(reached end of standard support)
linux-gke-4.15
Launchpad, Ubuntu, Debian
bionic Ignored
(was needs-triage now end-of-life)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gke-5.0
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-gke-5.3)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gke-5.15
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

linux-gke-5.3
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-gke-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gke-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1025.25~18.04.1)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gkeop
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.4.0-1008.9)
impish Does not exist

jammy Not vulnerable
(5.15.0-1001.2)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-gkeop-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1001.1)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-hwe
Launchpad, Ubuntu, Debian
bionic Ignored
(replaced by linux-hwe-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.8.0-39.42~16.04.1)
linux-hwe-5.11
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-hwe-5.13)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-hwe-5.13
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (5.13.0-35.40~20.04.1)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-hwe-5.15
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.15.0-33.34~20.04.1)
jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-hwe-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-37.41~18.04.1)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-hwe-5.8
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-hwe-5.11)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-hwe-edge
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-hwe-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Ignored
(superseded by linux-hwe)
linux-ibm
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.4.0-1003.4)
impish Does not exist

jammy Not vulnerable
(5.15.0-1002.2)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-ibm-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1010.11~18.04.2)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-intel-5.13
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (5.13.0-1010.10)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-intel-iotg
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Not vulnerable
(5.15.0-1004.6)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-intel-iotg-5.15
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Pending
(5.15.0-1008.11~20.04.1)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-kvm
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.15.0-1002.2)
focal Not vulnerable
(5.4.0-1004.4)
impish
Released (5.13.0-1016.17)
jammy Not vulnerable
(5.15.0-1004.4)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.4.0-1004.9)
linux-lowlatency
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Not vulnerable
(5.15.0-23.23)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-lowlatency-hwe-5.15
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.15.0-33.34~20.04.1)
jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-lts-xenial
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Not vulnerable
(4.4.0-13.29~14.04.1)
upstream
Released (5.17~rc6)
xenial Does not exist

linux-oem
Launchpad, Ubuntu, Debian
bionic Ignored
(was needs-triage now end-of-life)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Ignored
(superseded by linux-hwe)
linux-oem-5.10
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was needs-triage now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oem-5.13
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was needs-triage now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oem-5.14
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (5.14.0-1027.30)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oem-5.17
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Not vulnerable
(5.17.0-1003.3)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oem-5.6
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was needs-triage now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oem-osp1
Launchpad, Ubuntu, Debian
bionic Ignored
(was needs-triage now end-of-life)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oracle
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.15.0-1007.9)
focal Not vulnerable
(5.4.0-1005.5)
impish
Released (5.13.0-1021.26)
jammy Not vulnerable
(5.15.0-1002.4)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Not vulnerable
(4.15.0-1007.9~16.04.1)
linux-oracle-5.0
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-oracle-5.3)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oracle-5.11
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was needs-triage now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oracle-5.13
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (5.13.0-1021.26~20.04.1)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oracle-5.3
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-oracle-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oracle-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1019.19~18.04.1)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-oracle-5.8
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-oracle-5.11)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-raspi
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(5.4.0-1007.7)
impish
Released (5.13.0-1020.22)
jammy Not vulnerable
(5.15.0-1004.4)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-raspi-5.4
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(5.4.0-1013.13~18.04.1)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-raspi2
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.13.0-1005.5)
focal Ignored
(replaced by linux-raspi)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Ignored
(end of standard support)
linux-raspi2-5.3
Launchpad, Ubuntu, Debian
bionic Ignored
(superseded by linux-raspi-5.4)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-riscv
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-riscv-5.8)
impish
Released (5.13.0-1015.17)
jammy Not vulnerable
(5.15.0-1005.5)
trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-riscv-5.11
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(was pending [5.11.0-1031.35] now end-of-life)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-riscv-5.8
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Ignored
(superseded by linux-riscv-5.11)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Does not exist

linux-snapdragon
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(4.4.0-1077.82)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (5.17~rc6)
xenial Ignored
(end of standard support)