CVE-2024-50281

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb < c75e0272289eae18c5379518a9c56ef31d65cc7daffected
LinuxLinux0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb < 04de7589e0a95167d803ecadd115235ba2c14997affected
LinuxLinux9e3b266afcfe4294e84496f50f006f029d3100dbaffected
LinuxLinux6.10.7 < 6.11affected
LinuxLinux6.11affected
LinuxLinux0 < 6.11unaffected
LinuxLinux6.11.8 <= 6.11.*unaffected
LinuxLinux6.12 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References