VDB

CVE-2022-50051

CVE-2022-50051 PUBLISHED

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

Reported by linux · Published June 18, 2025

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.

EPSS 0.22% · 13.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux5.11, 1eb123ce985e6cf302ac6e3f19862d132d86fa8f

Risk scores

EPSS Score
0.22%
13.0th percentile

Affected products

VendorProductVersions
LinuxLinux5b10b62989219aa527ee4fa555d1995a3b70981b, 5b10b62989219aa527ee4fa555d1995a3b70981b, 5b10b62989219aa527ee4fa555d1995a3b70981b
LinuxLinux5.11, 0, 5.15.63
LinuxLinux5.15.63, 5.19.4, 5b10b62989219aa527ee4fa555d1995a3b70981b
linuxlinux_kernel5.11, 5.11, 5.11

Timeline

  • Jun 18, 2025 CVE Published
  • Jun 29, 2025 EPSS Score (29 in total, the first dated here)
  • May 23, 2026 Coalition ESS Score
  • Jun 2, 2026 Security Advisory (239 in total, the first dated here)
  • Oct 13, 2026 CVE Updated
  • Oct 18, 2026 Distribution Patch (228 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-50051
vulnetix vdb fixes CVE-2022-50051

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-50051/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›