CVE-2022-50859
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list") extend the dialects from 3 to 4, but forget to decrease the extended length when specific the dialect, then the message length is larger than expected. This maybe leak some info through network because not initialize the message body. After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is reduced from 28 bytes to 26 bytes.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.24% · top 84% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected d5c7076b772ad7dcdb92303397b36aee8fa0d25d – < d0050ec3ebbcb3451df9a65b8460be9b9e02e80c
- affected d5c7076b772ad7dcdb92303397b36aee8fa0d25d – < 9312e04b6c6bc46354ecd0cc82052a2b3df0b529
- affected d5c7076b772ad7dcdb92303397b36aee8fa0d25d – < 60480291c1fcafad8425d93f771b5bcc2bd398b4
- affected d5c7076b772ad7dcdb92303397b36aee8fa0d25d – < 943eb0ede74ecd609fdfd3f0b83e0d237613e526
- affected d5c7076b772ad7dcdb92303397b36aee8fa0d25d – < fada9b8c95c77bb46b89e18117405bc90fce9f74
- affected d5c7076b772ad7dcdb92303397b36aee8fa0d25d – < e98ecc6e94f4e6d21c06660b0f336df02836694f
- affected 5.0
- unaffected < 5.0
- unaffected 5.4.220 – ≤ 5.4.*
- unaffected 5.10.150 – ≤ 5.10.*
- unaffected 5.15.75 – ≤ 5.15.*
- unaffected 5.19.17 – ≤ 5.19.*
- unaffected 6.0.3 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (6)
- https://git.kernel.org/stable/c/d0050ec3ebbcb3451df9a65b8460be9b9e02e80c (opens in a new tab)
- https://git.kernel.org/stable/c/9312e04b6c6bc46354ecd0cc82052a2b3df0b529 (opens in a new tab)
- https://git.kernel.org/stable/c/60480291c1fcafad8425d93f771b5bcc2bd398b4 (opens in a new tab)
- https://git.kernel.org/stable/c/943eb0ede74ecd609fdfd3f0b83e0d237613e526 (opens in a new tab)
- https://git.kernel.org/stable/c/fada9b8c95c77bb46b89e18117405bc90fce9f74 (opens in a new tab)
- https://git.kernel.org/stable/c/e98ecc6e94f4e6d21c06660b0f336df02836694f (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50859)Record last updated .