Files
vuln-cve/data/2024/35xxx/CVE-2024-35792.json
T

221 lines
11 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-35792",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-05-17T12:19:12.339Z",
"datePublished": "2024-05-17T12:24:53.112Z",
"dateUpdated": "2026-08-05T11:29:58.280Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:29:58.280Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: rk3288 - Fix use after free in unprepare\n\nThe unprepare call must be carried out before the finalize call\nas the latter can free the request."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "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.\nAC: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.\nPR: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.\nUI:N - Exploitation only requires the attacker's own hashing requests; no action by another user or administrator is needed.\nS:U - The corruption stays within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed by the bug itself.\nC: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.\nI: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.\nA: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."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/crypto/rockchip/rk3288_crypto_ahash.c"
],
"versions": [
{
"version": "c66c17a0f69b0e017bbc01d999a28ed96ee84826",
"lessThan": "48dd260fdb728eda4a246f635d1325e82f0d3555",
"status": "affected",
"versionType": "git"
},
{
"version": "c66c17a0f69b0e017bbc01d999a28ed96ee84826",
"lessThan": "eb2a41a8ae8c8c4f68aef3bd94665c0cf23e04be",
"status": "affected",
"versionType": "git"
},
{
"version": "c66c17a0f69b0e017bbc01d999a28ed96ee84826",
"lessThan": "c0afb6b88fbbc177fa322a835f874be217bffe45",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/crypto/rockchip/rk3288_crypto_ahash.c"
],
"versions": [
{
"version": "6.6",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.6",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.24",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.7.12",
"lessThanOrEqual": "6.7.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.8",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.6.24"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.7.12"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.8"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/48dd260fdb728eda4a246f635d1325e82f0d3555"
},
{
"url": "https://git.kernel.org/stable/c/eb2a41a8ae8c8c4f68aef3bd94665c0cf23e04be"
},
{
"url": "https://git.kernel.org/stable/c/c0afb6b88fbbc177fa322a835f874be217bffe45"
}
],
"title": "crypto: rk3288 - Fix use after free in unprepare",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-35792",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-05-28T15:22:56.349397Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-04T17:33:41.714Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T03:21:47.351Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/48dd260fdb728eda4a246f635d1325e82f0d3555",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/eb2a41a8ae8c8c4f68aef3bd94665c0cf23e04be",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/c0afb6b88fbbc177fa322a835f874be217bffe45",
"tags": [
"x_transferred"
]
}
]
}
]
}
}