PT-2024-11146 · Linux+2 · Linux Kernel+2

Published

2021-03-26

·

Updated

2025-01-09

·

CVE-2021-47056

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the crypto: qat module in the Linux kernel, where the ADF STATUS PF RUNNING flag is set after adf dev init. However, the vf2pf lock is initialized in adf dev init, which can fail, causing the vf2pf lock to be either not initialized or destroyed. A subsequent use of vf2pf lock will cause an issue. The problem can be fixed by only setting the ADF STATUS PF RUNNING flag if adf dev init returns 0. The adf vf2pf shutdown() function checks this flag before calling adf iov putmsg()->mutex lock(vf2pf lock). The mutex lock function is called with vf2pf lock as an argument, which can lead to issues if vf2pf lock is not properly initialized.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use of Uninitialized Resource

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-07264
CVE-2021-47056
OESA-2024-1483
OESA-2024-1484
OPENSUSE-SU-2024_1489-1
SUSE-SU-2024:1454-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1489-1
SUSE-SU-2024:1643-1
SUSE-SU-2024:1646-1
SUSE-SU-2024:1870-1

Affected Products

Astra Linux
Linux Kernel
Suse