CVE-2022-50244NULL Pointer Dereference in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 96.24%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

Description

In the Linux kernel, the following vulnerability has been resolved: cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter() If device_register() fails in cxl_pci_afu|adapter(), the device is not added, device_unregister() can not be called in the error path, otherwise it will cause a null-ptr-deref because of removing not added device. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So split device_unregister() into device_de

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel3.184.9.337+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linuxf204e0b8cedd7da1dfcfd05ed6b7692737e2402982e68432668ae75b4c814d160f6987ecb0681273+9
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50244: In the Linux kernel, the following vulnerability has been resolved: cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter() If device_register(2025-09-15
GHSA
GHSA-jfcj-m759-47m9: In the Linux kernel, the following vulnerability has been resolved: cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter() If device_registe2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()2025-09-15
Debian
CVE-2022-50244: linux - In the Linux kernel, the following vulnerability has been resolved: cxl: fix po...2022
CVE-2022-50244 — NULL Pointer Dereference in Linux | cvebase