Use-after-free in Linux kernel - CVE-2022-50035

 

Use-after-free in Linux kernel - CVE-2022-50035

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


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

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the amdgpu_cs_vm_handling() function in drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c. A local user can escalate privileges on the system.


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-50035

Install update from vendor's repository.

Linux kernel - addressed in versions 5.19.4, 6.0
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