{"id":"CVE-2022-50538","aliases":["CVE-2022-50538"],"related":[],"kind":"vulnerability","state":"published","title":"vme: Fix error not catched in fake_init()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvme: Fix error not catched in fake_init()\n\nIn fake_init(), __root_device_register() is possible to fail but it's\nignored, which can cause unregistering vme_root fail when exit.\n\n general protection fault,\n probably for non-canonical address 0xdffffc000000008c\n KASAN: null-ptr-deref in range [0x0000000000000460-0x0000000000000467]\n RIP: 0010:root_device_unregister+0x26/0x60\n Call Trace:\n  <TASK>\n  __x64_sys_delete_module+0x34f/0x540\n  do_syscall_64+0x38/0x90\n  entry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nReturn error when __root_device_register() fails.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvme: Fix error not catched in fake_init()\n\nIn fake_init(), __root_device_register() is possible to fail but it's\nignored, which can cause unregistering vme_root fail when exit.\n\n general protection fault,\n probably for non-canonical address 0xdffffc000000008c\n KASAN: null-ptr-deref in range [0x0000000000000460-0x0000000000000467]\n RIP: 0010:root_device_unregister+0x26/0x60\n Call Trace:\n  <TASK>\n  __x64_sys_delete_module+0x34f/0x540\n  do_syscall_64+0x38/0x90\n  entry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nReturn error when __root_device_register() fails.","source":"cvelist"}],"published":"2025-10-07T15:21:04.428Z","modified":"2026-06-17T05:23:44.970Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"e831fdd60e5863ee03173baf5a0f7c5450b44381","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"69b43937f14bdc3594f57f1a507a14f3d1187136","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"09be0e7ac5f9374b6f8de72c89ed67129af71f65","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"f3f65c4177846c483bf009f8c512ab04b3c62466","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"4bc217b25ea81034fad8e33fd33e4659f086421d","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"a2a93546d414c7fe4862b87183fb737d1300d9d2","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"60ff9bd4ffc87bace581e235a6728f5ac8e5071f","status":"affected"},{"type":"git","introduced":"658bcdae9c6755806e66b33e29d56b33a3ff421a","fixed":"7bef797d707f1744f71156b21d41e3b8c946631f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.9","fixed":"4.9.337"},{"status":"affected","introduced":"4.10","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e831fdd60e5863ee03173baf5a0f7c5450b44381","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69b43937f14bdc3594f57f1a507a14f3d1187136","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09be0e7ac5f9374b6f8de72c89ed67129af71f65","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3f65c4177846c483bf009f8c512ab04b3c62466","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bc217b25ea81034fad8e33fd33e4659f086421d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2a93546d414c7fe4862b87183fb737d1300d9d2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60ff9bd4ffc87bace581e235a6728f5ac8e5071f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7bef797d707f1744f71156b21d41e3b8c946631f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50538","url":"https://www.cve.org/CVERecord?id=CVE-2022-50538","licence":"CVE Terms of Use","modified":"2026-05-11T19:21:21.843Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50538","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50538","licence":"Public domain","modified":"2026-06-17T05:23:44.970Z"}],"updatedAt":"2026-11-25T22:58:21.263Z","epss":{"score":0.00163,"percentile":0.05732,"date":"2026-12-01T12:00:22.000Z"}}