CVE-2025-22037
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's ksmbd module was discovered and assigned CVE-2025-22037. The issue was disclosed on April 16, 2025, affecting the Linux kernel's SMB server implementation. The vulnerability involves a null pointer dereference in the alloc_preauth_hash() function (NVD Database, Ubuntu Security).

Technical details

The vulnerability occurs when a client sends a malformed SMB2 negotiate request, causing ksmbd to return an error response. Subsequently, the client can send an SMB2 session setup even though conn->preauth_info is not allocated, leading to a null pointer dereference. The fix implements a KSMBD_SESS_NEED_SETUP status of connection to ignore session setup requests if the SMB2 negotiate phase is not complete (NVD Database).

Impact

The vulnerability affects multiple Linux distributions including Ubuntu, Debian, and their derivatives. Various versions of the Linux kernel are impacted, including systems running Ubuntu 24.04 LTS, 22.04 LTS, and 20.04 LTS, as well as Debian Bookworm and Bullseye releases (Ubuntu Security, Debian Security).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.12.25-1 for Debian systems. Various Linux distributions are actively working on backporting the fix to their supported releases. Ubuntu has marked this as a medium priority issue and is working on updates for affected versions (Debian Security, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management