216 lines
12 KiB
JSON
216 lines
12 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2025-37979",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2025-04-16T04:51:23.975Z",
|
|
"datePublished": "2025-05-20T16:58:22.103Z",
|
|
"dateUpdated": "2026-08-05T11:58:44.888Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-08-05T11:58:44.888Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: qcom: Fix sc7280 lpass potential buffer overflow\n\nCase values introduced in commit\n5f78e1fb7a3e (\"ASoC: qcom: Add driver support for audioreach solution\")\ncause out of bounds access in arrays of sc7280 driver data (e.g. in case\nof RX_CODEC_DMA_RX_0 in sc7280_snd_hw_params()).\n\nRedefine LPASS_MAX_PORTS to consider the maximum possible port id for\nq6dsp as sc7280 driver utilizes some of those values.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
|
|
}
|
|
],
|
|
"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 out-of-bounds accesses are reached only through ALSA PCM operations (open/close, SNDRV_PCM_IOCTL_HW_PARAMS, prepare/hw_free) on the local sound device node /dev/snd/pcmC*D*. There is no remote or adjacent-network path into the sc7280 machine driver.\nAC:L - On an affected sc7280 board (audioreach/ADSP device tree, where cpu_dai->id is a q6afe port id such as RX_CODEC_DMA_RX_0=113), the index is unconditionally out of the 34-entry arrays, so a single open()/close() or hw_params() deterministically triggers the OOB read, write and kfree() — no race, no timing, no memory-layout luck required to trigger.\nPR:L - The attacker needs only an unprivileged local account with access to the PCM device node — membership in the \"audio\" group on Chromebook/embedded systems, or an ordinary audio-capable app on Android. No capability, root, or namespace privilege is checked anywhere along the soc_pcm_open/soc_pcm_hw_params path.\nUI:N - The attacker opens and configures the PCM device directly; no victim must plug in hardware, mount anything, or play audio. The vulnerable callbacks run purely as a result of the attacker's own syscalls.\nS:U - The corruption is confined to kernel heap memory within the same kernel security authority; no hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - sc7280_snd_shutdown() reads a pointer from out of bounds (data->sruntime[113/120]) and hands it to kfree(), and the OOB pointer write can clobber an adjacent heap object; such heap corruption plus an attacker-groomable free is readily leveraged into arbitrary kernel memory disclosure.\nI:H - hw_params() writes a kernel heap pointer, and prepare() writes a byte, hundreds of bytes past the end of the 34-entry arrays inside the devm_kzalloc'd sc7280_snd_data object, and shutdown() frees an out-of-bounds-read pointer — an out-of-bounds write plus an invalid free, both classic primitives for control-flow hijacking.\nA:H - Corrupting an adjacent slab object and calling kfree() on a pointer read from out of bounds reliably produces slab corruption, BUG_ON/KASAN reports, or a kernel panic, and the sequence can be repeated at will by an unprivileged local user."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "unaffected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"sound/soc/qcom/lpass.h"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "77d0ffef793da818741127f4905a3e3d45d05ac7",
|
|
"lessThan": "d78888853eb53f47ae16cf3aa5d0444d0331b9f8",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "77d0ffef793da818741127f4905a3e3d45d05ac7",
|
|
"lessThan": "a12c14577882b1f2b4cff0f86265682f16e97b0c",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "77d0ffef793da818741127f4905a3e3d45d05ac7",
|
|
"lessThan": "c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "77d0ffef793da818741127f4905a3e3d45d05ac7",
|
|
"lessThan": "b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "77d0ffef793da818741127f4905a3e3d45d05ac7",
|
|
"lessThan": "a31a4934b31faea76e735bab17e63d02fcd8e029",
|
|
"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/qcom/lpass.h"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "5.18",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "5.18",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.1.136",
|
|
"lessThanOrEqual": "6.1.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.6.88",
|
|
"lessThanOrEqual": "6.6.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.12.25",
|
|
"lessThanOrEqual": "6.12.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.14.4",
|
|
"lessThanOrEqual": "6.14.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.15",
|
|
"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": "5.18",
|
|
"versionEndExcluding": "6.1.136"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.18",
|
|
"versionEndExcluding": "6.6.88"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.18",
|
|
"versionEndExcluding": "6.12.25"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.18",
|
|
"versionEndExcluding": "6.14.4"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.18",
|
|
"versionEndExcluding": "6.15"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/d78888853eb53f47ae16cf3aa5d0444d0331b9f8"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/a12c14577882b1f2b4cff0f86265682f16e97b0c"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/a31a4934b31faea76e735bab17e63d02fcd8e029"
|
|
}
|
|
],
|
|
"title": "ASoC: qcom: Fix sc7280 lpass potential buffer overflow",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"title": "CVE Program Container",
|
|
"references": [
|
|
{
|
|
"url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
|
"shortName": "CVE",
|
|
"dateUpdated": "2025-11-03T19:57:56.701Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |