CVE-2022-50431

ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()

MEDIUM
5.5
CVSS Score
Published: October 1, 2025 at 11:42 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.18 ≤ v < 4.14.2982.6.18 ≤ v < 4.19.2642.6.18 ≤ v < 4.9.3322.6.18 ≤ v < 5.10.1532.6.18 ≤ v < 5.15.772.6.18 ≤ v < 5.4.2232.6.18 ≤ v < 6.0.72.6.18 ≤ v < 6.14.10 ≤ v < 4.14.2984.15 ≤ v < 4.19.2644.20 ≤ v < 5.4.2235.11 ≤ v < 5.15.775.16 ≤ v < 6.0.75.5 ≤ v < 5.10.1532.6.186.1 rc16.1 rc2f3d9478b2ce468c3115b02ecae7e975990697f15
Vendor states this is fixed in 027fee10e3a400cf6f3237374a1248da1082807b (fixed)
Vendor states this is fixed in 4a4c8482e370d697738a78dcd7bf2780832cb712 (fixed)
Vendor states this is fixed in 5bdea674534153110b90d70b02f2fbaf48b2c0eb (fixed)
Vendor states this is fixed in 802532a50acf501fdafe38a84ca2aa886d68af68 (fixed)
Vendor states this is fixed in c7524279c8ddc7dbf3463bec70e0289097959944 (fixed)
Vendor states this is fixed in ce6fd1c382a38b75557db85a2fe99d285540a03d (fixed)
Vendor states this is fixed in e81d7826b8f40430a1ea1b330e24d9a9eb4512c4 (fixed)
Vendor states this is fixed in fd410d24665e4efb3c1796797181265efe553e9c (fixed)
Vendor states this is fixed in 2.6.18 (unaffected)
Vendor states this is fixed in 4.14.298 (unaffected)
Vendor states this is fixed in 4.19.264 (unaffected)
Vendor states this is fixed in 4.9.332 (unaffected)
Vendor states this is fixed in 5.10.153 (unaffected)
Vendor states this is fixed in 5.15.77 (unaffected)
Vendor states this is fixed in 5.4.223 (unaffected)
Vendor states this is fixed in 6.0.7 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card