{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50325","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-09-15T14:18:36.815Z","datePublished":"2025-09-15T14:49:19.788Z","dateUpdated":"2026-08-05T08:58:11.012Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:58:11.012Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: avs: Fix potential RX buffer overflow\n\nIf an event caused firmware to return invalid RX size for\nLARGE_CONFIG_GET, memcpy_fromio() could end up copying too many bytes.\nFix by utilizing min_t()."}],"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 overflow is in the Intel AVS DSP IPC reply path, reached via local ALSA mixer controls (volume get) or driver probe IPC, not via network or adjacent wireless frames.\nAC:L - An attacker who can trigger LARGE_CONFIG_GET causes a deterministic memcpy_fromio overflow whenever the reply size exceeds AVS_MAILBOX_SIZE; no race or other attacker-uncontrollable timing is required.\nPR:L - Unprivileged local users with ordinary audio-device access can invoke avs_control_volume_get → avs_ipc_get_large_config; real root is not required, and user-namespace CAP_SYS_ADMIN is irrelevant here.\nUI:N - The attacker triggers the vulnerable IPC path through their own ALSA control ioctls; no separate victim action is needed.\nS:U - This is standard kernel heap memory corruption within the host kernel's security authority, with no VM/IOMMU/sandbox boundary crossed.\nC:H - Out-of-bounds write into the ipc->rx.data heap buffer (up to ~1MB via the 20-bit size field) is memory corruption that can be leveraged for arbitrary kernel memory disclosure.\nI:H - The same heap overflow is an out-of-bounds write that can corrupt adjacent kernel objects and enable control-flow hijacking or privilege escalation.\nA:H - Overflowing the fixed 4096-byte RX buffer readily causes kernel oops/panic or heap corruption crashes when the firmware returns an oversized size."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/avs/ipc.c"],"versions":[{"version":"f14a1c5a9f830025dc8638303ddefd5f731ae4bc","lessThan":"ec1f0c12cb2e614c3fa8e9402f7ffcf82166078a","status":"affected","versionType":"git"},{"version":"f14a1c5a9f830025dc8638303ddefd5f731ae4bc","lessThan":"0bad12fee5ae16ab439d97c66c4238f5f4cc7f68","status":"affected","versionType":"git"},{"version":"f14a1c5a9f830025dc8638303ddefd5f731ae4bc","lessThan":"23ae34e033b2c0e5e88237af82b163b296fd6aa9","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/intel/avs/ipc.c"],"versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","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":"5.18","versionEndExcluding":"6.0.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/ec1f0c12cb2e614c3fa8e9402f7ffcf82166078a"},{"url":"https://git.kernel.org/stable/c/0bad12fee5ae16ab439d97c66c4238f5f4cc7f68"},{"url":"https://git.kernel.org/stable/c/23ae34e033b2c0e5e88237af82b163b296fd6aa9"}],"title":"ASoC: Intel: avs: Fix potential RX buffer overflow","x_generator":{"engine":"bippy-1.2.0"}}}}