Use-after-free in Linux kernel - CVE-2022-50144
Published: June 19, 2025 / Updated: June 21, 2025
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
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
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
- https://git.kernel.org/stable/c/250b46505175889c6b5958c3829f610f52199f5f
- https://git.kernel.org/stable/c/432b30f08ca3303d2ebb22352cb04c4b6cfefe65
- https://git.kernel.org/stable/c/8fd6b03646b9a9e16d1ec19bd724cd6bd78e0ea5
- https://git.kernel.org/stable/c/bd29c00edd0a5dac8b6e7332bb470cd50f92e893
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.61
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.2
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.0