Bug 2389513 (CVE-2025-38562) - CVE-2025-38562 kernel: ksmbd: fix null pointer dereference error in generate_encryptionkey
Summary: CVE-2025-38562 kernel: ksmbd: fix null pointer dereference error in generate_...
Keywords:
Status: NEW
Alias: CVE-2025-38562
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-19 18:05 UTC by OSIDB Bzimport
Modified: 2026-06-29 20:30 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-19 18:05:03 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix null pointer dereference error in generate_encryptionkey

If client send two session setups with krb5 authenticate to ksmbd,
null pointer dereference error in generate_encryptionkey could happen.
sess->Preauth_HashValue is set to NULL if session is valid.
So this patch skip generate encryption key if session is valid.

Comment 1 Jon Moroney 2025-08-19 20:49:54 UTC Comment hidden (spam)

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