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

5.5 · MEDIUM
Published Feb 29, 2024 linux CWE-908 EPSS 0.23% (13th pctl)

Overview

CVE-2021-47056 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init

ADF_STATUS_PF_RUNNING is (only) used and checked by adf_vf2pf_shutdown()

before calling adf_iov_putmsg()->mutex_lock(vf2pf_lock), however the

vf2pf_lock is initialized in adf_dev_init(), which can fail and when it

fail, the vf2pf_lock is either not initialized or destroyed, a subsequent

use of vf2pf_lock will cause issue.

To fix this issue, only set this flag if adf_dev_init() returns 0.

[ 7.178404] BUG: KASAN: user-memory-access in __mutex_lock.isra.0+0x1ac/0x7c0

[ 7.180345] Call Trace:

[ 7.182576] mutex_lock+0xc9/0xd0

[ 7.183257] adf_iov_putmsg+0x118/0x1a0 [intel_qat]

[ 7.183541] adf_vf2pf_shutdown+0x4d/0x7b [intel_qat]

[ 7.183834] adf_dev_shutdown+0x172/0x2b0 [intel_qat]

[ 7.184127] adf_probe+0x5e9/0x600 [qat_dh895xccvf]

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 >= 4.7, < 4.9.269 Affected

Frequently Asked Questions

What is CVE-2021-47056?

CVE-2021-47056 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47056?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

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

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