{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-53046: ksmbd: fix use-after-free from async crypto on Qualcomm crypto engine","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-53046","status":"final","version":"1","initial_release_date":"2026-06-24T16:29:52.676Z","current_release_date":"2026-06-28T06:38:28.822Z","revision_history":[{"date":"2026-06-24T16:29:52.676Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free from async crypto on Qualcomm crypto engine\n\nksmbd_crypt_message() sets a NULL completion callback on AEAD requests\nand does not handle the -EINPROGRESS return code from async hardware\ncrypto engines like the Qualcomm Crypto Engine (QCE). When QCE returns\n-EINPROGRESS, ksmbd treats it as an error and immediately frees the\nrequest while the hardware DMA operation is still in flight. The DMA\ncompletion callback then dereferences freed memory, causing a NULL\npointer crash:\n\n  pc : qce_skcipher_done+0x24/0x174\n  lr : vchan_complete+0x230/0x27c\n  ...\n  el1h_64_irq+0x68/0x6c\n  ksmbd_free_work_struct+0x20/0x118 [ksmbd]\n  ksmbd_exit_file_cache+0x694/0xa4c [ksmbd]\n\nUse the standard crypto_wait_req() pattern with crypto_req_done() as\nthe completion callback, matching the approach used by the SMB client\nin fs/smb/client/smb2ops.c. This properly handles both synchronous\nengines (immediate return) and async engines (-EINPROGRESS followed\nby callback notification).","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-53046 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-53046"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-53046"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/57b47231055b431ed0a1a55f33cac32981564405"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/cc2da381875d4a67026e4c8feb3dba51a2a2d1bc"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/8fcefe840fa8c14ce667768e5b043286ac3bbcbe"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/8ef183216feaa24b66b940510d8b68f680eb56e9"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/7164b3953cefd540e7ebca828c793bc6869cfbc4"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/b46aa129fa2807bfe1545fe74d9295d53c51520b"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/3e298897f41c61450c2e7a4f457e8b2485eb35b3"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <57b47231055b431ed0a1a55f33cac32981564405","product":{"name":"Linux Linux >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <57b47231055b431ed0a1a55f33cac32981564405","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <cc2da381875d4a67026e4c8feb3dba51a2a2d1bc","product":{"name":"Linux Linux >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <cc2da381875d4a67026e4c8feb3dba51a2a2d1bc","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <8fcefe840fa8c14ce667768e5b043286ac3bbcbe","product":{"name":"Linux Linux >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <8fcefe840fa8c14ce667768e5b043286ac3bbcbe","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <8ef183216feaa24b66b940510d8b68f680eb56e9","product":{"name":"Linux Linux >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <8ef183216feaa24b66b940510d8b68f680eb56e9","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <7164b3953cefd540e7ebca828c793bc6869cfbc4","product":{"name":"Linux Linux >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <7164b3953cefd540e7ebca828c793bc6869cfbc4","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <b46aa129fa2807bfe1545fe74d9295d53c51520b","product":{"name":"Linux Linux >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <b46aa129fa2807bfe1545fe74d9295d53c51520b","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <3e298897f41c61450c2e7a4f457e8b2485eb35b3","product":{"name":"Linux Linux >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <3e298897f41c61450c2e7a4f457e8b2485eb35b3","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"5.15","product":{"name":"Linux Linux 5.15","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.15.209","product":{"name":"Linux Linux 5.15.209","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.1.175","product":{"name":"Linux Linux 6.1.175","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.6.141","product":{"name":"Linux Linux 6.6.141","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.91","product":{"name":"Linux Linux 6.12.91","product_id":"CSAFPID-13","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.33","product":{"name":"Linux Linux 6.18.33","product_id":"CSAFPID-14","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.10","product":{"name":"Linux Linux 7.0.10","product_id":"CSAFPID-15","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1","product":{"name":"Linux Linux 7.1","product_id":"CSAFPID-16","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:5.15:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-53046","title":"ksmbd: fix use-after-free from async crypto on Qualcomm crypto engine","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free from async crypto on Qualcomm crypto engine\n\nksmbd_crypt_message() sets a NULL completion callback on AEAD requests\nand does not handle the -EINPROGRESS return code from async hardware\ncrypto engines like the Qualcomm Crypto Engine (QCE). When QCE returns\n-EINPROGRESS, ksmbd treats it as an error and immediately frees the\nrequest while the hardware DMA operation is still in flight. The DMA\ncompletion callback then dereferences freed memory, causing a NULL\npointer crash:\n\n  pc : qce_skcipher_done+0x24/0x174\n  lr : vchan_complete+0x230/0x27c\n  ...\n  el1h_64_irq+0x68/0x6c\n  ksmbd_free_work_struct+0x20/0x118 [ksmbd]\n  ksmbd_exit_file_cache+0x694/0xa4c [ksmbd]\n\nUse the standard crypto_wait_req() pattern with crypto_req_done() as\nthe completion callback, matching the approach used by the SMB client\nin fs/smb/client/smb2ops.c. This properly handles both synchronous\nengines (immediate return) and async engines (-EINPROGRESS followed\nby callback notification).","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8"],"fixed":["CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 3e298897f41c61450c2e7a4f457e8b2485eb35b3, 5.15.209, 57b47231055b431ed0a1a55f33cac32981564405, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1, 7164b3953cefd540e7ebca828c793bc6869cfbc4, 8ef183216feaa24b66b940510d8b68f680eb56e9, 8fcefe840fa8c14ce667768e5b043286ac3bbcbe, b46aa129fa2807bfe1545fe74d9295d53c51520b, cc2da381875d4a67026e4c8feb3dba51a2a2d1bc.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8"]}]}]}