CVE-2024-35792
published high CVSS 3.1 · 7.8crypto: rk3288 - Fix use after free in unprepare
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc66c17a0f69b0e017bbc01d999a28ed96ee84826 to < 48dd260fdb728eda4a246f635d1325e82f0d3555 · c66c17a0f69b0e017bbc01d999a28ed96ee84826 to < eb2a41a8ae8c8c4f68aef3bd94665c0cf23e04be · c66c17a0f69b0e017bbc01d999a28ed96ee84826 to < c0afb6b88fbbc177fa322a835f874be217bffe45 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.24 through 6.6.* (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8 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 |
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: rk3288 - Fix use after free in unprepare The unprepare call must be carried out before the finalize call as the latter can free the request.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for 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 a local crypto accelerator driver reached through the kernel crypto API from local userspace (AF_ALG hash sockets, dm-verity/fs-verity file reads); no remote peer data path (IPsec AH needs shash-based hmac) reaches it. AC:L - The use-after-free is unconditional in code order — the driver always touches the request after signalling completion — and the attacker fully controls when the request is freed/reused (closing the AF_ALG socket or the caller's own callback), so the window is attacker-created and repeatable. PR:L - Any unprivileged local user can drive the rk3288 hash engine via an AF_ALG socket or by reading dm-verity/fs-verity backed files; no capability, root, or namespace privilege is checked along the path. UI:N - Exploitation only requires the attacker's own hashing requests; no action by another user or administrator is needed. S:U - The corruption stays within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed by the bug itself. C:H - The freed request is re-read after being handed back to the caller, and the attacker can groom the reallocated slab contents, so the stale `rctx->dev`/`areq->src`/`nrsg` values yield a kernel-memory read primitive usable for information disclosure. I:H - Use-after-free with attacker-controlled reallocated contents drives `dma_unmap_sg()` on a forged device pointer and forged scatterlist, allowing DMA/IOVA teardown and heap-spray-based control-flow corruption — an arbitrary-write-grade primitive. A:H - Even unexploited, dereferencing the freed request and unmapping a bogus scatterlist reliably oopses or panics the kernel, and the condition can be triggered repeatedly by an unprivileged user.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c66c17a0f69b0e017bbc01d999a28ed96ee84826 to < 48dd260fdb728eda4a246f635d1325e82f0d3555 (affected · git)c66c17a0f69b0e017bbc01d999a28ed96ee84826 to < eb2a41a8ae8c8c4f68aef3bd94665c0cf23e04be (affected · git)c66c17a0f69b0e017bbc01d999a28ed96ee84826 to < c0afb6b88fbbc177fa322a835f874be217bffe45 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.24 through 6.6.* (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
crypto: rk3288 - Fix use after free in unprepare
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dd865f982a55e33311eb05151d720d41d9feea5044b14a21f8538a4ab106488e
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record