CVE-2022-42703 Use after free in n/a

Medium 5.5 Published Updated

A use-after-free in the Linux kernel memory management allows attackers to execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-42703?

CVE-2022-42703 is a medium-severity use after free vulnerability in Linux kernel, published on 9 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

Weakness: CWE-416

Which versions are affected by CVE-2022-42703?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-42703?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-42703 being exploited?

There is no known exploitation of CVE-2022-42703 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as A-253167854, ASB-A-253167854, AZL-11094, DEBIAN-CVE-2022-42703, GHSA-c9fp-cj2q-cv72, UBUNTU-CVE-2022-42703 and 1 more.

Is CVE-2022-42703 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free