Skip to content
DoS Advisory Intermediate CVE-2023-32248

Linux Kernel ksmbd Tree Connection NULL Pointer Dereference Denial-of-Service Vulnerability

A NULL pointer dereference in the Linux kernel's ksmbd SMB server, triggered by handling SMB2_TREE_CONNECT and SMB2_QUERY_INFO commands, allows an unauthenticated remote attacker to cause a denial-of-service condition. The flaw stems from missing validation of a pointer before it is accessed.

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 a missing NULL check on a pointer before dereferencing it while processing SMB2_TREE_CONNECT and SMB2_QUERY_INFO requests.

Impact

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

What the attacker needed

Ksmbd enabled on target; network access to SMB service

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.

This is a bug in a part of the Linux kernel called ksmbd, which lets a computer share files over a network using a protocol called SMB. The bug means that if someone sends a specially crafted network message, the kernel tries to use a pointer that points to nothing (a NULL pointer), which crashes the system. An attacker does not need to log in to do this, but only systems with ksmbd turned on are affected.

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.