Linux
smb: client: fix wrong index reference in smb2_compound_op()
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5ddcc9e92d54548219985ce4de88618fb53e14ec, < ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5
- >= efe8db3ecaa40a8520dc9a54283dcecd82ceea9c, < bfb1e2aad1fecef8320fd71332acde0d53a8d699
- >= 3681c74d342db75b0d641ba60de27bf73e16e66b, < 093615fc76063ea08d454ba86677ce64c736e806
- >= 3681c74d342db75b0d641ba60de27bf73e16e66b, < fbe2dc6a9c7318f7263f5e4d50f6272b931c5756
- 77aefd1d9b790f60634adebbdcfffbe934f41c34
- >= 6.6.75, < 6.6.109
- >= 6.12.12, < 6.12.50
- >= 6.13.1, < 6.14
Fixed in ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5, bfb1e2aad1fecef8320fd71332acde0d53a8d699, 093615fc76063ea08d454ba86677ce64c736e806, fbe2dc6a9c7318f7263f5e4d50f6272b931c5756, 6.6.109, 6.12.50, 6.14
- 6.14
Fixed in 0, 6.6.109, 6.12.50, 6.16.10, 6.17
Mitigation
Upgrade Linux to ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5 or bfb1e2aad1fecef8320fd71332acde0d53a8d699 or 093615fc76063ea08d454ba86677ce64c736e806 or fbe2dc6a9c7318f7263f5e4d50f6272b931c5756 or 6.6.109 or 6.12.50 or 6.14 or later.
Upgrade Linux to 0 or 6.6.109 or 6.12.50 or 6.16.10 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.