CVE-2022-50051
published 2025-06-18CVE-2022-50051: In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: debug: Fix potential buffer overflow by snprintf() snprintf() returns the…
PriorityP339high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.18%
8.2th percentile
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
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 5b10b62989219aa527ee4fa555d1995a3b70981b < b318b9dd2ac67f39d0338ce563879d1f59a0347a | b318b9dd2ac67f39d0338ce563879d1f59a0347a |
| linux | linux | >= 5b10b62989219aa527ee4fa555d1995a3b70981b < a67971a17604ae7de278fb09243432459afc51e1 | a67971a17604ae7de278fb09243432459afc51e1 |
| linux | linux | >= 5b10b62989219aa527ee4fa555d1995a3b70981b < 1eb123ce985e6cf302ac6e3f19862d132d86fa8f | 1eb123ce985e6cf302ac6e3f19862d132d86fa8f |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 5.11 < 5.15.63 | 5.15.63 |
| linux | linux_kernel | >= 5.16 < 5.19.4 | 5.19.4 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
vendor_redhat·2025-06-18·CVSS 7.8
CVE-2022-50051 [HIGH] CWE-120 kernel: ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
kernel: ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
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.
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.
Mitigation: Mitigation for this issue is either not available or the currently available opt
Debian
CVE-2022-50051: linux - In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ...
vendor_debian·2022·CVSS 7.8
CVE-2022-50051 [HIGH] CVE-2022-50051: linux - In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ...
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.
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
OSV
CVE-2022-50051: In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: debug: Fix potential buffer overflow by snprintf() snprintf() returns t
osv·2025-06-18·CVSS 7.8
CVE-2022-50051 [HIGH] CVE-2022-50051: In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: debug: Fix potential buffer overflow by snprintf() snprintf() returns t
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.
GHSA
GHSA-c7c9-cxv9-j779: In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
snprintf() returns
ghsa_unreviewed·2025-06-18
CVE-2022-50051 [HIGH] CWE-787 GHSA-c7c9-cxv9-j779: In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
snprintf() returns
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.
No detection rules found.
No public exploits indexed.
2025-06-18
Published