CVE-2022-50085
dm raid: fix address sanitizer warning in raid_resume
Check your servers for CVE-2022-50085
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-50085 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:
dm raid: fix address sanitizer warning in raid_resume
There is a KASAN warning in raid_resume when running the lvm test lvconvert-raid.sh. The reason for the warning is that mddev->raid_disks is greater than rs->raid_disks, so the loop touches one entry beyond the allocated length.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before c2f075e729636a44e98d9722e3852c2fa6fa49b6 affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before 3bfdc95466f5be4d8d95db5a5b470d61641a7c24 affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before 71f601c779b3cc1baf497796f5b922c3fe5d2a1e affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before c2d47bef93fb74aa97d90f9a40ca657b8f376083 affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before 50235d9a1f1f742619ed9963cb9f240e5b821d46 affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before 74af83732a39ab7d3bc9b49219a535853e25679f affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before 2a9faa704d83ff0b04387e385efd8ae21cd95af6 affected from 33e53f06850f44ec9722e08a993ecf8816e447a5, before 7dad24db59d2d2803576f2e3645728866a056dab
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 4.14.291 up to and including 4.14.* unaffected from 4.19.256 up to and including 4.19.* unaffected from 5.4.211 up to and including 5.4.* unaffected from 5.10.137 up to and including 5.10.* unaffected from 5.15.61 up to and including 5.15.* unaffected from 5.18.18 up to and including 5.18.* unaffected from 5.19.2 up to and including 5.19.* unaffected 6.0 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-50085 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50085
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-50085
trivy image --scanners vuln IMAGE | grep CVE-2022-50085
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/c2f075e729636a44e98d9722e3852c2fa6fa49b6 git.kernel.org
- https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24 git.kernel.org
- https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e git.kernel.org
- https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083 git.kernel.org
- https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46 git.kernel.org
- https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f git.kernel.org
- https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6 git.kernel.org
- https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab git.kernel.org
Source: the record CVE-2022-50085 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