A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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
Affected products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/79a26fe3175b9ed7c0c9541b197cb9786237c0f7
- git.kernel.org /stable/c/889b0e2721e793eb46cf7d17b965aa3252af3ec8
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning