CVE-2022-50052: ASoC: Intel: avs: Fix potential buffer overflow by snprintf()

Published Jun 18, 2025
·
Updated

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.

Affected Software

7 affected componentsFixes available
Intel Linux kernel
Linux Linux kernel>=5.19<5.19.4
Linux Linux kernel=6.0-rc1
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
debian/linux
6.0.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.0.2-1

Event History

Jun 18, 2025
CVE Published
via MITRE·11:01 AM
Data Sourced
via MITRE·11:01 AM
Description
Data Sourced
via NVD·11:15 AM
Description
Data Sourced
via OSV·11:15 AM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·12:07 PM
DescriptionSeverityAffected Software
Nov 13, 2025
Data Sourced
via NVD·06:41 PM
RemedySeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50052?

CVE-2022-50052 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2022-50052?

To fix CVE-2022-50052, update the Linux kernel to the latest version that includes the patch for this vulnerability.

3

What does CVE-2022-50052 affect?

CVE-2022-50052 affects the Intel Linux kernel specifically due to a potential buffer overflow issue.

4

What is the cause of CVE-2022-50052?

CVE-2022-50052 is caused by improper handling of the return value of snprintf() leading to potential buffer overflow.

5

Is CVE-2022-50052 exploitable?

Yes, CVE-2022-50052 is exploitable under certain conditions that allow for buffer overflow, potentially compromising system integrity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203