CVE-2022-50538
JSON

5.5medium

vme: Fix error not catched in fake_init()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 658bcdae9c6755806e66b33e29d56b33a3ff421a before e831fdd60e5863ee03173baf5a0f7c5450b44381, from 658bcdae9c6755806e66b33e29d56b33a3ff421a before 69b43937f14bdc3594f57f1a507a14f3d1187136, from 658bcdae9c6755806e66b33e29d56b33a3ff421a before 09be0e7ac5f9374b6f8de72c89ed67129af71f65, from 658bcdae9c6755806e66b33e29d56b33a3ff421a before f3f65c4177846c483bf009f8c512ab04b3c62466, from 658bcdae9c6755806e66b33e29d56b33a3ff421a before 37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c, from 658bcdae9c6755806e66b33e29d56b33a3ff421a before 4bc217b25ea81034fad8e33fd33e4659f086421d, from 658bcdae9c6755806e66b33e29d56b33a3ff421a before a2a93546d414c7fe4862b87183fb737d1300d9d2, from 658bcdae9c6755806e66b33e29d56b33a3ff421a before 60ff9bd4ffc87bace581e235a6728f5ac8e5071f and 2 more
Not affected: before 4.9, from 4.9.337 up to 4.9.*, from 4.14.303 up to 4.14.*, from 4.19.270 up to 4.19.*, from 5.4.229 up to 5.4.*, from 5.10.163 up to 5.10.*
CVE List
linux linux_kernelfrom 4.9 before 4.9.337, from 4.10 before 4.14.303, from 4.15 before 4.19.270, from 4.20 before 5.4.229, from 5.5 before 5.10.163, from 5.11 before 5.15.86, from 5.16 before 6.0.16, from 6.1 before 6.1.2NVD

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50538 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50538 changed 2026-06-17Public domain