VDB

CVE-2022-0847

CVE-2022-0847 PUBLISHED CVSS 7.8 HIGH

Reported by redhat · Published March 7, 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.10-15.42.amzn2023
bpftoolAmazon Linux6.1.10-15.42.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/akernelLinux Kernel 5.17 rc6
amazon:2023kernel-libbpf-devel0
amazon:2023bpftool0
n/akernel5.17
amazon:2023kernel-libbpf0
amazon:2023python3-perf0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.10-15.420
amazon:2023kernel-libbpf-static0
amazon:2023kernel-tools0
archlinux0
amazon:2023kernel-headers0
amazon:2023perf0
linuxlinux_kernel
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0

Timeline

  • Mar 7, 2022 CVE Published
  • Mar 7, 2022 VulnCheck KEV Exploitation (18 in total, the first dated here)
  • Mar 7, 2022 VulnCheck XDB Entry (120 in total, the first dated here)
  • Mar 8, 2022 PoC Published (10 in total, the first dated here)
  • Mar 8, 2022 EPSS Score (30 in total, the first dated here)
  • Apr 25, 2022 CISA KEV Added
  • Mar 17, 2026 Security Advisory (27 in total, the first dated here)
  • Mar 27, 2026 Distribution Patch (20 in total, the first dated here)
  • Jul 11, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-0847
vulnetix vdb fixes CVE-2022-0847

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-0847/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›