aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDavid Gstir <[email protected]>2024-10-29 12:34:01 +0100
committerJarkko Sakkinen <[email protected]>2024-11-04 21:24:24 +0200
commit04de7589e0a95167d803ecadd115235ba2c14997 (patch)
treeb2e3a1930c02ea031322140bd081a8dfe12e2584 /tools/perf/scripts/python/exported-sql-viewer.py
parent4a74da044ec9ec8679e6beccc4306b936b62873f (diff)
KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation
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: [email protected] # v6.10+ Fixes: 0e28bf61a5f9 ("KEYS: trusted: dcp: fix leak of blob encryption key") Reported-by: Parthiban N <[email protected]> Closes: https://lore.kernel.org/keyrings/[email protected]/ Signed-off-by: David Gstir <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions