CVE-2022-50538

vme: Fix error not catched in fake_init()

No CVSS score yet EPSS 0.16%

Published 7 Oct 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-50538

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-50538 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.

Check my servers

Description

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

vme: Fix error not catched in fake_init()

In fake_init(), __root_device_register() is possible to fail but it's ignored, which can cause unregistering vme_root fail when exit.

general protection fault, probably for non-canonical address 0xdffffc000000008c KASAN: null-ptr-deref in range [0x0000000000000460-0x0000000000000467] RIP: 0010:root_device_unregister+0x26/0x60 Call Trace: <TASK> __x64_sys_delete_module+0x34f/0x540 do_syscall_64+0x38/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Return error when __root_device_register() fails.

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.73% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before e831fdd60e5863ee03173baf5a0f7c5450b44381
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before 69b43937f14bdc3594f57f1a507a14f3d1187136
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before 09be0e7ac5f9374b6f8de72c89ed67129af71f65
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before f3f65c4177846c483bf009f8c512ab04b3c62466
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before 37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before 4bc217b25ea81034fad8e33fd33e4659f086421d
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before a2a93546d414c7fe4862b87183fb737d1300d9d2
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before 60ff9bd4ffc87bace581e235a6728f5ac8e5071f
affected from 658bcdae9c6755806e66b33e29d56b33a3ff421a, before 7bef797d707f1744f71156b21d41e3b8c946631f
Other versions: unaffected
Linux
affected 4.9
unaffected before 4.9
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-50538 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50538

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-50538
trivy image --scanners vuln IMAGE | grep CVE-2022-50538

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

Source: the record CVE-2022-50538 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.