Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2025-22038Published 4/16/2025

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.

Vendor advisory
CVSS8.3High

Overview

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.

Published
4/16/2025
Last modified
7/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 6.1.134

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.87

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.23

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.11

Verify advisory

Source
linux kernel
linux
≥ 6.14, < 6.14.2

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3ac65de111c686c95316ade660f8ba7aea3cd3cc

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 0e36a3e080d6d8bd7a34e089345d043da4ac8283

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 56de7778a48560278c334077ace7b9ac4bfb2fd1

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 68c6c3142bfcdb049839d40a9a59ebe8ea865002

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < c8bfe1954a0b89e7b29b3a3e7f4c5e0ebd295e20

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < bf21e29d78cd2c2371023953d9c82dfef82ebb36

Verify advisory

Source
Linux
Linux
5.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.3. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.