5.5

CVE-2021-47056: crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init

Analyzed
AliasesUBUNTU-CVE-2021-47056DEBIAN-CVE-2021-47056
Published 29-02-2024Last modified 11-05-2026

Vulnerability summary

CVE-2021-47056 is a medium (CVSS 5.5) Use of Uninitialized Resource vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 29-02-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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]

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu85 products
  • linux< 4.15.0-151.157 | < 5.4.0-77.86
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1109.116 | < 5.4.0-1051.53
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < f4c4e07140687f42bfa40e091bb4a55d7960ce4d | ≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 446045cf682af12d9294765f6c46084b374b5654 | ≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 09d16cee6285d37cc76311c29add6d97a7e4acda | ≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 05ec8192ee4bfdf2a8894a68350dac9f1a155fa6 | ≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 1f50392650ae794a1aea41c213c6a3e1c824413c | ≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1 | ≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 1ea500ce6f7c9106e4a561d28e69215f3d451818 | ≥ 25c6ffb249f612c56a48ce48a3887adf57b8f4bd, < 8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446 | 4.7
  • linux_kernel≥ 4.7, < 4.9.269 | ≥ 4.10, < 4.14.233 | ≥ 4.15, < 4.19.191 | ≥ 4.20, < 5.4.119 | ≥ 5.5, < 5.10.37 | ≥ 5.11, < 5.11.21 | ≥ 5.12, < 5.12.4
Debian1 product
  • linux< 5.10.38-1

3 vendors · 88 products

References

12 links
Show all 12 references