CVE-2022-50856
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50856 is a resource leak vulnerability in the Linux kernel's CIFS (Common Internet File System) subsystem. Specifically, the function cifs_ses_add_channel() fails to free an xid (transaction ID) before returning, resulting in an xid leak. The vulnerability affects Linux kernel versions starting from the commit introducing the bug (d70e9fa55884760b6d6c293dbf20d8c52ce11fb7) up to the patched releases. Fixed versions include kernel 5.10.152, 5.15.76, 6.0.6, and 6.1. It was published on December 30, 2025, and carries an estimated CVSS severity of Medium (Feedly, ENISA EUVD).

Technical details

The root cause is a missing resource deallocation (CWE-401: Missing Release of Memory after Effective Lifetime) in the cifs_ses_add_channel() function within the Linux kernel's CIFS driver. When the function returns — whether on success or error paths — it does not call the appropriate free_xid() to release the transaction ID allocated at the start of the function. This results in a kernel-level resource leak where xid slots are exhausted over time if the code path is triggered repeatedly. The fix, applied across multiple stable branches, ensures free_xid() is called before all return paths (Feedly, ENISA EUVD).

Impact

The primary impact of this vulnerability is a kernel resource leak that can degrade system stability over time. Repeated triggering of the affected code path — for example, by establishing multiple SMB multichannel sessions — can exhaust available xid slots, potentially leading to denial of service conditions or degraded CIFS/SMB functionality. There is no known confidentiality or integrity impact; the vulnerability is limited to availability (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches. Users should upgrade to kernel version 5.10.152 or later (5.10.x branch), 5.15.76 or later (5.15.x branch), 6.0.6 or later (6.0.x branch), or 6.1 or later. The fix ensures free_xid() is called on all return paths within cifs_ses_add_channel(). Linux distribution vendors (e.g., Red Hat, Ubuntu, SUSE) are expected to backport this fix into their respective kernel packages; users should apply available distribution security updates (ENISA EUVD, Feedly).

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