CVE-2025-38562: ksmbd: fix null pointer dereference error in generate_encryptionkey
Vulnerability summary
CVE-2025-38562 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in debian debian_linux. EPSS estimates a 13.00% chance of exploitation in the next 30 days, higher than 96.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 38 · Related 35Timeline
- 19-08-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
13.00%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
Increase +3.55 pp
From 9.45% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu148 products
- linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.148-1 | < 6.12.43-1 | < 6.16.3-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 922f85e6e88fdea723a26854c3a6dcb4beb8d0b9 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 96a82e19434a2522525baab59c33332658bc7653 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < d79c8bebaa622ee223128be7c66d8aaeeb634a57 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 015ef163d65496ae3ba6192c96140a22743f0353 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9b493ab6f35178afd8d619800df9071992f715de | 5.15
- linux_kernel≥ 5.15, < 6.1.148 | ≥ 6.2, < 6.6.102 | ≥ 6.7, < 6.12.42 | ≥ 6.13, < 6.15.10 | ≥ 6.16, < 6.16.1
3 vendors · 152 products