All reports
Medium

kernel: ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50050

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda: 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.

A flaw was found in the Linux kernel's Sound Open Firmware (SOF) Intel audio driver. A local user on a system equipped with affected Intel audio hardware could trigger improper handling of string formatting return values during error logging, leading to a potential buffer overflow. This vulnerability could cause kernel memory corruption or result in a Denial of Service (DoS) through a system crash.