CVE-2022-50509
media: coda: Add check for kmalloc
Check your servers for CVE-2022-50509
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-50509 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: coda: Add check for kmalloc
As the kmalloc may return NULL pointer, it should be better to check the return value in order to avoid NULL poineter dereference, same as the others.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.75% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cb1d3a336371e35c3920cc50a701c5403c255644, before d308c4a035b636756786af91e5f39f9d92d7d42a affected from cb1d3a336371e35c3920cc50a701c5403c255644, before 11e32126b3e56c3156fb610d793732acd2bdac4f affected from cb1d3a336371e35c3920cc50a701c5403c255644, before ba9cc9e2035f7a45f5222543265daf7cd51f2530 affected from cb1d3a336371e35c3920cc50a701c5403c255644, before 7a2c66429b04e85fee44d6d9f455327bf23cf49c affected from cb1d3a336371e35c3920cc50a701c5403c255644, before d9b37ea8869e4e6da90c07a310d819a78cbd23d2 affected from cb1d3a336371e35c3920cc50a701c5403c255644, before 441c05485cf1a29eef05c1fd8281716815283315 affected from cb1d3a336371e35c3920cc50a701c5403c255644, before aa17a252dbde432095e390e2092205d4debb12e1 affected from cb1d3a336371e35c3920cc50a701c5403c255644, before 0209e70ad496c1fcd85c2ec70e6736fd09f95d14 affected from cb1d3a336371e35c3920cc50a701c5403c255644, before 6e5e5defdb8b0186312c2f855ace175aee6daf9b
Other versions: unaffected
|
| Linux |
affected 3.19 unaffected before 3.19 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-50509 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50509
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-50509
trivy image --scanners vuln IMAGE | grep CVE-2022-50509
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/d308c4a035b636756786af91e5f39f9d92d7d42a git.kernel.org
- https://git.kernel.org/stable/c/11e32126b3e56c3156fb610d793732acd2bdac4f git.kernel.org
- https://git.kernel.org/stable/c/ba9cc9e2035f7a45f5222543265daf7cd51f2530 git.kernel.org
- https://git.kernel.org/stable/c/7a2c66429b04e85fee44d6d9f455327bf23cf49c git.kernel.org
- https://git.kernel.org/stable/c/d9b37ea8869e4e6da90c07a310d819a78cbd23d2 git.kernel.org
- https://git.kernel.org/stable/c/441c05485cf1a29eef05c1fd8281716815283315 git.kernel.org
- https://git.kernel.org/stable/c/aa17a252dbde432095e390e2092205d4debb12e1 git.kernel.org
- https://git.kernel.org/stable/c/0209e70ad496c1fcd85c2ec70e6736fd09f95d14 git.kernel.org
- https://git.kernel.org/stable/c/6e5e5defdb8b0186312c2f855ace175aee6daf9b git.kernel.org
Source: the record CVE-2022-50509 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