CVE-2022-50547
media: solo6x10: fix possible memory leak in solo_sysfs_init()
Check your servers for CVE-2022-50547
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-50547 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:
media: solo6x10: fix possible memory leak in solo_sysfs_init()
If device_register() returns error in solo_sysfs_init(), the name allocated by dev_set_name() need be freed. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanup().
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before 83d4b1ae98a47a739fa5241300b86eb1110d5d63 affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before b61509093e1af69e336a094d439b8e1137cb40d8 affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before 963729538674be4cb8fa292529ecf32de0d6c6dd affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before 7b02c50d3978840781808e13bc13137fb81286b5 affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before 49060c0da57a381563e482e331dc9d4c3725b41b affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before 7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before d6db105bcfbdbbbd484e788a0ddf8140a4a8c486 affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before 9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2 affected from dcae5dacbce518513abf7776cb450b7bd95d722b, before 7f5866dd96d95b74e439f6ee17b8abd8195179fb
Other versions: unaffected
|
| Linux |
affected 3.10 unaffected before 3.10 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 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-50547 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50547
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-50547
trivy image --scanners vuln IMAGE | grep CVE-2022-50547
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/83d4b1ae98a47a739fa5241300b86eb1110d5d63 git.kernel.org
- https://git.kernel.org/stable/c/b61509093e1af69e336a094d439b8e1137cb40d8 git.kernel.org
- https://git.kernel.org/stable/c/963729538674be4cb8fa292529ecf32de0d6c6dd git.kernel.org
- https://git.kernel.org/stable/c/7b02c50d3978840781808e13bc13137fb81286b5 git.kernel.org
- https://git.kernel.org/stable/c/49060c0da57a381563e482e331dc9d4c3725b41b git.kernel.org
- https://git.kernel.org/stable/c/7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b git.kernel.org
- https://git.kernel.org/stable/c/d6db105bcfbdbbbd484e788a0ddf8140a4a8c486 git.kernel.org
- https://git.kernel.org/stable/c/9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2 git.kernel.org
- https://git.kernel.org/stable/c/7f5866dd96d95b74e439f6ee17b8abd8195179fb git.kernel.org
Source: the record CVE-2022-50547 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