CVE-2025-37947

High

Description

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLinux Kernel
PublishedMay 20, 2025
First seenMay 20, 2025

How to fix

Update
  • linux linux_kernel6.1.139, 6.6.91, 6.12.29, 6.14.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 6.1.139, 6.2 ≤ v < 6.6.91, 6.7 ≤ v < 6.12.29, 6.13 ≤ v < 6.14.7, 6.156.1.139, 6.6.91, 6.12.29, 6.14.7
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.