Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-47178
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2021-47178) was identified in the SCSI target core component. The issue involves the improper use of smp_processor_id() in preemptible code, which could lead to system instability. The vulnerability was discovered when running blktests block/005 on TCMU devices with fileio backend or user:zbc backend (KERNEL GIT).

Technical details

The vulnerability occurs when smp_processor_id() is called in preemptible code sections, specifically in the SCSI host work queue for abort handling. This was triggered by commit 1130b499b4a7 which modified work queue handling of commands and changed 'current->nr_cpu_allowed' at smp_processor_id() call. The issue has been assigned a CVSS v3.1 base score of 5.5 with the vector string (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) (CISA).

Impact

The vulnerability could result in system instability and potential denial of service conditions when running in preemptible code contexts. This particularly affects systems using TCMU devices with kernel config DEBUG_PREEMPT enabled (KERNEL GIT).

Exploitability

The vulnerability requires local access and low attack complexity to exploit. It primarily affects systems running specific SCSI target configurations with preemptible kernel settings (CISA).

Mitigation and workarounds

The vulnerability has been fixed by replacing smp_processor_id() with raw_smp_processor_id() in the affected code. This change avoids the preemptible code check while maintaining the intended functionality for CPU ID usage in performance improvement (KERNEL GIT).

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-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.17
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesSep 17, 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