CVE Database›Document archive›CVE-2022-50051

CVE-2022-50051

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

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 18, 2025

Updated · June 30, 2026

Description

A potential classic buffer overflow exists in the linux kernel, such that when 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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')