{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50481","published":"2025-10-04T16:15:44.840000Z","last_modified":"2026-11-05T21:17:01.257000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-476"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.6","version_end_excluding":"4.9.337"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.14.303"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.270"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.229"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.163"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.86"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.0.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.1","version_end_excluding":"6.1.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00225,"percentile":0.0785,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-50481/","html_en":"/en/cve/CVE-2022-50481/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50481","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50481"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()\n\nIf device_register() fails in cxl_register_afu|adapter(), the device\nis not added, device_unregister() can not be called in the error path,\notherwise it will cause a null-ptr-deref because of removing not added\ndevice.\n\nAs comment of device_register() says, it should use put_device() to give\nup the reference in the error path. So split device_unregister() into\ndevice_del() and put_device(), then goes to put dev when register fails.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/170e8c2d2b61e15e7f7cfeded81bc1e959a15ed8","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/1ae581696b7a799afa39a664c4b721569643f58a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/60b2ed21a65f3f5318666ccd765c3507991370cf","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/61c80d1c3833e196256fb060382db94f24d3d9a7","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/96fba6fb95bdede80583c262ac185da09661f264","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ab44c182353be101c3be9465e1d15d42130c53c4","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b32559ee4e6667c5c3daf4ec5454c277d1f255d2","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d775a1da5a52b4f4bb02f2707ba420d1bec48dbb","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e5021bbf11b024cc65ea1e84c377df484183be4b","tags":["Patch"]}]}}