Critical severity · published Oct 15, 2025
CVE-2025-39975
smb: client: fix wrong index reference in smb2_compound_op()
9.8
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Linux · Linux
5ddcc9e92d54548219985ce4de88618fb53e14ec before ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5; efe8db3ecaa40a8520dc9a54283dcecd82ceea9c before bfb1e2aad1fecef8320fd71332acde0d53a8d699; 3681c74d342db75b0d641ba60de27bf73e16e66b before 093615fc76063ea08d454ba86677ce64c736e806; 3681c74d342db75b0d641ba60de27bf73e16e66b before fbe2dc6a9c7318f7263f5e4d50f6272b931c5756; 77aefd1d9b790f60634adebbdcfffbe934f41c34; 6.6.75 before 6.6.109; +3 more · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-39975
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-39975
git.kernel.org
https://git.kernel.org/stable/c/093615fc76063ea08d454ba86677ce64c736e806
git.kernel.org
https://git.kernel.org/stable/c/ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5
git.kernel.org
https://git.kernel.org/stable/c/bfb1e2aad1fecef8320fd71332acde0d53a8d699
git.kernel.org
https://git.kernel.org/stable/c/fbe2dc6a9c7318f7263f5e4d50f6272b931c5756
More from Linux
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
7.8
CVE-2026-53362
ipv6: account for fraggap on the paged allocation path
7.8
CVE-2026-46300
net: skbuff: preserve shared-frag marker during coalescing
7.8
CVE-2026-31431
crypto: algif_aead - Revert to operating out-of-place
