CVE-2022-50859
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < d0050ec3ebbcb3451df9a65b8460be9b9e02e80c; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 9312e04b6c6bc46354ecd0cc82052a2b3df0b529; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 60480291c1fcafad8425d93f771b5bcc2bd398b4; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 943eb0ede74ecd609fdfd3f0b83e0d237613e526; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < fada9b8c95c77bb46b89e18117405bc90fce9f74; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < e98ecc6e94f4e6d21c06660b0f336df02836694f
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < d0050ec3ebbcb3451df9a65b8460be9b9e02e80c; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 9312e04b6c6bc46354ecd0cc82052a2b3df0b529; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 60480291c1fcafad8425d93f771b5bcc2bd398b4; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 943eb0ede74ecd609fdfd3f0b83e0d237613e526; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < fada9b8c95c77bb46b89e18117405bc90fce9f74; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < e98ecc6e94f4e6d21c06660b0f336df02836694f; Linux 5.0
- Fixed in
- Linux 9312e04b6c6bc46354ecd0cc82052a2b3df0b529, Linux 60480291c1fcafad8425d93f771b5bcc2bd398b4, Linux 943eb0ede74ecd609fdfd3f0b83e0d237613e526
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < d0050ec3ebbcb3451df9a65b8460be9b9e02e80c; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 9312e04b6c6bc46354ecd0cc82052a2b3df0b529; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 60480291c1fcafad8425d93f771b5bcc2bd398b4; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 943eb0ede74ecd609fdfd3f0b83e0d237613e526; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < fada9b8c95c77bb46b89e18117405bc90fce9f74; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < e98ecc6e94f4e6d21c06660b0f336df02836694f | — | cvelist |
| Linux | 5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50859. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50859.md Affected: Linux >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < d0050ec3ebbcb3451df9a65b8460be9b9e02e80c; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 9312e04b6c6bc46354ecd0cc82052a2b3df0b529; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 60480291c1fcafad8425d93f771b5bcc2bd398b4; >= d5c7076b772ad7dcdb92303… Fixed in: Linux 9312e04b6c6bc46354ecd0cc82052a2b3df0b529, Linux 60480291c1fcafad8425d93f771b5bcc2bd398b4, Linux 943eb0ede74ecd609fdfd3f0b83e0d237613e526 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/d0050ec3ebbcb3451df9a65b8460be9b9e02e80c
- https://git.kernel.org/stable/c/9312e04b6c6bc46354ecd0cc82052a2b3df0b529
- https://git.kernel.org/stable/c/60480291c1fcafad8425d93f771b5bcc2bd398b4
- https://git.kernel.org/stable/c/943eb0ede74ecd609fdfd3f0b83e0d237613e526
- https://git.kernel.org/stable/c/fada9b8c95c77bb46b89e18117405bc90fce9f74
- https://git.kernel.org/stable/c/e98ecc6e94f4e6d21c06660b0f336df02836694f
FAQ
Is CVE-2022-50859 being exploited?
There is no confirmed exploitation: CVE-2022-50859 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50859?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50859?
Linux >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < d0050ec3ebbcb3451df9a65b8460be9b9e02e80c; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 9312e04b6c6bc46354ecd0cc82052a2b3df0b529; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 60480291c1fcafad8425d93f771b5bcc2bd398b4; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < 943eb0ede74ecd609fdfd3f0b83e0d237613e526; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < fada9b8c95c77bb46b89e18117405bc90fce9f74; >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d, < e98ecc6e94f4e6d21c06660b0f336df02836694f; Linux 5.0.
Is there a fix for CVE-2022-50859?
Yes. Fixed in Linux 9312e04b6c6bc46354ecd0cc82052a2b3df0b529, Linux 60480291c1fcafad8425d93f771b5bcc2bd398b4, Linux 943eb0ede74ecd609fdfd3f0b83e0d237613e526. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50859?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.