Files
vuln-cve/data/2024/46xxx/CVE-2024-46792.json
T

172 lines
8.3 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-46792",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-09-11T15:12:18.279Z",
"datePublished": "2024-09-18T07:12:47.455Z",
"dateUpdated": "2026-08-05T11:38:35.301Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:38:35.301Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: misaligned: Restrict user access to kernel memory\n\nraw_copy_{to,from}_user() do not call access_ok(), so this code allowed\nuserspace to access any virtual memory address."
}
],
"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 - Exploitation requires executing an instruction on the target machine, i.e. any local unprivileged process on a RISC-V system; there is no remote or adjacent-network reachability.\nAC:L - The attacker fully controls both the target address (regs->badaddr) and the stored data (rs2), the emulation path is enabled in the default RISC-V config, and faults are swallowed by the extable — so the read/write is deterministic and repeatable with no race or memory-layout dependency.\nPR:L - Any unprivileged local user can trigger it by executing a single misaligned load/store; no capabilities, namespaces, or syscalls are needed at all.\nUI:N - The attacking process triggers the trap entirely on its own; no victim action is involved.\nS:U - Impact is confined to the kernel's own security authority — this is standard local kernel compromise/privilege escalation, not a hypervisor or IOMMU boundary crossing.\nC:H - handle_misaligned_load() copies 8 bytes from any attacker-chosen kernel address straight into a user register, giving a repeatable arbitrary kernel-memory read over the entire address space including the direct map.\nI:H - handle_misaligned_store() writes 8 bytes of attacker-controlled data to any kernel address, an arbitrary kernel write primitive that yields credential overwrite and kernel code execution.\nA:H - The same arbitrary write lets an attacker corrupt critical kernel structures or text at will, causing immediate panic or permanent system compromise."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/riscv/kernel/traps_misaligned.c"
],
"versions": [
{
"version": "7c83232161f609bbc452a1255f823f41afc411dd",
"lessThan": "a3b6ff6c896aee5ef9b581e40d0045ff04fcbc8c",
"status": "affected",
"versionType": "git"
},
{
"version": "7c83232161f609bbc452a1255f823f41afc411dd",
"lessThan": "b686ecdeacf6658e1348c1a32a08e2e72f7c0f00",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/riscv/kernel/traps_misaligned.c"
],
"versions": [
{
"version": "6.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.7",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.10.10",
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.11",
"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.7",
"versionEndExcluding": "6.10.10"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.7",
"versionEndExcluding": "6.11"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/a3b6ff6c896aee5ef9b581e40d0045ff04fcbc8c"
},
{
"url": "https://git.kernel.org/stable/c/b686ecdeacf6658e1348c1a32a08e2e72f7c0f00"
}
],
"title": "riscv: misaligned: Restrict user access to kernel memory",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2024-09-29T14:23:34.926999Z",
"id": "CVE-2024-46792",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-09-29T14:23:47.441Z"
}
}
]
}
}