Skip to main content
Network Thinking Solutions Logo

CVE-2025-38562

Linux kernel: ksmbd: fix null pointer dereference error in generate_encryptionkey

All CVEs
CVE-2025-38562Published 8/19/2025

Linux kernel: ksmbd: fix null pointer dereference error in generate_encryptionkey

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
8/19/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15, < 6.1.148

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.102

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.42

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.10

Verify advisory

Source
linux kernel
linux
≥ 6.16, < 6.16.1

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 922f85e6e88fdea723a26854c3a6dcb4beb8d0b9

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 96a82e19434a2522525baab59c33332658bc7653

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < d79c8bebaa622ee223128be7c66d8aaeeb634a57

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 015ef163d65496ae3ba6192c96140a22743f0353

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9b493ab6f35178afd8d619800df9071992f715de

Verify advisory

Source
Linux
Linux
5.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.