CVE-2022-50051

HIGH EPSS 7.6%
Published Jun 18, 20251y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Jun 18, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
7.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-787 Out-of-bounds Write Memory Safety

Affected Products 3

VendorProductVersionRange
linuxlinux_kernel*≥5.11  –  <5.15.63
linuxlinux_kernel*≥5.16  –  <5.19.4
linuxlinux_kernel6.0any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/1eb123ce985e6cf302ac6e3f19862d132d86fa8f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a67971a17604ae7de278fb09243432459afc51e1
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b318b9dd2ac67f39d0338ce563879d1f59a0347a
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/1eb123ce985e6cf302ac6e3f19862d132d86fa8f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a67971a17604ae7de278fb09243432459afc51e1
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b318b9dd2ac67f39d0338ce563879d1f59a0347a
    Patch