Files
vuln-cve/data/2023/52xxx/CVE-2023-52987.json
T

172 lines
8.4 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-52987",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-03-27T16:40:15.741Z",
"datePublished": "2025-03-27T16:43:24.225Z",
"dateUpdated": "2026-10-15T21:41:24.960Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:12:16.474Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()\n\nThe \"id\" comes from the user. Change the type to unsigned to prevent\nan array underflow."
}
],
"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 bug is reached only via write(2) to the local debugfs file sof/.../mtrace/logs_priorities_mask; there is no network, adjacent-protocol, or remote peer path into sof_ipc4_priority_mask_dfs_write().\nAC:L - A single write of a negative id (e.g. \"-1,0xdeadbeef\") deterministically bypasses the signed bounds check and performs the out-of-bounds store; no race, timing window, or layout precondition outside attacker control is required.\nPR:L - The node is mode 0644 with no capability check in the write path, and on SOF-bearing Android/ChromeOS/embedded platforms debugfs is commonly remounted or chowned to non-root service accounts, so a low-privileged local user is a realistic attacker under worst-reasonable deployment scoring.\nUI:N - The attacker opens and writes the already-present debugfs file themselves; no victim action, mount, or interaction is required.\nS:U - The underflow corrupts kernel heap/state within the host kernel's security authority; it is not a VM escape, IOMMU bypass, or other cross-boundary impact.\nC:H - Attacker-controlled out-of-bounds writes into adjacent sof_mtrace_priv fields and nearby slab objects are a memory-corruption primitive that can be leveraged for arbitrary kernel memory disclosure.\nI:H - The attacker chooses both the negative index and the u32 value written, enabling targeted corruption of adjacent state (including pointers such as sdev) and heap metadata suitable for control-flow hijacking.\nA:H - Corrupting adjacent kernel objects or writing to unmapped addresses via large negative indices reliably causes oops/panic, and the write can be repeated at will."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"sound/soc/sof/ipc4-mtrace.c"
],
"versions": [
{
"version": "f4ea22f7aa7536560097d765be56445933d07e0d",
"lessThan": "d52f34784e4e2f6e77671a9f104d8a69a3b5d24c",
"status": "affected",
"versionType": "git"
},
{
"version": "f4ea22f7aa7536560097d765be56445933d07e0d",
"lessThan": "ea57680af47587397f5005d7758022441ed66d54",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"sound/soc/sof/ipc4-mtrace.c"
],
"versions": [
{
"version": "6.1",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.1",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.11",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.2",
"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.1",
"versionEndExcluding": "6.1.11"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1",
"versionEndExcluding": "6.2"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/d52f34784e4e2f6e77671a9f104d8a69a3b5d24c"
},
{
"url": "https://git.kernel.org/stable/c/ea57680af47587397f5005d7758022441ed66d54"
}
],
"title": "ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-52987",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-15T21:32:58.502458Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-15T21:41:24.960Z"
}
}
]
}
}