CVE-2025-22038
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-22038 is a vulnerability discovered in the Linux kernel's ksmbd component, disclosed on April 16, 2025. The vulnerability involves an out-of-bounds read condition that occurs when accessing psid->subauth[psid->numsubauth - 1] without properly validating if num_subauth is non-zero (NVD, Debian Tracker).

Technical details

The vulnerability is rated with a CVSS v3.1 base score of 5.5 (Low severity) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The issue specifically occurs in the ksmbd component where a validation step was missing to ensure numsubauth != 0 before accessing subauth, leading to an out-of-bounds read condition (Red Hat).

Impact

The vulnerability results in an out-of-bounds read condition which could potentially lead to information disclosure or system crashes. The attack requires local access to the system and can affect the availability of the service (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.12.25-1. Several distributions have released or are in the process of releasing patches, including Debian which has fixed the issue in sid version 6.12.25-1 (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40085N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoOct 29, 2025
CVE-2025-40083N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoYesOct 29, 2025
CVE-2023-7324N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-core
NoYesOct 29, 2025
CVE-2025-40082N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-whitelists
NoNoOct 28, 2025
CVE-2025-40081N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoNoOct 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management