Executive summary
CVE-2026-143407 affects the intel_qat crypto acceleration driver in the Linux kernel's acceleration device framework (adf). A Physical Function restart can invoke the Virtual Function restart-notification path after the vf2pf_lock mutex has already been destroyed. The resulting operation locks a destroyed mutex, creating a use-after-destroy condition in kernel memory.
The practical trigger is administrative: the host must operate QAT hardware, have one or more Virtual Functions bound to the host, and perform a PF reset or restart. The available record contains no exploitation evidence, no CVSS vector, and no indication that unprivileged users can reach the path without prior device-management privileges. The realistic risk is driver instability, kernel warnings, possible crashes, and undefined behavior rather than demonstrated remote compromise.
The upstream fix changes the lifetime of vf2pf_lock so that it remains valid for restart messages sent outside the normal device up/down cycle. Specific fixed kernel versions and stable-branch backports are not included in the supplied source.
Affected systems
The issue applies to systems that meet all of these conditions:
- The Linux kernel includes the QAT crypto acceleration driver (
intel_qat) and its associated acceleration device framework (adf).
- The system uses QAT-capable hardware.
- At least one Virtual Function is assigned and bound to the host.
- A Physical Function reset or restart occurs while the affected driver path is in use.
The reported reproduction environment used a dh895xcc device with 32 host-bound VFs. This example establishes a reproducible configuration, but it does not define the full range of affected hardware.
The underlying locking defect is independent of CONFIG_DEBUG_MUTEXES. That configuration makes the faulty lock operation visible through a kernel warning; without it, the condition may occur silently.
The supplied advisory does not enumerate affected Linux kernel releases, fixed releases, or an upstream commit hash. Consequently, the precise release boundary and distribution-package status cannot be determined from the available information.
Detailed technical analysis
Root cause
The defective mutex is vf2pf_lock, which protects the VF2PF CSR interface. It is separate from the PF2VF bottom-half lock with which it is initialized.
The problematic sequence is:
adf_dev_down()runs and destroysvf2pf_lock.
adf_dev_stop_async()subsequently sends theRESTARTING_COMPLETEmessage to VFs.
- The notification handler,
adf_vf2pf_notify_restart_complete(), attempts to acquirevf2pf_lock.
- The mutex is therefore locked after its destruction.
Both stages execute sequentially in the adf_vf_stop_wq worker. As a result, the advisory states that every PF restart reaches the destroyed-mutex operation when the relevant VF path is active.
Why message reordering is not the fix
The RESTARTING_COMPLETE notification cannot simply be moved ahead of adf_dev_down(). The PF waits for the notification before completing its own reset, while the VF must first tear down its rings. Moving the message would therefore break the required synchronization sequence.
The upstream approach instead ties the mutex lifetime to the acceleration device. It initializes vf2pf_lock in adf_devmgr_add_dev() and destroys it in adf_devmgr_rm_dev(), alongside state_lock. This keeps the lock valid for notifications sent outside the device's normal up/down lifecycle.
The is_vf flag is set before adf_devmgr_add_dev() and remains set until adf_devmgr_rm_dev(). The revised lifetime therefore applies to VF instances while preserving the intended distinction between PF and VF behavior.
Observable symptoms
With CONFIG_DEBUG_MUTEXES enabled, the reported failure produces:
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
- A warning at
kernel/locking/mutex.c:159inmutex_lock+0x171/0x1c0
- Workqueue
adf_vf_stop_wq
- Module
[intel_qat]
- A call trace involving
adf_gen2_pfvf_send,adf_vf2pf_notify_restart_complete, andadf_dev_stop_async
Without debug mutex checks, the defective operation can remain silent while still accessing destroyed memory. The available information does not establish whether memory reuse can be controlled or converted into a stronger exploitation primitive.
Attack surface and impact
The path is reached through privileged device-management activity rather than untrusted network input. VF assignment and PF reset operations are administrative actions, and the supplied record identifies no unprivileged route to the affected code.
The primary consequences are:
- Kernel warnings or tainted-kernel reports.
- Driver instability or an unexpected reboot following PF reset.
- Undefined behavior caused by locking a destroyed mutex.
- Potential disruption of hardware-accelerated cryptographic operations on affected systems.
There is no evidence in the supplied context of confidentiality loss, privilege escalation, remote exploitation, public proof-of-concept code, or active exploitation. The CVE is also not identified as listed in the CISA Known Exploited Vulnerabilities catalog.
Mitigation
Upstream patch
Deploy a Linux kernel build containing the upstream change described as crypto: qat - fix use of destroyed vf2pf_lock on VF restart. The fix initializes and destroys vf2pf_lock in adf_devmgr_add_dev() and adf_devmgr_rm_dev(), placing its lifetime under the acceleration device object rather than the device up/down cycle.
Because the supplied context contains neither an upstream commit identifier nor fixed-version numbers, the corresponding Linux stable-branch or distribution backport should be confirmed through the applicable vendor advisory before rollout.
Operational workaround
Where immediate patching is not practical, avoid PF resets while Virtual Functions remain bound to the host. If operational requirements permit, quiesce workloads and unbind or remove the VFs before performing a PF reset or hot-reset operation. This limits use of the affected notification path but does not repair the underlying defect.
Detection and verification
On QAT-equipped systems, monitor kernel logs after PF resets and VF teardown for:
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
- Warnings referencing
kernel/locking/mutex.c:159
- The
mutex_lock→adf_gen2_pfvf_send→adf_vf2pf_notify_restart_complete→adf_dev_stop_asynccall path
- Workqueue
adf_vf_stop_wqor module[intel_qat]
- Tainted-kernel reports, unexpected reboots, KASAN findings, or other memory-corruption diagnostics
Enabling CONFIG_DEBUG_MUTEXES can make the defect easier to validate during testing, although the production impact assessment should not be based solely on warning visibility.
Expert insight
This defect illustrates why synchronization primitives often need a lifetime independent of the operation they protect. A mutex may remain logically necessary after a device enters its down phase, but destroying it there creates an unsafe boundary between state teardown and deferred notification handling.
The upstream solution is structurally stronger than a one-time sequencing adjustment because it establishes the lock's ownership at the enclosing device-object level. It also preserves the mandatory RESTARTING_COMPLETE ordering between the PF and VF. That combination addresses both lifetime management and protocol requirements.
The available evidence supports a low-severity assessment: the path is privileged and hardware-specific, exploitation is not documented, and no stronger security impact has been demonstrated. Nevertheless, use-after-destroy defects in kernel code carry inherent instability risk, so patch verification remains important on systems that regularly reset QAT physical functions.
Actionable recommendations
- Identify Linux-based systems that use QAT hardware and the
intel_qatdriver, especially those performing routine PF resets or hot-reset operations.
- Check the applicable Linux distribution or vendor advisory for the backport associated with
crypto: qat - fix use of destroyed vf2pf_lock on VF restart; the supplied source does not provide the commit or fixed-version identifiers.
- Update to a vendor-confirmed kernel build containing the fix when one is available for the deployed kernel branch.
- Until patching is available, unbind or quiesce host-bound VFs before PF restart operations where service requirements permit.
- Review
dmesgor journal entries for the documented mutex warning andintel_qatcall trace after QAT maintenance or reset activity.
- Validate the correction under
CONFIG_DEBUG_MUTEXESon representative hardware, where test infrastructure allows, and confirm that PF restarts no longer produce the destroyed-mutex warning.