CVE-2024-50281

published 19 Nov 2024 · updated 17 Nov 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c75e0272289eae18c5379518a9c56ef31d65cc7d, Kernel 6.11, Kernel 04de7589e0a95167d803ecadd115235ba2c14997 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=9e3b266afcfe4294e84496f50f006f029d3100db, >=0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb <c75e0272289eae18c5379518a9c56ef31d65cc7d, >=6.10.7 <6.11, =6.11, >=0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb <04de7589e0a95167d803ecadd115235ba2c14997c75e0272289eae18c5379518a9c56ef31d65cc7d, 6.11, 04de7589e0a95167d803ecadd115235ba2c14997
linux-kernel: Kernel>=6.11.0 <6.11.8, >=6.10.7 <6.116.11.8, 6.11

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50281 severity on Zeptric[![CVE-2024-50281](https://zeptric.io/badge/cve/CVE-2024-50281.svg)](https://zeptric.io/cve/CVE-2024-50281)