5.5
MEDIUM CVSS 3.1
CVE-2022-42703
Linux kernel rmap.c Use-After-Free Vulnerability
Description

mm/rmap.c in the Linux kernel before 5.19.7 has a use-after-free related to leaf anon_vma double reuse.

INFO

Published Date :

Oct. 9, 2022, 11:15 p.m.

Last Modified :

Nov. 21, 2024, 7:25 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2022-42703 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
This addresses a use-after-free vulnerability in the Linux kernel.
  • Update the affected Linux kernel packages.
  • Update all other affected packages.
Public PoC/Exploit Available at Github

CVE-2022-42703 has a 12 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-42703 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-42703 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 4 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : July 25, 2025, 7:02 p.m. This repo has been linked 96 different CVEs too.

None

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : June 29, 2025, 6:30 a.m. This repo has been linked 94 different CVEs too.

None

Makefile C Assembly Shell Perl C++ Awk sed Python GDB

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 6, 2023, 6:18 a.m. This repo has been linked 1 different CVEs too.

Learn how to exploit linux

Dockerfile Shell Makefile C Python Meson

Updated: 1 year, 3 months ago
3 stars 0 fork 0 watcher
Born at : July 24, 2023, 6:24 a.m. This repo has been linked 7 different CVEs too.

Linux kernel hbp exploit method demo. (i.e. the degradation version of CVE-2022-42703)

Makefile Shell C Python

Updated: 10 months, 3 weeks ago
3 stars 0 fork 0 watcher
Born at : July 2, 2023, 10:58 a.m. This repo has been linked 1 different CVEs too.

SCTF 2023 kernel pwn && CVE-2023-3640

Updated: 6 months, 1 week ago
26 stars 1 fork 1 watcher
Born at : June 20, 2023, 6:21 a.m. This repo has been linked 2 different CVEs too.

linux kernel LPE using hw_breakpoint attack tech demo

Makefile Shell C

Updated: 8 months, 1 week ago
25 stars 0 fork 0 watcher
Born at : March 21, 2023, 12:41 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 8 months, 3 weeks ago
7 stars 0 fork 0 watcher
Born at : Feb. 25, 2023, 10:40 a.m. This repo has been linked 178 different CVEs too.

Cybersecurity oriented awesome list

awesome awesome-list cybersecurity exploitation reverse-engineering

Updated: 14 hours, 54 minutes ago
2246 stars 219 fork 219 watcher
Born at : May 6, 2022, 6:02 p.m. This repo has been linked 98 different CVEs too.

Repository of Bug-Bounty Writeups

bugbounty fuzzing penetration-testing security-tools

Updated: 1 week ago
318 stars 49 fork 49 watcher
Born at : Nov. 6, 2020, 8:24 a.m. This repo has been linked 39 different CVEs too.

Kernel Address Space Layout Derandomization (KASLD) - A collection of various techniques to infer the Linux kernel base virtual address as an unprivileged local user, for the purpose of bypassing Kernel Address Space Layout Randomization (KASLR).

kaslr linux linux-kernel linux-kaslr kernel-exploit kernel

C Shell Makefile

Updated: 1 month, 1 week ago
444 stars 49 fork 49 watcher
Born at : Dec. 30, 2019, 5:12 a.m. This repo has been linked 25 different CVEs too.

A collection of links related to Linux kernel security and exploitation

linux-kernel kernel-exploitation exploit privilege-escalation security

Updated: 1 month ago
6024 stars 954 fork 954 watcher
Born at : Nov. 13, 2016, 10:21 p.m. This repo has been linked 296 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-42703 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-42703 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugs.chromium.org/p/project-zero/issues/detail?id=2351
    Added Reference https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.7
    Added Reference https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2555283eb40df89945557273121e9393ef9b542b
    Added Reference https://github.com/torvalds/linux/commit/2555283eb40df89945557273121e9393ef9b542b
    Added Reference https://googleprojectzero.blogspot.com/2022/12/exploiting-CVE-2022-42703-bringing-back-the-stack-attack.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 03, 2023

    Action Type Old Value New Value
    Changed Reference Type https://googleprojectzero.blogspot.com/2022/12/exploiting-CVE-2022-42703-bringing-back-the-stack-attack.html No Types Assigned https://googleprojectzero.blogspot.com/2022/12/exploiting-CVE-2022-42703-bringing-back-the-stack-attack.html Exploit, Technical Description, Third Party Advisory
  • CVE Modified by [email protected]

    Dec. 08, 2022

    Action Type Old Value New Value
    Added Reference https://googleprojectzero.blogspot.com/2022/12/exploiting-CVE-2022-42703-bringing-back-the-stack-attack.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 11, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://bugs.chromium.org/p/project-zero/issues/detail?id=2351 No Types Assigned https://bugs.chromium.org/p/project-zero/issues/detail?id=2351 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.7 No Types Assigned https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.7 Mailing List, Patch, Vendor Advisory
    Changed Reference Type https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2555283eb40df89945557273121e9393ef9b542b No Types Assigned https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2555283eb40df89945557273121e9393ef9b542b Mailing List, Patch, Vendor Advisory
    Changed Reference Type https://github.com/torvalds/linux/commit/2555283eb40df89945557273121e9393ef9b542b No Types Assigned https://github.com/torvalds/linux/commit/2555283eb40df89945557273121e9393ef9b542b Patch, Third Party Advisory
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.19.7
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.76 }} 0.02%

score

0.72429

percentile