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-draft
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-08-19 18:05 UTC by OSIDB Bzimport
Modified: 2025-08-29 13:18 UTC (History)
0 users

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.


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