CVE-2022-50431
ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
Check your servers for CVE-2022-50431
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50431 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.16% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before fd410d24665e4efb3c1796797181265efe553e9c affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before 802532a50acf501fdafe38a84ca2aa886d68af68 affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before 027fee10e3a400cf6f3237374a1248da1082807b affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before 5bdea674534153110b90d70b02f2fbaf48b2c0eb affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before ce6fd1c382a38b75557db85a2fe99d285540a03d affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before e81d7826b8f40430a1ea1b330e24d9a9eb4512c4 affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before c7524279c8ddc7dbf3463bec70e0289097959944 affected from f3d9478b2ce468c3115b02ecae7e975990697f15, before 4a4c8482e370d697738a78dcd7bf2780832cb712
Other versions: unaffected
|
| Linux |
affected 2.6.18 unaffected before 2.6.18 unaffected from 4.9.332 up to and including 4.9.* unaffected from 4.14.298 up to and including 4.14.* unaffected from 4.19.264 up to and including 4.19.* unaffected from 5.4.223 up to and including 5.4.* unaffected from 5.10.153 up to and including 5.10.* unaffected from 5.15.77 up to and including 5.15.* unaffected from 6.0.7 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50431 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50431
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50431
trivy image --scanners vuln IMAGE | grep CVE-2022-50431
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/fd410d24665e4efb3c1796797181265efe553e9c git.kernel.org
- https://git.kernel.org/stable/c/802532a50acf501fdafe38a84ca2aa886d68af68 git.kernel.org
- https://git.kernel.org/stable/c/027fee10e3a400cf6f3237374a1248da1082807b git.kernel.org
- https://git.kernel.org/stable/c/5bdea674534153110b90d70b02f2fbaf48b2c0eb git.kernel.org
- https://git.kernel.org/stable/c/ce6fd1c382a38b75557db85a2fe99d285540a03d git.kernel.org
- https://git.kernel.org/stable/c/e81d7826b8f40430a1ea1b330e24d9a9eb4512c4 git.kernel.org
- https://git.kernel.org/stable/c/c7524279c8ddc7dbf3463bec70e0289097959944 git.kernel.org
- https://git.kernel.org/stable/c/4a4c8482e370d697738a78dcd7bf2780832cb712 git.kernel.org
Source: the record CVE-2022-50431 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse