CVE-2025-39975
JSON

9.8critical

smb: client: fix wrong index reference in smb2_compound_op()

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

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix wrong index reference in smb2_compound_op() In smb2_compound_op(), the loop that processes each command's response uses wrong indices when accessing response bufferes. This incorrect indexing leads to improper handling of command results. Also, if incorrectly computed index is greather than or equal to MAX_COMPOUND, it can cause out-of-bounds accesses.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5ddcc9e92d54548219985ce4de88618fb53e14ec before ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5, from efe8db3ecaa40a8520dc9a54283dcecd82ceea9c before bfb1e2aad1fecef8320fd71332acde0d53a8d699, from 3681c74d342db75b0d641ba60de27bf73e16e66b before 093615fc76063ea08d454ba86677ce64c736e806, from 3681c74d342db75b0d641ba60de27bf73e16e66b before fbe2dc6a9c7318f7263f5e4d50f6272b931c5756, 77aefd1d9b790f60634adebbdcfffbe934f41c34, from 6.6.75 before 6.6.109, from 6.12.12 before 6.12.50, from 6.13.1 before 6.14 and 1 more
Not affected: before 6.14, from 6.6.109 up to 6.6.*, from 6.12.50 up to 6.12.*, from 6.16.10 up to 6.16.*, from 6.17 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix wrong index reference in smb2_compound_op() In smb2_compound_op(), the loop that processes each command's response uses wrong indices when accessing response bufferes. This incorrect indexing leads to improper handling of command results. Also, if incorrectly computed index is greather than or equal to MAX_COMPOUND, it can cause out-of-bounds accesses.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: smb: cliente: corrige referencia de índice incorrecta en smb2_compound_op() En smb2_compound_op(), el bucle que procesa la respuesta de cada comando usa índices incorrectos al acceder a los búferes de respuesta. Esta indexación incorrecta lleva a un manejo inadecuado de los resultados del comando. Además, si el índice calculado incorrectamente es mayor o igual que MAX_COMPOUND, puede causar accesos fuera de límites.

References

Sources

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