Skip to content
DoS Advisory Advanced CVE-2023-32252

Linux Kernel ksmbd Session NULL Pointer Dereference Denial-of-Service Vulnerability

A NULL pointer dereference in the Linux kernel's ksmbd SMB server handling of SMB2_LOGOFF commands allows a remote unauthenticated attacker to crash the system, causing a denial of service.

Arnaud Gatignol Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable.

Quentin Minster (@thalium_team), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the ksmbd code handling SMB2_LOGOFF commands dereferences a pointer without first checking whether it is NULL.

Impact

A remote, unauthenticated attacker could crash the system, causing a denial of service, but only on systems with ksmbd enabled.

What the attacker needed

Ksmbd enabled on the target; network access to the SMB service; no authentication required

The fix

The vulnerability was fixed by a Linux kernel update.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The Linux kernel includes a file-sharing server called ksmbd that speaks the SMB protocol. A missing check meant that a specially crafted logoff message could make the server use an invalid memory address, crashing the whole machine. An attacker on the network could send such a message without logging in and take the system down.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Arnaud Gatignol

View all

11 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.