CVE-2025-21844Published Mar 12, 2025 · Mar 12Updated 2d ago
smb: client: Add check for next_buffer in receive_encrypted_standard()
Linux
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eec04ea119691e65227a97ce53c0da6b9b74b0b7 · < 554736b583f529ee159aa95af9a0cbc12b5ffc96| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel SMB client's receive_encrypted_standard() function did not check whether cifs_buf_get() or cifs_small_buf_get() returned a null pointer. This could cause a null pointer dereference. The input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running the Linux kernel should check their systems; affected versions are not specified.