In the Linux kernel, the following vulnerability has been resolved:
vme: Fix error not catched in fake_init()
In fakeinit(), _rootdeviceregister() 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:rootdeviceunregister+0x26/0x60 Call Trace: <TASK> _x64sysdeletemodule+0x34f/0x540 dosyscall64+0x38/0x90 entrySYSCALL64afterhwframe+0x63/0xcd
Return error when _rootdevice_register() fails.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50538.json"
}[
{
"target": {
"file": "drivers/staging/vme_user/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2a93546d414c7fe4862b87183fb737d1300d9d2",
"signature_type": "Line",
"id": "CVE-2022-50538-06ea001b"
},
{
"target": {
"file": "drivers/staging/vme_user/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60ff9bd4ffc87bace581e235a6728f5ac8e5071f",
"signature_type": "Line",
"id": "CVE-2022-50538-139acb93"
},
{
"target": {
"file": "drivers/staging/vme_user/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bef797d707f1744f71156b21d41e3b8c946631f",
"signature_type": "Line",
"id": "CVE-2022-50538-1bb1cc66"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "269914724277060143068823694618892569152",
"length": 3904.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4bc217b25ea81034fad8e33fd33e4659f086421d",
"signature_type": "Function",
"id": "CVE-2022-50538-3f6d6d2c"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09be0e7ac5f9374b6f8de72c89ed67129af71f65",
"signature_type": "Line",
"id": "CVE-2022-50538-417d2c5d"
},
{
"target": {
"file": "drivers/staging/vme_user/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "269914724277060143068823694618892569152",
"length": 3904.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bef797d707f1744f71156b21d41e3b8c946631f",
"signature_type": "Function",
"id": "CVE-2022-50538-4eeaad38"
},
{
"target": {
"file": "drivers/staging/vme_user/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "269914724277060143068823694618892569152",
"length": 3904.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2a93546d414c7fe4862b87183fb737d1300d9d2",
"signature_type": "Function",
"id": "CVE-2022-50538-67abcadc"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "138752385079047577314820719521444486402",
"length": 4019.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e831fdd60e5863ee03173baf5a0f7c5450b44381",
"signature_type": "Function",
"id": "CVE-2022-50538-6ad5c1b0"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "138752385079047577314820719521444486402",
"length": 4019.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69b43937f14bdc3594f57f1a507a14f3d1187136",
"signature_type": "Function",
"id": "CVE-2022-50538-71183965"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"7128780741384265039518564433272421129",
"47172244784022436699796129568544894518",
"70471865319876782030117205954800465106"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69b43937f14bdc3594f57f1a507a14f3d1187136",
"signature_type": "Line",
"id": "CVE-2022-50538-7d0c8e00"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "269914724277060143068823694618892569152",
"length": 3904.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c",
"signature_type": "Function",
"id": "CVE-2022-50538-a04f482f"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@37d3de40c1ffb6a5e626bf46ff5ef5766c824e2c",
"signature_type": "Line",
"id": "CVE-2022-50538-a66e6d14"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f3f65c4177846c483bf009f8c512ab04b3c62466",
"signature_type": "Line",
"id": "CVE-2022-50538-ba2f4659"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "269914724277060143068823694618892569152",
"length": 3904.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09be0e7ac5f9374b6f8de72c89ed67129af71f65",
"signature_type": "Function",
"id": "CVE-2022-50538-ca7466b5"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"255679136558930505237069268445747417666",
"264534023120435241782286592911466020600",
"264143655973116758488763951179944704410"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4bc217b25ea81034fad8e33fd33e4659f086421d",
"signature_type": "Line",
"id": "CVE-2022-50538-e7f6b9a0"
},
{
"target": {
"file": "drivers/staging/vme_user/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "269914724277060143068823694618892569152",
"length": 3904.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60ff9bd4ffc87bace581e235a6728f5ac8e5071f",
"signature_type": "Function",
"id": "CVE-2022-50538-eb8e302d"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c"
},
"digest": {
"line_hashes": [
"227792393863758549762438442342384230881",
"7128780741384265039518564433272421129",
"47172244784022436699796129568544894518",
"70471865319876782030117205954800465106"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e831fdd60e5863ee03173baf5a0f7c5450b44381",
"signature_type": "Line",
"id": "CVE-2022-50538-f648491e"
},
{
"target": {
"file": "drivers/vme/bridges/vme_fake.c",
"function": "fake_init"
},
"digest": {
"function_hash": "269914724277060143068823694618892569152",
"length": 3904.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f3f65c4177846c483bf009f8c512ab04b3c62466",
"signature_type": "Function",
"id": "CVE-2022-50538-fc0b1fcb"
}
]