# CVE-2026-143407: crypto: qat - fix use of destroyed vf2pf\_lock on VF restart

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2026-12-05 · Modified: 2026-12-05
- Aliases: DEBIAN-CVE-2026-143407
- Record: https://cvemate.com/vulnerability/CVE-2026-143407 · JSON: https://cvemate.com/vulnerability/CVE-2026-143407/json

## Description

```text
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().
```

## Signals

- CVSS: none published
- EPSS: 0.296%, percentile 23.882%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian linux (Debian): \< 6.12.117-1 \| \< 7.3.4-1
- linux linux: ≥ 6f1b5236348fced7e7691a933327694b4106bc39, \< 3377a6a9ebb921829767524bf801b720c822b51d \| ≥ 6f1b5236348fced7e7691a933327694b4106bc39, \< 335a0eaaa0d72197c52ba7230c869ef587904109 \| ≥ 6f1b5236348fced7e7691a933327694b4106bc39, \< 0ef0d14f1b2641e274599c82e639f50facac2d8d \| ≥ 6f1b5236348fced7e7691a933327694b4106bc39, \< 4921634ac0a9a65aaa5e41308aabda3d3f562ee3 \| f39df661e9f6703a79ef8ff121f7bdfb394a7734 \| 18cc7feb11cba02c79037a5ffaeae7da267ba4a3 \| ≥ 6.10.13, \< 6.11 \| ≥ 6.11.2, \< 6.12 \| 6.12

## References

- <https://git.kernel.org/stable/c/3377a6a9ebb921829767524bf801b720c822b51d>
- <https://git.kernel.org/stable/c/335a0eaaa0d72197c52ba7230c869ef587904109>
- <https://git.kernel.org/stable/c/0ef0d14f1b2641e274599c82e639f50facac2d8d>
- <https://git.kernel.org/stable/c/4921634ac0a9a65aaa5e41308aabda3d3f562ee3>
- <https://security-tracker.debian.org/tracker/CVE-2026-143407>

---

Data as of 2026-12-06T03:28:26.565Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
