CVE-2025-38562
publishedksmbd: fix null pointer dereference error in generate_encryptionkey
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < 922f85e6e88fdea723a26854c3a6dcb4beb8d0b9 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 96a82e19434a2522525baab59c33332658bc7653 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < d79c8bebaa622ee223128be7c66d8aaeeb634a57 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 015ef163d65496ae3ba6192c96140a22743f0353 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 9b493ab6f35178afd8d619800df9071992f715de · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.203 through 5.15.* (unaffected · semver) · 6.1.148 through 6.1.* (unaffected · semver) · 6.6.102 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1112 | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1112 | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1112 | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1117 | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1117 | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1117 | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-azure-fde-5.15-cloud-tools-5.15.0-1117 | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-azure-fde-5.15-headers-5.15.0-1117 | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-azure-fde-5.15-tools-5.15.0-1117 | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1064-nvidia-tegra | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1064-nvidia-tegra-rt | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1106-ibm | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1107-intel-iotg | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1109-oracle | Advisory build | 5.15.0-1109.115~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1112-aws | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1112-gcp | Advisory build | 5.15.0-1112.122~20.04.1 | USN-8668-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1117-azure | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1117-azure-fde | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-184-lowlatency | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-184-lowlatency-64k | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-186-generic | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-186-generic-64k | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-186-generic-lpae | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1107-intel-iotg | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1112-aws | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1117-azure | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1117-azure-fde | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-184-lowlatency | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-186-generic | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1112.122~20.04.1 | USN-8668-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1112 | Advisory build | 5.15.0-1112.122~20.04.1 | USN-8668-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1112 | Advisory build | 5.15.0-1112.122~20.04.1 | USN-8668-1 |
| Ubuntu | focal | linux-headers-5.15.0-1064-nvidia-tegra | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-headers-5.15.0-1064-nvidia-tegra-rt | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-headers-5.15.0-1106-ibm | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-headers-5.15.0-1107-intel-iotg | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-headers-5.15.0-1109-oracle | Advisory build | 5.15.0-1109.115~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-headers-5.15.0-1112-aws | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-headers-5.15.0-1112-gcp | Advisory build | 5.15.0-1112.122~20.04.1 | USN-8668-1 |
| Ubuntu | focal | linux-headers-5.15.0-1117-azure | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-headers-5.15.0-1117-azure-fde | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-headers-5.15.0-184-lowlatency | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-headers-5.15.0-184-lowlatency-64k | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-headers-5.15.0-186-generic | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-headers-5.15.0-186-generic-64k | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-headers-5.15.0-186-generic-lpae | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-186 | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-186 | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-186 | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1106 | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1106 | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-image-5.15.0-186-generic | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-image-5.15.0-186-generic-lpae | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1064-nvidia-tegra | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1064-nvidia-tegra-rt | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1106-ibm | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1107-intel-iotg | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1109-oracle | Advisory build | 5.15.0-1109.115~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1112-aws | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1112-gcp | Advisory build | 5.15.0-1112.122~20.04.1 | USN-8668-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1117-azure | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1117-azure-fde | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-184-lowlatency | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-184-lowlatency-64k | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-186-generic | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-186-generic-64k | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1107 | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1107 | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1107 | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-184 | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-184 | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-184 | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-modules-5.15.0-1064-nvidia-tegra | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-modules-5.15.0-1064-nvidia-tegra-rt | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-modules-5.15.0-1106-ibm | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
| Ubuntu | focal | linux-modules-5.15.0-1107-intel-iotg | Advisory build | 5.15.0-1107.113~20.04.1 | USN-8620-3 |
| Ubuntu | focal | linux-modules-5.15.0-1109-oracle | Advisory build | 5.15.0-1109.115~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-modules-5.15.0-1112-aws | Advisory build | 5.15.0-1112.119~20.04.1 | USN-8575-2 |
| Ubuntu | focal | linux-modules-5.15.0-1112-gcp | Advisory build | 5.15.0-1112.122~20.04.1 | USN-8668-1 |
| Ubuntu | focal | linux-modules-5.15.0-1117-azure | Advisory build | 5.15.0-1117.126~20.04.1 | USN-8620-1 |
| Ubuntu | focal | linux-modules-5.15.0-1117-azure-fde | Advisory build | 5.15.0-1117.126~20.04.2 | USN-8620-1 |
| Ubuntu | focal | linux-modules-5.15.0-184-lowlatency | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-modules-5.15.0-184-lowlatency-64k | Advisory build | 5.15.0-184.194~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-modules-5.15.0-186-generic | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-modules-5.15.0-186-generic-64k | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-modules-5.15.0-186-generic-lpae | Advisory build | 5.15.0-186.196~20.04.1 | USN-8575-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1064-nvidia-tegra | Advisory build | 5.15.0-1064.66~20.04.1 | USN-8576-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1106-ibm | Advisory build | 5.15.0-1106.110~20.04.1 | USN-8597-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < 922f85e6e88fdea723a26854c3a6dcb4beb8d0b9 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 96a82e19434a2522525baab59c33332658bc7653 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < d79c8bebaa622ee223128be7c66d8aaeeb634a57 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 015ef163d65496ae3ba6192c96140a22743f0353 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 9b493ab6f35178afd8d619800df9071992f715de (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.203 through 5.15.* (unaffected · semver)6.1.148 through 6.1.* (unaffected · semver)6.6.102 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/015ef163d65496ae3ba6192c96140a22743f0353
- https://git.kernel.org/stable/c/2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e
- https://git.kernel.org/stable/c/922f85e6e88fdea723a26854c3a6dcb4beb8d0b9
- https://git.kernel.org/stable/c/96a82e19434a2522525baab59c33332658bc7653
- https://git.kernel.org/stable/c/9b493ab6f35178afd8d619800df9071992f715de
- https://git.kernel.org/stable/c/9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb
- https://git.kernel.org/stable/c/d79c8bebaa622ee223128be7c66d8aaeeb634a57
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://www.zerodayinitiative.com/advisories/ZDI-25-917/
Provider assertions
2Linux · cna
ksmbd: fix null pointer dereference error in generate_encryptionkey
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 150160942f4358764a04cad32563e917ec5c09315804e304a2ee5dc621bc368f
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record