---
id: CVE-2022-42703
title: >-
  mm/rmap.c in the Linux kernel before 5.19.7 has a use-after-free related to
  leaf anon_vma double reuse.
summary: >-
  mm/rmap.c in the Linux kernel before 5.19.7 has a use-after-free related to
  leaf anon_vma double reuse.
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.19.7
patched:
  - linux_kernel 5.19.7
published: '2022-10-09'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T19:16:51.153'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-42703'
references:
  - url: 'https://bugs.chromium.org/p/project-zero/issues/detail?id=2351'
    label: cve@mitre.org
  - url: 'https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.7'
    label: cve@mitre.org
  - url: >-
      https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2555283eb40df89945557273121e9393ef9b542b
    label: cve@mitre.org
  - url: >-
      https://github.com/torvalds/linux/commit/2555283eb40df89945557273121e9393ef9b542b
    label: cve@mitre.org
  - url: >-
      https://googleprojectzero.blogspot.com/2022/12/exploiting-CVE-2022-42703-bringing-back-the-stack-attack.html
    label: cve@mitre.org
  - url: 'https://bugs.chromium.org/p/project-zero/issues/detail?id=2351'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.7'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2555283eb40df89945557273121e9393ef9b542b
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/torvalds/linux/commit/2555283eb40df89945557273121e9393ef9b542b
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://googleprojectzero.blogspot.com/2022/12/exploiting-CVE-2022-42703-bringing-back-the-stack-attack.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-794697.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-831302.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - exploit-available
  - cve.org
epss: 0.0092
epssPercentile: 0.60093
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/Squirre17/hbp-attack-demo'
    - 'https://github.com/Satheesh575555/linux-4.1.15_CVE-2022-42703'
  checkedAt: '2026-10-27T16:40:50.618Z'
exploitAvailable: true
ingestedAt: '2026-10-14T19:49:57.519Z'
---

## Overview

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

## Affected

- `linux_kernel < 5.19.7`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.19.7`
