mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
04de7589e0
When sealing or unsealing a key blob we currently do not wait for
the AEAD cipher operation to finish and simply return after submitting
the request. If there is some load on the system we can exit before
the cipher operation is done and the buffer we read from/write to
is already removed from the stack. This will e.g. result in NULL
pointer dereference errors in the DCP driver during blob creation.
Fix this by waiting for the AEAD cipher operation to finish before
resuming the seal and unseal calls.
Cc: stable@vger.kernel.org # v6.10+
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tpm2key.asn1 | ||
trusted_caam.c | ||
trusted_core.c | ||
trusted_dcp.c | ||
trusted_tee.c | ||
trusted_tpm1.c | ||
trusted_tpm2.c |