CVE-2022-21546
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-21546 is a vulnerability in the Linux kernel's SCSI target subsystem, specifically related to the WRITE_SAME functionality. The vulnerability was initially reserved on November 15, 2021, and later disclosed with patches in September 2022. The issue affects the SCSI target subsystem where the NDOB (No Data Buffer) bit indicates no data buffer is written out (MITRE CVE, Oracle Bulletin).

Technical details

The vulnerability occurs when commands like 'sgwritesame --ndob' are executed, causing a crash in targetcoreiblock/file's executewritesame handlers when attempting to access secmd->tdata_sg because it's NULL. The vulnerability has been assigned a CVSS v3.1 base score of 7.7 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H, indicating a network attack vector with low attack complexity (Wiz).

Impact

When exploited, this vulnerability primarily affects system availability by causing system crashes. According to the CVSS metrics, while there is no impact on confidentiality or integrity, the vulnerability has a significant impact on system availability (Wiz).

Mitigation and workarounds

Oracle has released patches for multiple versions of their systems including Oracle Linux 6, 7, 8, 9, and Oracle VM version 3, all concerning the kernel-uek component. These patches were made available through various security advisories (ELSA) released in September 2022 (Oracle Bulletin).

Additional resources


SourceThis report was generated using AI

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