CVE-2022-50538

vme: Fix error not catched in fake_init()

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before e831fdd60e5863ee03173baf5a0f7c5450b44381Affected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before 69b43937f14bdc3594f57f1a507a14f3d1187136Affected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before 09be0e7ac5f9374b6f8de72c89ed67129af71f65Affected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before f3f65c4177846c483bf009f8c512ab04b3c62466Affected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before 37d3de40c1ffb6a5e626bf46ff5ef5766c824e2cAffected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before 4bc217b25ea81034fad8e33fd33e4659f086421dAffected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before a2a93546d414c7fe4862b87183fb737d1300d9d2Affected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before 60ff9bd4ffc87bace581e235a6728f5ac8e5071fAffected
  • 658bcdae9c6755806e66b33e29d56b33a3ff421a to before 7bef797d707f1744f71156b21d41e3b8c946631fAffected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 4.9.337 through 4.9.*Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.