Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-50281

KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb to < c75e0272289eae18c5379518a9c56ef31d65cc7daffected
  • 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb to < 04de7589e0a95167d803ecadd115235ba2c14997affected
  • 9e3b266afcfe4294e84496f50f006f029d3100dbaffected
  • 6.10.7 to < 6.11affected

Linux Linux

Default version status: affected

  • 6.11affected
  • 0 to < 6.11unaffected
  • 6.11.8 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References