Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50051

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

Description

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

  • 5b10b62989219aa527ee4fa555d1995a3b70981b to < b318b9dd2ac67f39d0338ce563879d1f59a0347aaffected
  • 5b10b62989219aa527ee4fa555d1995a3b70981b to < a67971a17604ae7de278fb09243432459afc51e1affected
  • 5b10b62989219aa527ee4fa555d1995a3b70981b to < 1eb123ce985e6cf302ac6e3f19862d132d86fa8faffected

Linux Linux

Default version status: affected

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

References