Home

Description

In the Linux kernel, the following vulnerability has been resolved: 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.

PUBLISHED Reserved 2024-10-21 | Published 2024-11-19 | Updated 2025-10-01 | Assigner Linux

Product status

Default status
unaffected

0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb (git) before c75e0272289eae18c5379518a9c56ef31d65cc7d
affected

0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb (git) before 04de7589e0a95167d803ecadd115235ba2c14997
affected

9e3b266afcfe4294e84496f50f006f029d3100db (git)
affected

Default status
affected

6.11
affected

Any version before 6.11
unaffected

6.11.8 (semver)
unaffected

6.12 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/c75e0272289eae18c5379518a9c56ef31d65cc7d

git.kernel.org/...c/04de7589e0a95167d803ecadd115235ba2c14997

cve.org (CVE-2024-50281)

nvd.nist.gov (CVE-2024-50281)

Download JSON