← CVE Intelligence

CVE-2025-39975

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 5ddcc9e92d54548219985ce4de88618fb53e14ec before ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5; affected efe8db3ecaa40a8520dc9a54283dcecd82ceea9c before bfb1e2aad1fecef8320fd71332acde0d53a8d699; affected 3681c74d342db75b0d641ba60de27bf73e16e66b before 093615fc76063ea08d454ba86677ce64c736e806; affected 3681c74d342db75b0d641ba60de27bf73e16e66b before fbe2dc6a9c7318f7263f5e4d50f6272b931c5756; affected 77aefd1d9b790f60634adebbdcfffbe934f41c34; affected 6.6.75 before 6.6.109; affected 6.12.12 before 6.12.50; affected 6.13.1 before 6.14
Linux / Linuxaffected 6.14; unaffected 0 before 6.14; unaffected 6.6.109 through 6.6.*; unaffected 6.12.50 through 6.12.*; unaffected 6.16.10 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References