CVE-2025-39975

Source
https://cve.org/CVERecord?id=CVE-2025-39975
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39975.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39975
Downstream
Related
Published
2025-10-15T07:55:56.951Z
Modified
2026-03-09T23:54:16.782930Z
Summary
smb: client: fix wrong index reference in smb2_compound_op()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In smb2compoundop(), 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39975.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5ddcc9e92d54548219985ce4de88618fb53e14ec
Fixed
ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
efe8db3ecaa40a8520dc9a54283dcecd82ceea9c
Fixed
bfb1e2aad1fecef8320fd71332acde0d53a8d699
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3681c74d342db75b0d641ba60de27bf73e16e66b
Fixed
093615fc76063ea08d454ba86677ce64c736e806
Fixed
fbe2dc6a9c7318f7263f5e4d50f6272b931c5756
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
77aefd1d9b790f60634adebbdcfffbe934f41c34

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39975.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.109
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.50
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.16.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39975.json"