CVE-2021-47056: crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
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.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 6Timeline
- 29-02-2024PublishedVulnerability first disclosed.
- 11-05-2026Last 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- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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