Patchfirst
CVE-2022-0847 KEVPublic exploit High · 7.8 EPSS 92.8%

Linux Kernel Privilege Escalation Vulnerability

Linux · Kernel

Summary

The Linux kernel's pipe buffer handling has a flaw in which the "flags" member of the new pipe buffer structure is not properly initialized in the copy_page_to_iter_pipe and push_pipe functions, so it can hold stale values. A local attacker with low privileges and no user interaction could exploit this to write to page-cache pages backed by read-only files, thereby escalating their privileges on the system.

Official description · NVD

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.

Breakdown
82.3 / 100
Exploited
Yes, in CISA KEV
Reports
1
Tactics
1/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

First seen exploited 46 days after disclosure. Public exploit code (Metasploit) was available 18 days before disclosure.

  1. Public exploit codeMetasploit18 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVEU database agrees+46 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

1 , grouped by in kill-chain order, 1 cited passage 1

Privilege EscalationTA0004

Exploitation for Privilege Escalation T1068 Medium
AI mapping from the description · how it is exploited

local unprivileged user exploits kernel flaw

An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 31 general rules for its techniques

Rules for this CVE

0 that reference CVE-2022-0847 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 1 threat report
1 reportPwC

Reports are matched by finding the exact id CVE-2022-0847 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

11 links, grouped by NVD tag (10 duplicates merged)
↑ ↓ chooseEnter openEsc close