Out-of-bounds Read in Linux

CVE-2025-22038

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.

Vulnerability class: Buffer Overflow

EPSS: 0.005 (43.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-22038?
CVE-2025-22038 is a high-severity vulnerability in Linux, classified under Out-of-bounds Read. CVSS score: 8.3/10. Published 2025-04-16.
How severe is CVE-2025-22038?
High severity. CVSS v3 base score is 8.3 out of 10.
Is CVE-2025-22038 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.