CVE-2022-50051
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
18/06/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ASoC: SOF: debug: Fix potential buffer overflow by snprintf()<br />
<br />
snprintf() returns the would-be-filled size when the string overflows<br />
the given buffer size, hence using this value may result in the buffer<br />
overflow (although it&#39;s unrealistic).<br />
<br />
This patch replaces with a safer version, scnprintf() for papering<br />
over such a potential issue.