In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]ksmbd: fix null pointer dereference error in generate_encryptionkey[EOL][EOL]If client send two session setups with krb5 authenticate to ksmbd,[EOL]null pointer dereference error in generate_encryptionkey could happen.[EOL]sess->Preauth_HashValue is set to NULL if session is valid.[EOL]So this patch skip generate encryption key if session is valid. CREATE(Triage):(User=lchen-cn) [CVE-2025-38562 (https://nvd.nist.gov/vuln/detail/CVE-2025-38562)