Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-47178

7.5 · HIGH
Published Mar 25, 2024 linux CWE-459 EPSS 0.58% (45th pctl)

Overview

CVE-2021-47178 is a high-severity vulnerability affecting linux linux_kernel. It was published on March 25, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: target: core: Avoid smp_processor_id() in preemptible code

The BUG message "BUG: using smp_processor_id() in preemptible [00000000]

code" was observed for TCMU devices with kernel config DEBUG_PREEMPT.

The message was observed when blktests block/005 was run on TCMU devices

with fileio backend or user:zbc backend [1]. The commit 1130b499b4a7

("scsi: target: tcm_loop: Use LIO wq cmd submission helper") triggered the

symptom. The commit modified work queue to handle commands and changed

'current->nr_cpu_allowed' at smp_processor_id() call.

The message was also observed at system shutdown when TCMU devices were not

cleaned up [2]. The function smp_processor_id() was called in SCSI host

work queue for abort handling, and triggered the BUG message. This symptom

was observed regardless of the commit 1130b499b4a7 ("scsi: target:

tcm_loop: Use LIO wq cmd submission helper").

To avoid the preemptible code check at sm

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.11, < 5.12.9 Affected

Frequently Asked Questions

What is CVE-2021-47178?

CVE-2021-47178 is a high-severity vulnerability affecting linux linux_kernel. It was published on March 25, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2021-47178?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-47178?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47178?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47178 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.