# CVE-2024-50281: KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2024-11-19T01:30:23.275Z
- Modified: 2026-08-05T11:43:00.504Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb before c75e0272289eae18c5379518a9c56ef31d65cc7d; from 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb before 04de7589e0a95167d803ecadd115235ba2c14997; 9e3b266afcfe4294e84496f50f006f029d3100db; from 6.10.7 before 6.11; 6.11 (not affected: before 6.11; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.11 before 6.11.8; 6.10.7; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c75e0272289eae18c5379518a9c56ef31d65cc7d> (patch)
- <https://git.kernel.org/stable/c/04de7589e0a95167d803ecadd115235ba2c14997> (patch)

## Sources

- CVE List: [CVE-2024-50281](https://www.cve.org/CVERecord?id=CVE-2024-50281), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50281](https://nvd.nist.gov/vuln/detail/CVE-2024-50281), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50281 · Whole record: https://cve.day/CVE-2024-50281.json · Rebuilt by cve.day 2026-11-25T22:58:48.412Z
