First published: Wed Apr 16 2025(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | <6.12.23 | |
Linux Kernel | >=6.13<6.13.11 | |
Linux Kernel | >=6.14<6.14.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-22037 has been classified as a medium severity vulnerability in the Linux kernel.
To fix CVE-2025-22037, update your Linux kernel to version 6.12.23 or later, or ensure you are not using any vulnerable versions between 6.13.0 and 6.14.2.
CVE-2025-22037 affects Linux kernel versions before 6.12.23 and versions between 6.13.0 and 6.14.2.
CVE-2025-22037 is caused by a null pointer dereference in the ksmbd component when handling malformed SMB2 negotiate requests.
Yes, CVE-2025-22037 can be exploited remotely by sending specially crafted SMB2 negotiate requests to the affected Linux kernel.