CVE-2022-50531
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50531 is an information leak vulnerability in the Linux kernel's TIPC (Transparent Inter-Process Communication) subsystem. The issue was discovered in the tipctopsrvkernsubscr() function, where a failure to properly initialize sub.usrhandle results in four bytes remaining uninitialized when issuing setsockopt(..., SOL_TIPC, ...). This vulnerability was reported by KMSAN (Kernel Memory Sanitizer) when the packet was received (NVD).

Technical details

The vulnerability occurs in the tipctopsrvkernsubscr() function where an 8-byte write is required to initialize sub.usrhandle. When this initialization is not properly performed, four bytes remain uninitialized during setsockopt operations with SOLTIPC. The issue manifests when copying data to user space through the copyout function in lib/ioviter.c, leading to an information leak that was detected by the Kernel Memory Sanitizer (KMSAN) (NVD).

Impact

The vulnerability results in an information leak that could potentially expose sensitive kernel memory contents to user space applications. This type of leak could provide attackers with valuable information about the system's memory layout or sensitive data (NVD).

Mitigation and workarounds

The vulnerability has been fixed by properly initializing the sub.usrhandle variable in the tipctopsrvkernsubscr() function. Users should update to a patched version of the Linux kernel that includes this fix (NVD).

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-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

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