CVE-2022-50427: ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()

Published Oct 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ALSA: ac97: fix possible memory leak in sndac97devregister()

If deviceregister() fails in sndac97devregister(), it should call putdevice() to give up reference, or the name allocated in devsetname() is leaked.

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=2.6.14<4.9.332
Linux Linux kernel>=4.10<4.14.298
Linux Linux kernel>=4.15<4.19.264
Linux Linux kernel>=4.20<5.4.223
Linux Linux kernel>=5.5<5.10.153
Linux Linux kernel>=5.11<5.15.77
Linux Linux kernel>=5.16<6.0.7
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2

Event History

Oct 1, 2025
CVE Published
via MITRE·11:42 AM
Data Sourced
via MITRE·11:42 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What level of access is required to exploit this issue?

The CVSS vector indicates local access and low privileges are required. No user interaction is required.

2

What is the expected security impact?

The reported impact is limited to availability, with high availability impact. No confidentiality or integrity impact is indicated.

3

When does the leak occur?

The leak can occur when device_register() fails during snd_ac97_dev_register(). In that failure path, the device reference is not released and the name allocated by dev_set_name() can remain leaked.

4

What remediation is available?

A patch is available. The supplied references identify stable-kernel commits containing the fix.

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