CVE-2022-50538

Source
https://cve.org/CVERecord?id=CVE-2022-50538
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50538.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50538
Downstream
Published
2025-10-07T15:21:04.428Z
Modified
2026-04-11T12:44:58.626108Z
Summary
vme: Fix error not catched in fake_init()
Details

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

vme: Fix error not catched in fake_init()

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

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

Return error when __rootdeviceregister() fails.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50538.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
658bcdae9c6755806e66b33e29d56b33a3ff421a
Fixed
e831fdd60e5863ee03173baf5a0f7c5450b44381
Fixed
69b43937f14bdc3594f57f1a507a14f3d1187136
Fixed
09be0e7ac5f9374b6f8de72c89ed67129af71f65
Fixed
f3f65c4177846c483bf009f8c512ab04b3c62466
Fixed
37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c
Fixed
4bc217b25ea81034fad8e33fd33e4659f086421d
Fixed
a2a93546d414c7fe4862b87183fb737d1300d9d2
Fixed
60ff9bd4ffc87bace581e235a6728f5ac8e5071f
Fixed
7bef797d707f1744f71156b21d41e3b8c946631f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50538.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50538.json"