Memory leak in Linux kernel - CVE-2022-50117

 

Memory leak in Linux kernel - CVE-2022-50117

Published: June 19, 2025 / Updated: June 21, 2025


Vulnerability identifier: #VU111302
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-50117
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to memory leak within the vfio_ioctl_device_feature_mig_device_state() and vfio_ioctl_device_feature_migration() functions in drivers/vfio/vfio.c, within the vfio_pci_core_register_device() function in drivers/vfio/pci/vfio_pci_core.c, within the mlx5vf_pci_close_device() and mlx5vf_pci_probe() functions in drivers/vfio/pci/mlx5/main.c, within the mlx5vf_cmd_remove_migratable() and mlx5vf_cmd_set_migratable() functions in drivers/vfio/pci/mlx5/cmd.c, within the hisi_acc_vfio_pci_open_device(), hisi_acc_vfio_pci_close_device() and hisi_acc_vfio_pci_probe() functions in drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Live Patching
kernel-livepatch-5_14_21-150500_55_113-default-debuginfo
kernel-livepatch-SLE15-SP5_Update_28-debugsource
kernel-livepatch-5_14_21-150500_55_113-default
kernel-default
kernel-default-debuginfo
kernel-default-debugsource
kernel-default-livepatch-devel
kernel-default-livepatch

How to mitigate CVE-2022-50117

Install update from vendor's repository.

Linux kernel - update to 5.19.2
kernel-livepatch-5_14_21-150500_55_113-default-debuginfo - update to 1-150500.11.3.1
kernel-livepatch-SLE15-SP5_Update_28-debugsource - update to 1-150500.11.3.1
kernel-livepatch-5_14_21-150500_55_113-default - update to 1-150500.11.3.1
kernel-default - update to 5.14.21-150500.55.113.1
kernel-default-debuginfo - update to 5.14.21-150500.55.113.1
kernel-default-debugsource - update to 5.14.21-150500.55.113.1
kernel-default-livepatch-devel - update to 5.14.21-150500.55.113.1
kernel-default-livepatch - update to 5.14.21-150500.55.113.1

External References

Related Security Bulletins