CVE-2022-50052

published 18 Jun 2025 · updated 11 May 2026

ASoC: Intel: avs: Fix potential buffer overflow by snprintf()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 840311a09f75632b9d41fbc1cd5c7aea94ce5f7e and Kernel ca3b7b9dc9bc1fa552f4697b7cccfa0258a44d00.

In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: avs: Fix potential buffer overflow by snprintf() snprintf() returns the would-be-filled size when the string overflows the given buffer size, hence using this value may result in a buffer overflow (although it's unrealistic). This patch replaces it with a safer version, scnprintf() for papering over such a potential issue.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.19, >=f1b3b320bd6519b16e3480f74f2926d106e3bcba <840311a09f75632b9d41fbc1cd5c7aea94ce5f7e, >=f1b3b320bd6519b16e3480f74f2926d106e3bcba <ca3b7b9dc9bc1fa552f4697b7cccfa0258a44d00840311a09f75632b9d41fbc1cd5c7aea94ce5f7e, ca3b7b9dc9bc1fa552f4697b7cccfa0258a44d00

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50052 severity on Zeptric[![CVE-2022-50052](https://zeptric.io/badge/cve/CVE-2022-50052.svg)](https://zeptric.io/cve/CVE-2022-50052)