CVE-2022-50538 Details
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.
A vulnerability exists in the Linux kernel's VME fake driver, specifically in the initialization function 'fake_init()'. The issue arises because the function '__root_device_register()' can fail, but this potential failure is not properly handled. As a result, when the module is unloaded, the unregistration of 'vme_root' can fail, leading to a general protection fault. This fault is likely caused by a non-canonical address, as indicated by the Kernel Address Sanitizer (KASAN) report of a null pointer dereference within a specific memory range. The problem was introduced in version 5.15 and has been fixed in the stable branch.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/09be0e7ac5f9374b6f8de72c89ed67129af71f65 | kernel.org | Patch |
| https://git.kernel.org/stable/c/37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c | kernel.org | Patch |
| https://git.kernel.org/stable/c/4bc217b25ea81034fad8e33fd33e4659f086421d | kernel.org | Patch |
| https://git.kernel.org/stable/c/60ff9bd4ffc87bace581e235a6728f5ac8e5071f | kernel.org | Patch |
| https://git.kernel.org/stable/c/69b43937f14bdc3594f57f1a507a14f3d1187136 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7bef797d707f1744f71156b21d41e3b8c946631f | kernel.org | Patch |
| https://git.kernel.org/stable/c/a2a93546d414c7fe4862b87183fb737d1300d9d2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e831fdd60e5863ee03173baf5a0f7c5450b44381 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f3f65c4177846c483bf009f8c512ab04b3c62466 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.9, < 4.9.337 >= 4.10, < 4.14.303 >= 4.15, < 4.19.270 >= 4.20, < 5.4.229 >= 5.5, < 5.10.163 >= 5.11, < 5.15.86 >= 5.16, < 6.0.16 >= 6.1, < 6.1.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 26, 2026 | Reanalysis | [email protected] |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2025 | New CVE Received | kernel.org |