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

 

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

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


Vulnerability identifier: #VU111425
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-50144
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 sdw_do_port_prep() and sdw_notify_config() functions in drivers/soundwire/stream.c, within the sdw_slave_release() and sdw_slave_add() functions in drivers/soundwire/slave.c, within the sdw_drv_probe() and sdw_drv_remove() functions in drivers/soundwire/bus_type.c, within the sdw_slave_clk_stop_callback(), sdw_handle_slave_alerts() and sdw_update_slave_status() functions in drivers/soundwire/bus.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-50144

Install update from vendor's repository.

Linux kernel - addressed in versions 5.15.61, 5.18.18, 5.19.2, 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