SB20250619140 - Use-after-free in Linux kernel soundwire driver
Published: June 19, 2025 Updated: June 21, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Use-after-free (CVE-ID: CVE-2022-50144)
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.
Remediation
Install update from vendor's website.
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