Bug 2373537 (CVE-2022-50052) - CVE-2022-50052 kernel: ASoC: Intel: avs: Fix potential buffer overflow by snprintf()
Summary: CVE-2022-50052 kernel: ASoC: Intel: avs: Fix potential buffer overflow by snp...
Keywords:
Status: NEW
Alias: CVE-2022-50052
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:07 UTC by OSIDB Bzimport
Modified: 2025-06-19 16:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:07:17 UTC
In the Linux kernel, the following vulnerability has been resolved:

ASoC: Intel: avs: 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 a buffer
overflow (although it's unrealistic).

This patch replaces it with a safer version, scnprintf() for papering
over such a potential issue.

Comment 1 Avinash Hanwate 2025-06-19 16:00:02 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061846-CVE-2022-50052-d9f4@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.