← Back

CVE-2025-37947

nvd nist
Published: May 20, 2025Modified: Mar 17, 2026

JSON object

Loading...
7.8
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitability: 1.8 / Impact: 5.9
Source: NVD

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.

Affected (10)

1 product
Linux Kernel
1 product
Debian Linux
Configuration A
9 vulnerable
Vulnerable SoftwareAffected Versions
Linux
From 5.15 to 6.1.139
From 6.13 to 6.14.7
From 6.2 to 6.6.91
From 6.7 to 6.12.29
Version 6.15 rc1
Version 6.15 rc2
Version 6.15 rc3
Version 6.15 rc4
Version 6.15 rc5
Configuration B
1 vulnerable
Vulnerable SoftwareAffected Versions
Version 11.0

References (7)

Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party AdvisoryMailing List
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Third Party AdvisoryMailing List

Timeline

No history available yet.