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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50538.json"
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50538-1bb1cc66",
"target": {
"file": "drivers/staging/vme_user/vme_fake.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bef797d707f1744f71156b21d41e3b8c946631f"
},
{
"digest": {
"length": 3904.0,
"function_hash": "269914724277060143068823694618892569152"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50538-4eeaad38",
"target": {
"function": "fake_init",
"file": "drivers/staging/vme_user/vme_fake.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bef797d707f1744f71156b21d41e3b8c946631f"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50538.json"