CVE-2023-32257 Session race condition remote code execution vulnerability

High 8.1 Published Updated

A race condition in the Linux kernel's ksmbd allows remote attackers to execute arbitrary code with kernel privileges.

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

What is CVE-2023-32257?

CVE-2023-32257 is a high-severity vulnerability in Linux kernel, published on 24 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in the Linux kernel's ksmbd, a high-performance in-kernel SMB server. The specific flaw exists within the processing of SMB2_SESSION_SETUP and SMB2_LOGOFF commands. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this vulnerability to execute code in the context of the kernel.

Weakness: CWE-667, CWE-362

Which versions are affected by CVE-2023-32257?

It affects 6 products.

Products include Linux kernel, Netapp H300s, Netapp H410s, Netapp H500s, Netapp H700s, Netapp Solidfire \& Hci Storage Node.

How do I fix CVE-2023-32257?

Apply the vendor's patch.

Is CVE-2023-32257 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-27639, AZL-27762, DEBIAN-CVE-2023-32257, GHSA-2rq6-85wg-96g4, UBUNTU-CVE-2023-32257.

Is CVE-2023-32257 in your software?

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

Check your SBOMs for free