{"api_version":"1","generated_at":"2026-12-05T13:49:35+00:00","cve":"CVE-2026-143407","urls":{"html":"https://cve.report/CVE-2026-143407","api":"https://cve.report/api/cve/CVE-2026-143407.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143407","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143407"},"summary":{"title":"crypto: qat - fix use of destroyed vf2pf_lock on VF restart","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - fix use of destroyed vf2pf_lock on VF restart\n\nadf_dev_stop_async() sends the RESTARTING_COMPLETE message after\nadf_dev_down() has returned, but adf_dev_down() already destroyed the\nlock that message takes.\n\nBoth run in sequence in the same worker, so every PF restart locks a\ndestroyed mutex. With CONFIG_DEBUG_MUTEXES on a dh895xcc with 32 host-bound\nVFs this trips on the first PF reset:\n\n  DEBUG_LOCKS_WARN_ON(lock->magic != lock)\n  WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0\n  Workqueue: adf_vf_stop_wq adf_dev_stop_async [intel_qat]\n  Call Trace:\n   adf_gen2_pfvf_send+0x210/0x530 [intel_qat]\n   adf_vf2pf_notify_restart_complete+0x55/0x80 [intel_qat]\n   adf_dev_stop_async+0xdb/0x140 [intel_qat]\n\nThe notification cannot move before adf_dev_down(): the PF waits for it\nbefore its own reset and the VF must tear down its rings first.\n\nvf2pf_lock protects the VF2PF CSR and is unrelated to the PF2VF bottom half\nit is initialised alongside. Tie its lifetime to the accel device, next to\nstate_lock in adf_devmgr_add_dev()/adf_devmgr_rm_dev(), so it stays valid\nfor messages sent outside the device up/down cycle. It is only touched for\nVFs, which set is_vf before adf_devmgr_add_dev() and keep it set until\nadf_devmgr_rm_dev().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-05 03:19:50","updated_at":"2026-12-05 03:19:50"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/335a0eaaa0d72197c52ba7230c869ef587904109","name":"https://git.kernel.org/stable/c/335a0eaaa0d72197c52ba7230c869ef587904109","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3377a6a9ebb921829767524bf801b720c822b51d","name":"https://git.kernel.org/stable/c/3377a6a9ebb921829767524bf801b720c822b51d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0ef0d14f1b2641e274599c82e639f50facac2d8d","name":"https://git.kernel.org/stable/c/0ef0d14f1b2641e274599c82e639f50facac2d8d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4921634ac0a9a65aaa5e41308aabda3d3f562ee3","name":"https://git.kernel.org/stable/c/4921634ac0a9a65aaa5e41308aabda3d3f562ee3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143407","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143407","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f1b5236348fced7e7691a933327694b4106bc39 3377a6a9ebb921829767524bf801b720c822b51d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f1b5236348fced7e7691a933327694b4106bc39 335a0eaaa0d72197c52ba7230c869ef587904109 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f1b5236348fced7e7691a933327694b4106bc39 0ef0d14f1b2641e274599c82e639f50facac2d8d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f1b5236348fced7e7691a933327694b4106bc39 4921634ac0a9a65aaa5e41308aabda3d3f562ee3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f39df661e9f6703a79ef8ff121f7bdfb394a7734 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 18cc7feb11cba02c79037a5ffaeae7da267ba4a3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.10.13 6.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.11.2 6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c","drivers/crypto/intel/qat/qat_common/adf_vf_isr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3377a6a9ebb921829767524bf801b720c822b51d","status":"affected","version":"6f1b5236348fced7e7691a933327694b4106bc39","versionType":"git"},{"lessThan":"335a0eaaa0d72197c52ba7230c869ef587904109","status":"affected","version":"6f1b5236348fced7e7691a933327694b4106bc39","versionType":"git"},{"lessThan":"0ef0d14f1b2641e274599c82e639f50facac2d8d","status":"affected","version":"6f1b5236348fced7e7691a933327694b4106bc39","versionType":"git"},{"lessThan":"4921634ac0a9a65aaa5e41308aabda3d3f562ee3","status":"affected","version":"6f1b5236348fced7e7691a933327694b4106bc39","versionType":"git"},{"status":"affected","version":"f39df661e9f6703a79ef8ff121f7bdfb394a7734","versionType":"git"},{"status":"affected","version":"18cc7feb11cba02c79037a5ffaeae7da267ba4a3","versionType":"git"},{"lessThan":"6.11","status":"affected","version":"6.10.13","versionType":"semver"},{"lessThan":"6.12","status":"affected","version":"6.11.2","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c","drivers/crypto/intel/qat/qat_common/adf_vf_isr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.12"},{"lessThan":"6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - fix use of destroyed vf2pf_lock on VF restart\n\nadf_dev_stop_async() sends the RESTARTING_COMPLETE message after\nadf_dev_down() has returned, but adf_dev_down() already destroyed the\nlock that message takes.\n\nBoth run in sequence in the same worker, so every PF restart locks a\ndestroyed mutex. With CONFIG_DEBUG_MUTEXES on a dh895xcc with 32 host-bound\nVFs this trips on the first PF reset:\n\n  DEBUG_LOCKS_WARN_ON(lock->magic != lock)\n  WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0\n  Workqueue: adf_vf_stop_wq adf_dev_stop_async [intel_qat]\n  Call Trace:\n   adf_gen2_pfvf_send+0x210/0x530 [intel_qat]\n   adf_vf2pf_notify_restart_complete+0x55/0x80 [intel_qat]\n   adf_dev_stop_async+0xdb/0x140 [intel_qat]\n\nThe notification cannot move before adf_dev_down(): the PF waits for it\nbefore its own reset and the VF must tear down its rings first.\n\nvf2pf_lock protects the VF2PF CSR and is unrelated to the PF2VF bottom half\nit is initialised alongside. Tie its lifetime to the accel device, next to\nstate_lock in adf_devmgr_add_dev()/adf_devmgr_rm_dev(), so it stays valid\nfor messages sent outside the device up/down cycle. It is only touched for\nVFs, which set is_vf before adf_devmgr_add_dev() and keep it set until\nadf_devmgr_rm_dev()."}],"providerMetadata":{"dateUpdated":"2026-12-05T01:20:32.992Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3377a6a9ebb921829767524bf801b720c822b51d"},{"url":"https://git.kernel.org/stable/c/335a0eaaa0d72197c52ba7230c869ef587904109"},{"url":"https://git.kernel.org/stable/c/0ef0d14f1b2641e274599c82e639f50facac2d8d"},{"url":"https://git.kernel.org/stable/c/4921634ac0a9a65aaa5e41308aabda3d3f562ee3"}],"title":"crypto: qat - fix use of destroyed vf2pf_lock on VF restart","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143407","datePublished":"2026-12-05T01:20:32.992Z","dateReserved":"2026-12-03T03:10:28.374Z","dateUpdated":"2026-12-05T01:20:32.992Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-05 03:19:50","lastModifiedDate":"2026-12-05 03:19:50","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143407","Ordinal":"1","Title":"crypto: qat - fix use of destroyed vf2pf_lock on VF restart","CVE":"CVE-2026-143407","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143407","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - fix use of destroyed vf2pf_lock on VF restart\n\nadf_dev_stop_async() sends the RESTARTING_COMPLETE message after\nadf_dev_down() has returned, but adf_dev_down() already destroyed the\nlock that message takes.\n\nBoth run in sequence in the same worker, so every PF restart locks a\ndestroyed mutex. With CONFIG_DEBUG_MUTEXES on a dh895xcc with 32 host-bound\nVFs this trips on the first PF reset:\n\n  DEBUG_LOCKS_WARN_ON(lock->magic != lock)\n  WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0\n  Workqueue: adf_vf_stop_wq adf_dev_stop_async [intel_qat]\n  Call Trace:\n   adf_gen2_pfvf_send+0x210/0x530 [intel_qat]\n   adf_vf2pf_notify_restart_complete+0x55/0x80 [intel_qat]\n   adf_dev_stop_async+0xdb/0x140 [intel_qat]\n\nThe notification cannot move before adf_dev_down(): the PF waits for it\nbefore its own reset and the VF must tear down its rings first.\n\nvf2pf_lock protects the VF2PF CSR and is unrelated to the PF2VF bottom half\nit is initialised alongside. Tie its lifetime to the accel device, next to\nstate_lock in adf_devmgr_add_dev()/adf_devmgr_rm_dev(), so it stays valid\nfor messages sent outside the device up/down cycle. It is only touched for\nVFs, which set is_vf before adf_devmgr_add_dev() and keep it set until\nadf_devmgr_rm_dev().","Type":"Description","Title":"crypto: qat - fix use of destroyed vf2pf_lock on VF restart"}]}}}