CVE-2025-22038
"Linux ksmbd Out-of-Bounds Read Vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate zero num_subauth before sub_auth is accessed Access psid->sub_auth[psid->num_subauth - 1] without checking if num_subauth is non-zero leads to an out-of-bounds read. This patch adds a validation step to ensure num_subauth != 0 before sub_auth is accessed.
INFO
Published Date :
April 16, 2025, 3:15 p.m.
Last Modified :
April 29, 2025, 7:04 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.2
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2025-22038 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-22038
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-22038
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-22038
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 29, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.13.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.14 up to (excluding) 6.14.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.87 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.23 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 6.1.134 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0e36a3e080d6d8bd7a34e089345d043da4ac8283 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3ac65de111c686c95316ade660f8ba7aea3cd3cc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/56de7778a48560278c334077ace7b9ac4bfb2fd1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/68c6c3142bfcdb049839d40a9a59ebe8ea865002 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bf21e29d78cd2c2371023953d9c82dfef82ebb36 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c8bfe1954a0b89e7b29b3a3e7f4c5e0ebd295e20 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 16, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate zero num_subauth before sub_auth is accessed Access psid->sub_auth[psid->num_subauth - 1] without checking if num_subauth is non-zero leads to an out-of-bounds read. This patch adds a validation step to ensure num_subauth != 0 before sub_auth is accessed. Added Reference https://git.kernel.org/stable/c/0e36a3e080d6d8bd7a34e089345d043da4ac8283 Added Reference https://git.kernel.org/stable/c/3ac65de111c686c95316ade660f8ba7aea3cd3cc Added Reference https://git.kernel.org/stable/c/56de7778a48560278c334077ace7b9ac4bfb2fd1 Added Reference https://git.kernel.org/stable/c/68c6c3142bfcdb049839d40a9a59ebe8ea865002 Added Reference https://git.kernel.org/stable/c/bf21e29d78cd2c2371023953d9c82dfef82ebb36 Added Reference https://git.kernel.org/stable/c/c8bfe1954a0b89e7b29b3a3e7f4c5e0ebd295e20
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-22038
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-22038
weaknesses.