CVE-2025-21946

HIGH EPSS 7.9%
Published Apr 1, 20251y ago · Modified Jun 17, 20261w ago
7.1 CVSS 3.1
High
Find Similar
Published Apr 1, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bounds in parse_sec_desc() If osidoffset, gsidoffset and dacloffset could be greater than smb_ntsd struct size. If it is smaller, It could cause slab-out-of-bounds. And when validating sid, It need to check it included subauth array size.

CVSS Details

Base Score
7.1
Exploitability
1.8
Impact
5.2
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
7.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-125 Out-of-bounds Read Memory Safety

Affected Products 8

VendorProductVersionRange
linuxlinux_kernel*≥5.15  –  <6.6.83
linuxlinux_kernel*≥6.7  –  <6.12.19
linuxlinux_kernel*≥6.13  –  <6.13.7
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any

References 5

  • git.kernel.org https://git.kernel.org/stable/c/159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/6a9831180d0b23b5c97e2bd841aefc8f82900172
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d6e13e19063db24f94b690159d0633aaf72a0f03
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/f4ee19528664777af8b842f8f001be98345aa973

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/6a9831180d0b23b5c97e2bd841aefc8f82900172
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d6e13e19063db24f94b690159d0633aaf72a0f03
    Patch