CVE-2022-50050

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

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 to before 6ee1310f4d148dbf04c4159b88afd0b941018903Affected
  • 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 to before f7915c5614a7ece117ec390f21a410531eac48deAffected
  • 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 to before 94c1ceb043c1a002de9649bb630c8e8347645982Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.15.63 through 5.15.*Not affected
  • 5.19.4 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.