CVE-2022-50859

published 30 Dec 2025 · updated 11 May 2026

cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message

5.0MediumEPSS 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 60480291c1fcafad8425d93f771b5bcc2bd398b4, Kernel 9312e04b6c6bc46354ecd0cc82052a2b3df0b529, Kernel 943eb0ede74ecd609fdfd3f0b83e0d237613e526 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=d5c7076b772ad7dcdb92303397b36aee8fa0d25d <60480291c1fcafad8425d93f771b5bcc2bd398b4, >=d5c7076b772ad7dcdb92303397b36aee8fa0d25d <9312e04b6c6bc46354ecd0cc82052a2b3df0b529, >=d5c7076b772ad7dcdb92303397b36aee8fa0d25d <943eb0ede74ecd609fdfd3f0b83e0d237613e526, >=d5c7076b772ad7dcdb92303397b36aee8fa0d25d <d0050ec3ebbcb3451df9a65b8460be9b9e02e80c, >=d5c7076b772ad7dcdb92303397b36aee8fa0d25d <e98ecc6e94f4e6d21c06660b0f336df02836694f, >=d5c7076b772ad7dcdb92303397b36aee8fa0d25d <fada9b8c95c77bb46b89e18117405bc90fce9f7460480291c1fcafad8425d93f771b5bcc2bd398b4, 9312e04b6c6bc46354ecd0cc82052a2b3df0b529, 943eb0ede74ecd609fdfd3f0b83e0d237613e526, d0050ec3ebbcb3451df9a65b8460be9b9e02e80c, e98ecc6e94f4e6d21c06660b0f336df02836694f, fada9b8c95c77bb46b89e18117405bc90fce9f74

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-2022-50859 severity on Zeptric[![CVE-2022-50859](https://zeptric.io/badge/cve/CVE-2022-50859.svg)](https://zeptric.io/cve/CVE-2022-50859)