CVE-2022-50859
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50859 is an information disclosure vulnerability in the Linux kernel's CIFS (Common Internet File System) subsystem, specifically in the handling of the VALIDATE_NEGOTIATE_INFO message. The root cause is a coding error introduced by commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list"), which extended the dialect count from 3 to 4 but failed to correspondingly reduce the message length, resulting in a message body that is 2 bytes larger than expected and contains uninitialized memory. This uninitialized data may be transmitted over the network, potentially leaking kernel memory contents. Affected kernel versions are those from the introduction of commit d5c7076b772a up to the respective stable-branch fixes. The CVSS category is estimated as Medium, with an EPSS score of approximately 0.024% (Feedly, ENISA EUVD).

Technical details

The vulnerability is classified under CWE related to use of uninitialized memory / information exposure (information leakage via network). In the Linux kernel's cifs driver, when constructing a VALIDATE_NEGOTIATE_INFO request for SMB3/SMB3.1.1 dialect negotiation, the message length field was not correctly decremented after the dialect list was extended from 3 to 4 entries. As a result, the kernel sends a 28-byte message instead of the correct 26-byte message, with the extra 2 bytes drawn from uninitialized kernel stack or heap memory. This is a local-to-network vector: a system mounting SMB shares using the affected kernel will inadvertently transmit uninitialized memory to the SMB server during the negotiate phase. No authentication or special privileges are required on the attacker's side to receive this leaked data if they control or monitor the SMB server (Feedly, ENISA EUVD).

Impact

The primary impact is a confidentiality breach: uninitialized kernel memory (2 bytes per VALIDATE_NEGOTIATE_INFO exchange) may be exposed to a remote SMB server or a network observer. While the leaked data volume per transaction is small, it could potentially contain sensitive kernel memory fragments. Integrity and availability are not directly affected by this vulnerability. The scope is limited to Linux systems actively mounting SMB3/SMB3.1.1 shares using the affected kernel versions (Feedly, ENISA EUVD).

Mitigation and workarounds

The Linux kernel stable branches have released fixes for this vulnerability. Patched versions include Linux 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, and 6.1 (and later). Users should update their Linux kernel to one of these patched versions. As a workaround, administrators can avoid mounting SMB3.1.1 shares on affected systems until a kernel update is applied, or restrict network access to untrusted SMB servers. Amazon Linux 2 users can refer to the ALAS2KERNEL-5.15-2025-090 advisory for distribution-specific guidance (ENISA EUVD, Amazon Linux Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management