Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50050

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 to < 6ee1310f4d148dbf04c4159b88afd0b941018903affected
  • 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 to < f7915c5614a7ece117ec390f21a410531eac48deaffected
  • 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 to < 94c1ceb043c1a002de9649bb630c8e8347645982affected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.15.63 to ≤ 5.15.*unaffected
  • 5.19.4 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References