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-47041

7.5 · HIGH
Published Feb 28, 2024 linux CWE-667 EPSS 0.49% (40th pctl)

Overview

CVE-2021-47041 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 28, 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:

nvmet-tcp: fix incorrect locking in state_change sk callback

We are not changing anything in the TCP connection state so

we should not take a write_lock but rather a read lock.

This caused a deadlock when running nvmet-tcp and nvme-tcp

on the same system, where state_change callbacks on the

host and on the controller side have causal relationship

and made lockdep report on this with blktests:

================================

WARNING: inconsistent lock state

5.12.0-rc3 #1 Tainted: G I

--------------------------------

inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-R} usage.

nvme/1324 [HC0[0]:SC0[0]:HE1:SE1] takes:

ffff888363151000 (clock-AF_INET){++-?}-{2:2}, at: nvme_tcp_state_change+0x21/0x150 [nvme_tcp]

{IN-SOFTIRQ-W} state was registered at:

__lock_acquire+0x79b/0x18d0

lock_acquire+0x1ca/0x480

_raw_write_lock_bh+0x39/0x80

nvmet_tcp_state_change+0x21/0x170 [nvmet_tcp]

tcp_fin+0x2a8/0x780

tcp_data_

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.0, < 5.4.119 Affected

Frequently Asked Questions

What is CVE-2021-47041?

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

How severe is CVE-2021-47041?

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-47041?

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-47041?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47041 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.