CVE-2022-0847: Linux Kernel Privilege Escalation
Linux Kernel · listed in the CISA catalog of actively exploited vulnerabilities since 2022-04-25.
- CVSS v3.1 (CVE record)
- 7.8
- high
- EPSS (exploit probability, 30 days)
- 93%
- higher than 99.8% of all CVEs
- Added to CISA KEV
- 2022-04-25
- US federal due date 2022-05-16
- Ubuntu priority
- high
CVE-2022-0847 explained
CVE-2022-0847 is a Linux kernel flaw in which the "flags" member of a new pipe buffer structure was not properly initialized in copy_page_to_iter_pipe and push_pipe and could hold stale values. An unprivileged local user can use it to write to page cache pages backed by read-only files and gain elevated privileges. CISA lists it as known to be exploited.
Impact
A local user with low privileges can modify cached contents of files they should only be able to read. No user interaction is needed and attack complexity is low. This leads to privilege escalation, with high impact on confidentiality, integrity and availability. The attack vector is local, so an attacker first needs the ability to run code on the system, for example through a user account.
Who is affected
Ubuntu 16.04 LTS (linux-hwe-edge) is end of life and has no fixed version. On Ubuntu 18.04 LTS, none of the listed kernel packages, including linux-hwe, linux-azure, linux-gcp and linux-oem, has a published fix. On Ubuntu 20.04 LTS, fixes exist for linux-aws-5.13, linux-azure-5.13, linux-gcp-5.13, linux-hwe-5.13 (5.13.0-35.40~20.04.1), linux-intel-5.13, linux-intel-iotg-5.15, linux-oem-5.14 and linux-oracle-5.13. The 5.8, 5.11, linux-oem-5.6, linux-oem-5.10, linux-oem-5.13, linux-raspi2 and riscv packages have no fix.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply updates per vendor instructions.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- kernelAffectedFixed in
- Linux Kernel 5.17 rc6
not stated
| Product | Affected | Fixed in |
|---|---|---|
| kernel |
| not stated |
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 20.04 LTS·linux-aws-5.11
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-aws-5.13
Fixed: 5.13.0-1017.19~20.04.1
Ubuntu 20.04 LTS·linux-aws-5.8
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-azure-5.11
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-azure-5.13
Fixed: 5.13.0-1017.19~20.04.1
Ubuntu 20.04 LTS·linux-azure-5.8
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-gcp-5.11
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-gcp-5.13
Fixed: 5.13.0-1019.23~20.04.1
Ubuntu 20.04 LTS·linux-gcp-5.8
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-hwe-5.11
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-hwe-5.13
Fixed: 5.13.0-35.40~20.04.1
Ubuntu 20.04 LTS·linux-hwe-5.8
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-intel-5.13
Fixed: 5.13.0-1010.10
Ubuntu 20.04 LTS·linux-intel-iotg-5.15
Fixed: 5.15.0-1008.11~20.04.1
Ubuntu 20.04 LTS·linux-oem-5.10
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-oem-5.13
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-oem-5.14
Fixed: 5.14.0-1027.30
Ubuntu 20.04 LTS·linux-oem-5.6
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-oracle-5.11
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-oracle-5.13
Fixed: 5.13.0-1021.26~20.04.1
Ubuntu 20.04 LTS·linux-oracle-5.8
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-raspi2
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-riscv
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-riscv-5.11
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·linux-riscv-5.8
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-aws-5.0
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-aws-5.3
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-azure
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-azure-5.3
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-azure-edge
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-gcp
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-gcp-5.3
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-gke-4.15
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-hwe
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-hwe-edge
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-oem
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-oracle-5.0
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·linux-oracle-5.3
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·linux-hwe-edge
ESM ended
Status: no fixed version published · Ubuntu tracker
What to do
- Identify which kernel source package and version each host is running.
- On Ubuntu 20.04 LTS, update to the fixed version of your kernel package, for example
linux-hwe-5.135.13.0-35.40~20.04.1orlinux-oem-5.145.14.0-1027.30. - Reboot after installing the kernel update so the fixed kernel is actually running.
- Upgrade Ubuntu 16.04 LTS systems to a supported release, as that release is end of life.
- On Ubuntu 18.04 LTS and 20.04 LTS, standard support has ended; enable Ubuntu Pro (ESM) to receive further kernel fixes.
Ubuntu 16.04 LTS is end of life and should be upgraded to a supported release. For 18.04 LTS and 20.04 LTS packages without a published fix, enable Ubuntu Pro (ESM) and follow its advisories. On 20.04 LTS, consider switching to a kernel flavour that has a fix. Meanwhile, limit who can log in or run code locally, since exploitation requires local access.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Kernel fixes arrive as a new kernel package (new ABI) through the metapackages, so upgrade the whole system and boot into the new kernel.
1. Show the running kernel and the version of its package
uname -r && dpkg-query -W -f='${Version}\n' "linux-image-$(uname -r)"2. Compare with the fixed version for your release and kernel flavour from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the new kernel, then reboot (or apply a livepatch)
sudo apt update && sudo apt full-upgrade && sudo rebootOn Debian, signed kernel images come from the linux-signed-* source packages; the version to compare is the same.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-665 >CWE-281
Questions about CVE-2022-0847
- Can this be exploited remotely?
- Not directly. The attack vector is local and requires low privileges. An attacker needs to run code on the system first, for example through a user account, and can then escalate privileges.
- Is this vulnerability being exploited?
- Yes. CISA added CVE-2022-0847 to its Known Exploited Vulnerabilities catalog on 2022-04-25, with a US federal due date of 2022-05-16. The required action is to apply updates per vendor instructions.
- Is installing the updated kernel package enough?
- No. The system keeps running the old, vulnerable kernel until it is rebooted into the fixed version. Confirm the running kernel version after the reboot.
Written with AI from the data on this page and checked against it automatically.
References
Other advisories
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.