Skip to content
DoS Advisory Advanced CVE-2025-38562

Linux Kernel ksmbd generate_key context.iov_base Null Pointer Dereference Denial-of-Service Vulnerability

A null pointer dereference in the Linux kernel's ksmbd component occurs when handling a context value during a hash function update. An authenticated remote attacker could trigger this flaw to cause a denial-of-service condition on the system.

Nicholas Zubrisky Follow

Originally disclosed on Zero Day Initiative

Medium 5.3 View original

This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of the Linux Kernel. Authentication is required to exploit this vulnerability.

Nicholas Zubrisky (@NZubrisky) of Trend Research, 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 context value before it is dereferenced during a hash function update.

Impact

An authenticated remote attacker could cause a denial-of-service condition on the affected system.

What the attacker needed

Authentication required; remote access to ksmbd service

The fix

Linux has issued an update to correct this vulnerability.

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 that lets computers share files over a network. A mistake in the code makes the system try to use an empty memory location, which crashes it. An attacker who can log in to the file-sharing service could use this to make the computer stop working.

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 Nicholas Zubrisky

View all

3 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.