All reports
Medium

kernel: smb: client: Add check for next_buffer in receive_encrypted_standard()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21844

Probability of exploitation in the next 30 days: 0.62%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: Add check for next_buffer in receive_encrypted_standard() Add check for the return value of cifs_buf_get() and cifs_small_buf_get() in receive_encrypted_standard() to prevent null pointer dereference.

A flaw was found in the Linux kernel's SMB (Server Message Block) client subsystem. Under low-memory conditions while processing incoming encrypted traffic, the client fails to properly validate memory buffer allocation results, leading to a null pointer dereference. A malicious server or a local attacker can exploit this vulnerability during encrypted communication to crash the system, resulting in a denial of service (DoS).