CVE-2025-37778

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37778
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37778.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37778
Downstream
Published
2025-05-01T14:15:41Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: Fix dangling pointer in krb_authenticate

krbauthenticate frees sess->user and does not set the pointer to NULL. It calls ksmbdkrb5authenticate to reinitialise sess->user but that function may return without doing so. If that happens then smb2sesssetup, which calls krbauthenticate, will be accessing free'd memory when it later uses sess->user.

References

Affected packages