CVE-2022-48654 netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()

High 7.1 Published Updated

A flaw in the Linux kernel netfilter module allows local attackers to leak stale kernel stack data to userspace via uninitialized memory access.

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

CVE-2022-48654 is a high-severity vulnerability in Linux kernel, published on 28 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()

nf_osf_find() incorrectly returns true on mismatch, this leads to copying uninitialized memory area in nft_osf which can be used to leak stale kernel stack data to userspace.

Weakness: CWE-908

Which versions are affected by CVE-2022-48654?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48654?

Apply the vendor's patch.

Is CVE-2022-48654 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-48654, GHSA-wjwq-gx2g-vrjg, UBUNTU-CVE-2022-48654.

Is CVE-2022-48654 in your software?

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

Check your SBOMs for free