CVE-2022-0168: 
Linux Kernel vulnerability analysis and mitigation

Overview

A denial of service (DOS) vulnerability (CVE-2022-0168) was discovered in the Linux kernel's smb2_ioctl_query_info function within the Common Internet File System (CIFS) implementation. The vulnerability was found in the fs/cifs/smb2ops.c file and was disclosed in January 2022. The issue affects Linux kernel versions up to (excluding) 5.18 and various Linux distributions including Red Hat Enterprise Linux 8.0 and 9.0 (NVD, CVE).

Technical details

The vulnerability stems from an incorrect validation of the return value from the memdup_user function in the smb2_ioctl_query_info function. When qi.output_buffer_length is set to zero, the memdup_user function returns 0x10, which is not a valid pointer but can pass the validation check. This invalid buffer is then passed to the SMB2_set_info_init function when qi.flags equals PASSTHRU_SET_INFO, leading to a NULL pointer dereference (Redhat Bugzilla). The vulnerability has been assigned a CVSS v3.1 base score of 4.4 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability allows a local privileged attacker (with CAP_SYS_ADMIN capabilities) to cause a denial of service condition by crashing the system. The impact is limited to system availability, with no direct impact on confidentiality or integrity (NVD).

Exploitability

The vulnerability requires local access and high privileges (CAP_SYS_ADMIN capabilities) to exploit. A proof-of-concept exploit has been documented that demonstrates how an attacker can trigger the vulnerability through specific IOCTL calls to the CIFS filesystem (Redhat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through commit d6f5e358452479fa8a773b5c6ccc9e4ec5a20880, which adds proper validation of the output_buffer_length parameter. The fix has been backported to various Linux distributions. For Red Hat Enterprise Linux, fixes are available through security updates RHSA-2022:7444, RHSA-2022:7683, RHSA-2022:7933, and RHSA-2022:8267 (Kernel Commit, Redhat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Arch Linux

Affected

rolling

linux: 5.17.3.arch1-1

Fixed

Source: This 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-99270HIGH8.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-core
NoYesNov 03, 2026
CVE-2026-99262MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.8
NoYesNov 03, 2026
CVE-2026-99263LOW2.5
  • Linux Kernel logoLinux Kernel
  • kernel-core
NoYesNov 03, 2026
CVE-2026-99267NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug
NoYesNov 03, 2026
CVE-2026-99264NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k
NoYesNov 03, 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

Additional Wiz resources

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