Bug 2360229 (CVE-2025-22037) - CVE-2025-22037 kernel: ksmbd: fix null pointer dereference in alloc_preauth_hash()
Summary: CVE-2025-22037 kernel: ksmbd: fix null pointer dereference in alloc_preauth_h...
Keywords:
Status: NEW
Alias: CVE-2025-22037
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 15:03 UTC by OSIDB Bzimport
Modified: 2025-05-16 14:09 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-16 15:03:34 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix null pointer dereference in alloc_preauth_hash()

The Client send malformed smb2 negotiate request. ksmbd return error
response. Subsequently, the client can send smb2 session setup even
thought conn->preauth_info is not allocated.
This patch add KSMBD_SESS_NEED_SETUP status of connection to ignore
session setup request if smb2 negotiate phase is not complete.

Comment 1 Avinash Hanwate 2025-04-17 12:32:53 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041658-CVE-2025-22037-d1bb@gregkh/T


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