CVE-2025-39975

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux5ddcc9e92d54548219985ce4de88618fb53e14ec < ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5affected
LinuxLinuxefe8db3ecaa40a8520dc9a54283dcecd82ceea9c < bfb1e2aad1fecef8320fd71332acde0d53a8d699affected
LinuxLinux3681c74d342db75b0d641ba60de27bf73e16e66b < 093615fc76063ea08d454ba86677ce64c736e806affected
LinuxLinux3681c74d342db75b0d641ba60de27bf73e16e66b < fbe2dc6a9c7318f7263f5e4d50f6272b931c5756affected
LinuxLinux77aefd1d9b790f60634adebbdcfffbe934f41c34affected
LinuxLinux6.6.75 < 6.6.109affected
LinuxLinux6.12.12 < 6.12.50affected
LinuxLinux6.13.1 < 6.14affected
LinuxLinux6.14affected
LinuxLinux0 < 6.14unaffected
LinuxLinux6.6.109 <= 6.6.*unaffected
LinuxLinux6.12.50 <= 6.12.*unaffected
LinuxLinux6.16.10 <= 6.16.*unaffected
LinuxLinux6.17 <= *unaffected

Weaknesses

References