Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-37947 — debian-linux

🟠 CVSS 8.8 — High ✅ No Known Exploit CWE-787 NVD
8.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

ksmbd: prevent out-of-bounds stream writes by validating *pos

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: prevent out-of-bounds stream writes by validating *pos

ksmbd_vfs_stream_write() did not validate whether the write offset

(*pos) was within the bounds of the existing stream data length (v_len).

If *pos was greater than or equal to v_len, this could lead to an

out-of-bounds memory write.

This patch adds a check to ensure *pos is less than v_len before

proceeding. If the condition fails, -EINVAL is returned.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2025-37947 is classified as CWE-787: Out-of-bounds Write. Data is written past the end or before the start of a buffer, corrupting whatever is stored there.

Affected software

CVE-2025-37947 is recorded against 3 packages.

  • debian-linux
  • kernel (from 6.13.0 up to 6.14.7)
  • linux-kernel

Timeline and source

Published on 20 May 2025 and last revised on 30 July 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
lists.debian.org
github.com

CVE-2025-37947 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity HIGH
CVSS Score 8.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-787
Public Exploit ✅ No
Source NVD
Published 2025-05-20
Updated 2026-08-20
Modified 2026-07-30

Affected Packages

Software From version Fixed in
debian-linux
kernel 6.13.0 6.14.7
linux-kernel

Similar Threats

Site Security Check

Is debian-linux part of your stack?

CVE-2025-37947 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.