Buffer overflow in Linux
CVE-2022-50052
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 11.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions f1b3b320bd6519b16e3480f74f2926d106e3bcba, 5.19, 0
- Linux Kernel — versions 6.0