CVE-2022-50431
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-01

Last updated on: 2025-10-02

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev() dev_set_name() in soundbus_add_one() allocates memory for name, it need be freed when of_device_register() fails, call soundbus_dev_put() to give up the reference that hold in device_initialize(), so that it can be freed in kobject_cleanup() when the refcount hit to 0. And other resources are also freed in i2sbus_release_dev(), so it can return 0 directly.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-01
Last Modified
2025-10-02
Generated
2026-05-07
AI Q&A
2025-10-01
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a possible memory leak in the Linux kernel's ALSA aoa i2sbus driver. Specifically, when the function dev_set_name() allocates memory for a device name in soundbus_add_one(), if of_device_register() fails, the allocated memory is not freed properly. The fix involves calling soundbus_dev_put() to release the reference held by device_initialize(), allowing the memory to be freed correctly during kobject_cleanup(). Other resources are also freed in i2sbus_release_dev(), preventing the leak.


How can this vulnerability impact me? :

This vulnerability can lead to a memory leak in the Linux kernel when certain device registration fails. Over time, this could cause increased memory usage and potentially degrade system performance or stability, especially on systems using the affected ALSA aoa i2sbus driver.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart