Bug 2351612 (CVE-2025-21844) - CVE-2025-21844 kernel: smb: client: Add check for next_buffer in receive_encrypted_standard()
Summary: CVE-2025-21844 kernel: smb: client: Add check for next_buffer in receive_encr...
Keywords:
Status: NEW
Alias: CVE-2025-21844
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-12 12:23 UTC by OSIDB Bzimport
Modified: 2025-03-12 16:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-12 12:23:35 UTC
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.

Comment 1 Mauro Matteo Cascella 2025-03-12 16:22:36 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025031210-CVE-2025-21844-a1cc@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.