CVE-2022-1016 Use after free in Kernel

Medium 5.5 Published Updated

A local unprivileged attacker can exploit a use-after-free in the Linux kernel netfilter subsystem to leak kernel memory information.

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-1016?

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

Official description

A flaw was found in the Linux kernel in net/netfilter/nf_tables_core.c:nft_do_chain, which can cause a use-after-free. This issue needs to handle 'return' with proper preconditions, as it can lead to a kernel information leak problem caused by a local, unprivileged attacker.

Weakness: CWE-909, CWE-824

Which versions are affected by CVE-2022-1016?

It affects 2 products.

Products include Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2022-1016?

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-1016 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-10857, DEBIAN-CVE-2022-1016, UBUNTU-CVE-2022-1016.

Is CVE-2022-1016 in your software?

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

Check your SBOMs for free