# ksmbd: fix null pointer dereference error in generate_encryptionkey

CVE record · `CVE-2025-38562`

- **Identifiers:** `CVE-2025-38562`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 19 Aug 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 19 Aug 2025, 17:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 922f85e6e88fdea723a26854c3a6dcb4beb8d0b9` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 96a82e19434a2522525baab59c33332658bc7653` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before d79c8bebaa622ee223128be7c66d8aaeeb634a57` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 015ef163d65496ae3ba6192c96140a22743f0353` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 9b493ab6f35178afd8d619800df9071992f715de` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `5.15.203 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.148 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.102 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.42 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.10 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16.1 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.25, the 97th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 19 Aug 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-38562](https://www.cve.org/CVERecord?id=CVE-2025-38562)
- [NVD: CVE-2025-38562](https://nvd.nist.gov/vuln/detail/CVE-2025-38562)

### References from the CNA

- <https://git.kernel.org/stable/c/922f85e6e88fdea723a26854c3a6dcb4beb8d0b9>
- <https://git.kernel.org/stable/c/96a82e19434a2522525baab59c33332658bc7653>
- <https://git.kernel.org/stable/c/d79c8bebaa622ee223128be7c66d8aaeeb634a57>
- <https://git.kernel.org/stable/c/2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e>
- <https://git.kernel.org/stable/c/015ef163d65496ae3ba6192c96140a22743f0353>
- <https://git.kernel.org/stable/c/9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb>
- <https://git.kernel.org/stable/c/9b493ab6f35178afd8d619800df9071992f715de>
- <https://www.zerodayinitiative.com/advisories/ZDI-25-917/>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38562>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38562/>. Everything for agents: <https://agentprime.io/llms.txt>.
