CVE-2024-50281
published high CVSS 3.1 · 7.8KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb to < c75e0272289eae18c5379518a9c56ef31d65cc7d · 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb to < 04de7589e0a95167d803ecadd115235ba2c14997 · 9e3b266afcfe4294e84496f50f006f029d3100db · 6.10.7 to < 6.11 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.11.8 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-buildinfo-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-headers-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-image-unsigned-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-modules-ipu6-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-ipu7-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-usbio-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-vision-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-headers-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-tools-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-tools-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | oracular | linux | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-cloud-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-cloud-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-bpf-dev | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-18 | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-common | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-doc | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-gcp-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-gcp-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18 | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-image-6.11.0-1008-raspi-dbgsym | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-image-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-6.11.0-18-generic-dbgsym | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1005-realtime-dbgsym | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-aws-dbgsym | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-azure-dbgsym | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-gcp-dbgsym | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-64k-dbgsym | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-dbgsym | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-64k-dbgsym | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-dbgsym | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic-64k-dbgsym | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic-dbgsym | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-lib-rust-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-libc-dev | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-cloud-tools-6.11.0-1010 | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-headers-6.11.0-1010 | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-lib-rust-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-tools-6.11.0-1010 | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-extra-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached only through the `add_key()`/`keyctl()` syscalls on the "trusted" key type, requiring local access to the system. There is no network or remote-peer path into `trusted_dcp_seal()`/`trusted_dcp_unseal()`. AC:L - The attacker controls both sides of the race — they submit the AEAD requests via repeated `add_key()` calls and can generate the system load that delays async completion past the function's return, and they control what reuses the freed stack frame. No condition outside the attacker's influence is required on affected i.MX DCP hardware. PR:L - `trusted_instantiate()` and `trusted_update()` contain no capability or privilege checks, so any unprivileged local user can add or load a trusted key into their own keyring and drive `do_aead_crypto()`. Only basic local user access is needed. UI:N - The attacker triggers the bug entirely through their own syscalls; no victim action, mount, or file open is involved. S:U - The corruption and crash occur inside the kernel that the attacker is already interacting with, with no crossing into another security authority such as a hypervisor or IOMMU boundary. C:H - The in-flight operation reads from a scatterlist pointing into a reclaimed stack frame and uses a freed `aead_request`/tfm holding the AES-GCM blob key, so plaintext key material and adjacent memory can be written into reused allocations and exposed. This memory corruption is leverageable for information disclosure. I:H - After `aead_request_free()`/`crypto_free_aead()` return, the asynchronous DCP engine still writes its output through stale stack-resident scatterlists into memory that has been reclaimed and reused, giving an attacker-influenceable write into unrelated kernel objects — classic use-after-free/stack-corruption primitives for control-flow hijack. A:H - The commit documents that this produces NULL pointer dereference oopses in the DCP driver during blob creation, and use of the freed request/tfm crashes the kernel. An unprivileged user can trigger it repeatedly, causing denial of service.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb to < c75e0272289eae18c5379518a9c56ef31d65cc7d (affected · git)0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb to < 04de7589e0a95167d803ecadd115235ba2c14997 (affected · git)9e3b266afcfe4294e84496f50f006f029d3100db (affected · git)6.10.7 to < 6.11 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.11 (affected)0 to < 6.11 (unaffected · semver)6.11.8 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
2Provider assertions
2Linux · cna
KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9421f2c1183ddfecd907828c19356a5e0200adfeb8404d92be1fd637703ef6c1
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record