CVE-2022-50859

cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message

N/A
Published: December 30, 2025 at 12:15 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0 ≤ v < 5.10.1505.0 ≤ v < 5.15.755.0 ≤ v < 5.19.175.0 ≤ v < 5.4.2205.0 ≤ v < 6.0.35.0 ≤ v < 6.15.0d5c7076b772ad7dcdb92303397b36aee8fa0d25d
Vendor states this is fixed in 60480291c1fcafad8425d93f771b5bcc2bd398b4 (fixed)
Vendor states this is fixed in 9312e04b6c6bc46354ecd0cc82052a2b3df0b529 (fixed)
Vendor states this is fixed in 943eb0ede74ecd609fdfd3f0b83e0d237613e526 (fixed)
Vendor states this is fixed in d0050ec3ebbcb3451df9a65b8460be9b9e02e80c (fixed)
Vendor states this is fixed in e98ecc6e94f4e6d21c06660b0f336df02836694f (fixed)
Vendor states this is fixed in fada9b8c95c77bb46b89e18117405bc90fce9f74 (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 5.4.220 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card