CVE-2022-50052

Source
https://cve.org/CVERecord?id=CVE-2022-50052
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50052.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50052
Downstream
Related
Published
2025-06-18T11:01:52.478Z
Modified
2026-03-20T12:22:32.207509Z
Summary
ASoC: Intel: avs: Fix potential buffer overflow by snprintf()
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50052.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f1b3b320bd6519b16e3480f74f2926d106e3bcba
Fixed
840311a09f75632b9d41fbc1cd5c7aea94ce5f7e
Fixed
ca3b7b9dc9bc1fa552f4697b7cccfa0258a44d00

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50052.json"