EnvMap GitHub

CVE-2026-143407

crypto: qat - fix use of destroyed vf2pf_lock on VF restart

Not scored yetReceived

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: qat - fix use of destroyed vf2pf_lock on VF restart adf_dev_stop_async() sends the RESTARTING_COMPLETE message after adf_dev_down() has returned, but adf_dev_down() already destroyed the lock that message takes. Both run in sequence in the same worker, so every PF restart locks a destroyed mutex. With CONFIG_DEBUG_MUTEXES on a dh895xcc with 32 host-bound VFs this trips on the first PF reset: DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0 Workqueue: adf_vf_stop_wq adf_dev_stop_async [intel_qat] Call Trace: adf_gen2_pfvf_send+0x210/0x530 [intel_qat] adf_vf2pf_notify_restart_complete+0x55/0x80 [intel_qat] adf_dev_stop_async+0xdb/0x140 [intel_qat] The notification cannot move before adf_dev_down(): the PF waits for it before its own reset and the VF must tear down its rings first. vf2pf_lock protects the VF2PF CSR and is unrelated to the PF2VF bottom half it is initialised alongside. Tie its lifetime to the accel device, next to state_lock in adf_devmgr_add_dev()/adf_devmgr_rm_dev(), so it stays valid for messages sent outside the device up/down cycle. It is only touched for VFs, which set is_vf before adf_devmgr_add_dev() and keep it set until adf_devmgr_rm_dev().

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 6f1b5236348fced7e7691a933327694b4106bc39 before 3377a6a9ebb921829767524bf80; from 6f1b5236348fced7e7691a933327694b4106bc39 before 335a0eaaa0d72197c52ba7230c8; from 6f1b5236348fced7e7691a933327694b4106bc39 before 0ef0d14f1b2641e274599c82e63; from 6f1b5236348fced7e7691a933327694b4106bc39 before 4921634ac0a9a65aaa5e41308aa; 6.12

as the publisher (Linux) lists them.

References

Record

Published03:19 UTC, 5 December 2026
Last changed03:19 UTC, 5 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143407 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.