{"cve":"CVE-2025-22038","nvd":{"published":"2025-04-16T15:15:56.400","modified":"2026-07-30T06:22:05.047","status":"Modified","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate zero num_subauth before sub_auth is accessed\n\nAccess psid->sub_auth[psid->num_subauth - 1] without checking\nif num_subauth is non-zero leads to an out-of-bounds read.\nThis patch adds a validation step to ensure num_subauth != 0\nbefore sub_auth is accessed.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1},"cwes":["CWE-125"],"references":["https://git.kernel.org/stable/c/0e36a3e080d6d8bd7a34e089345d043da4ac8283","https://git.kernel.org/stable/c/3ac65de111c686c95316ade660f8ba7aea3cd3cc","https://git.kernel.org/stable/c/56de7778a48560278c334077ace7b9ac4bfb2fd1","https://git.kernel.org/stable/c/68c6c3142bfcdb049839d40a9a59ebe8ea865002","https://git.kernel.org/stable/c/bf21e29d78cd2c2371023953d9c82dfef82ebb36"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-22038","score":0.00589,"percentile":0.48157,"date":"2026-11-01"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}