In the Linux kernel, the following vulnerability has been resolved:
crypto: ccp - Fix use-after-free on error path
In the error path of sev_tsm_init_locked(), the code dereferences 't'
after it has been freed with kfree(). The pr_err() statement attempts
to access t->tio_en and t->tio_init_done after the memory has been
released.
Move the pr_err() call before kfree(t) to access the fields while the
memory is still valid.
This issue reported by Smatch static analyser
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-03-25 11:16
Updated : 2026-06-17 10:21
NVD link : CVE-2026-23344
Mitre link : CVE-2026-23344
CVE.ORG link : CVE-2026-23344
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-416
Use After Free
