CVE-2022-50431

MEDIUM

Linux Kernel Use-After-Free in ALSA aoa i2sbus

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 3.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (27)
linux/Kernel 2.6.18 - 4.9.332linux
linux/Kernel 4.10.0 - 4.14.298linux
linux/Kernel 4.15.0 - 4.19.264linux
linux/Kernel 4.20.0 - 5.4.223linux
linux/Kernel 5.11.0 - 5.15.77linux
linux/Kernel 5.16.0 - 6.0.7linux
linux/Kernel 5.5.0 - 5.10.153linux
Linux/Linux < 2.6.18
Linux/Linux 2.6.18
Linux/Linux 4.14.298 - 4.14.*
... and 17 more
Published Oct 01, 2025
Tracked Since Feb 18, 2026