CVE-2025-22038

HIGH

Linux Kernel - Out-of-bounds Read in ksmbd SID Subauth Validation

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.1
EPSS 0.0022
EPSS Percentile 12.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (20)
linux/Kernel 5.15.0 - 6.1.134linux
linux/Kernel 6.13.0 - 6.13.11linux
linux/Kernel 6.14.0 - 6.14.2linux
linux/Kernel 6.2.0 - 6.6.87linux
linux/Kernel 6.7.0 - 6.12.23linux
Linux/Linux < 5.15
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 0e36a3e080d6d8bd7a34e089345d043da4ac8283
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 3ac65de111c686c95316ade660f8ba7aea3cd3cc
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 56de7778a48560278c334077ace7b9ac4bfb2fd1
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 68c6c3142bfcdb049839d40a9a59ebe8ea865002
... and 10 more
Published Apr 16, 2025
Tracked Since Feb 18, 2026