What’s Vulnerable › Vulnerabilities

CVE-2022-50051: ASoC: SOF: debug: Fix potential buffer overflow by snprintf()

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: debug: 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 the buffer overflow (although it's unrealistic). This patch replaces with a safer version, scnprintf() for papering over such a potential issue.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.63, 5.19.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50051 or the next vulnerability affects your stack