CVE-2022-47942
CBL Mariner vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in ksmbd in the Linux kernel versions 5.15 through 5.19 before 5.19.2. The vulnerability (CVE-2022-47942) exists in the setntacldacl function and is related to the use of SMB2QUERYINFOHE command after a malformed SMB2SETINFOHE command (NVD, ZDI Advisory).

Technical details

The vulnerability occurs when processing security descriptors in the ksmbd module. When a malformed file attribute is set under the label 'security.NTACL' using SMB2SETINFOHE command, a subsequent SMB2QUERYINFOHE command can trigger a heap-based buffer overflow. The issue stems from insufficient buffer validation for security descriptors stored by malformed SMB2SETINFO_HE commands. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows authenticated remote attackers to execute arbitrary code in the context of the kernel. This could potentially lead to complete system compromise with kernel-level privileges (ZDI Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 5.19.2 and backported to affected stable kernel versions. The fix includes adding proper buffer validation for security descriptors and allocating appropriate response buffer sizes for SMB2OINFO_SECURITY file info class (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66031HIGH8.7
  • JavaScriptJavaScript
  • kibana-8.18
NoYesNov 26, 2025
CVE-2025-12638HIGH8
  • CBL MarinerCBL Mariner
  • keras
NoYesNov 28, 2025
CVE-2025-13601HIGH7.7
  • CBL MarinerCBL Mariner
  • glib2-devel
NoYesNov 26, 2025
CVE-2025-66293HIGH7.1
  • OpenJDK JDKOpenJDK JDK
  • java-25-openjdk
NoYesDec 03, 2025
CVE-2025-66030MEDIUM6.3
  • JavaScriptJavaScript
  • kubeflow-pipelines
NoYesNov 26, 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