CVE-2025-39943
JSON

9.4critical

ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer

Severity
9.4critical CVSS:3.1 by Linux
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer If data_offset and data_length of smb_direct_data_transfer struct are invalid, out of bounds issue could happen. This patch validate data_offset and data_length field in recv_done.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2ea086e35c3d726a3bacd0a971c1f02a50e98206 before 773fddf976d282ef059c36c575ddb81567acd6bc, from 2ea086e35c3d726a3bacd0a971c1f02a50e98206 before bdaab5c6538e250a9654127e688ecbbeb6f771d5, from 2ea086e35c3d726a3bacd0a971c1f02a50e98206 before eb0378dde086363046ed3d7db7f126fc3f76fd70, from 2ea086e35c3d726a3bacd0a971c1f02a50e98206 before 8be498fcbd5b07272f560b45981d4b9e5a2ad885, from 2ea086e35c3d726a3bacd0a971c1f02a50e98206 before 529b121b00a6ee3c88fb3c01b443b2b81f686d48, from 2ea086e35c3d726a3bacd0a971c1f02a50e98206 before 5282491fc49d5614ac6ddcd012e5743eecb6a67c, 5.15
Not affected: before 5.15, from 5.15.194 up to 5.15.*, from 6.1.154 up to 6.1.*, from 6.6.108 up to 6.6.*, from 6.12.49 up to 6.12.*, from 6.16.9 up to 6.16.*
CVE List
linux linux_kernelfrom 5.15.1 before 5.15.194, from 5.16 before 6.1.154, from 6.2 before 6.6.108, from 6.7 before 6.12.49, from 6.13 before 6.16.9, 5.15, 6.17NVD

All scores

Linux9.4critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer If data_offset and data_length of smb_direct_data_transfer struct are invalid, out of bounds issue could happen. This patch validate data_offset and data_length field in recv_done.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ksmbd: smbdirect: validar el campo data_offset y data_length de smb_direct_data_transfer Si data_offset y data_length de la estructura smb_direct_data_transfer son inválidos, podría ocurrir un problema de fuera de límites. Este parche valida el campo data_offset y data_length en recv_done.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39943 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-39943 changed 2026-10-19Public domain