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

Critical 9.8 Published Updated

A use-after-free in the Linux kernel ksmbd module allows attackers to cause a system crash or potentially execute code via SMB2_TREE_DISCONNECT requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-47939?

CVE-2022-47939 is a critical use after free vulnerability in Linux kernel, published on 23 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. fs/ksmbd/smb2pdu.c has a use-after-free and OOPS for SMB2_TREE_DISCONNECT.

Weakness: CWE-416

Which versions are affected by CVE-2022-47939?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-47939?

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

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-12094, DEBIAN-CVE-2022-47939, GHSA-c5f7-v4rr-qv23, UBUNTU-CVE-2022-47939.

Is CVE-2022-47939 in your software?

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

Check your SBOMs for free