CVE-2025-39975

published 15 Oct 2025 · updated 17 Nov 2026

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

9.8CriticalCVSS 9.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bfb1e2aad1fecef8320fd71332acde0d53a8d699, Kernel ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5, Kernel 6.12.50 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=efe8db3ecaa40a8520dc9a54283dcecd82ceea9c <bfb1e2aad1fecef8320fd71332acde0d53a8d699, >=5ddcc9e92d54548219985ce4de88618fb53e14ec <ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5, >=6.12.12 <6.12.50, >=6.13.1 <6.14, >=6.6.75 <6.6.109, =6.14, =77aefd1d9b790f60634adebbdcfffbe934f41c34, >=3681c74d342db75b0d641ba60de27bf73e16e66b <093615fc76063ea08d454ba86677ce64c736e806, >=3681c74d342db75b0d641ba60de27bf73e16e66b <fbe2dc6a9c7318f7263f5e4d50f6272b931c5756bfb1e2aad1fecef8320fd71332acde0d53a8d699, ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5, 6.12.50, 6.14, 6.6.109, 093615fc76063ea08d454ba86677ce64c736e806, fbe2dc6a9c7318f7263f5e4d50f6272b931c5756
linux-kernel: Kernel>=6.13.1 <6.14, >=6.14.0 <6.16.10, >=6.6.75 <6.6.109, >=6.12.12 <6.12.506.14, 6.16.10, 6.6.109, 6.12.50

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39975 severity on Zeptric[![CVE-2025-39975](https://zeptric.io/badge/cve/CVE-2025-39975.svg)](https://zeptric.io/cve/CVE-2025-39975)