CVE-2022-50431

Source
https://cve.org/CVERecord?id=CVE-2022-50431
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50431.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50431
Downstream
Related
Published
2025-10-01T11:42:09.700Z
Modified
2026-03-12T03:26:31.501244Z
Summary
ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
Details

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

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

devsetname() in soundbusaddone() allocates memory for name, it need be freed when ofdeviceregister() fails, call soundbusdevput() to give up the reference that hold in deviceinitialize(), so that it can be freed in kobjectcleanup() when the refcount hit to 0. And other resources are also freed in i2sbusreleasedev(), so it can return 0 directly.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50431.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f3d9478b2ce468c3115b02ecae7e975990697f15
Fixed
fd410d24665e4efb3c1796797181265efe553e9c
Fixed
802532a50acf501fdafe38a84ca2aa886d68af68
Fixed
027fee10e3a400cf6f3237374a1248da1082807b
Fixed
5bdea674534153110b90d70b02f2fbaf48b2c0eb
Fixed
ce6fd1c382a38b75557db85a2fe99d285540a03d
Fixed
e81d7826b8f40430a1ea1b330e24d9a9eb4512c4
Fixed
c7524279c8ddc7dbf3463bec70e0289097959944
Fixed
4a4c8482e370d697738a78dcd7bf2780832cb712

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50431.json"