On Wed, 03 Dec 2025 01:44:38 +0800, Gui-Dong Han wrote:
The driver_override_show() function reads the driver_override string without holding the device_lock. However, driver_override_store() uses driver_set_override(), which modifies and frees the string while holding the device_lock.
This can result in a concurrent use-after-free if the string is freed by the store function while being read by the show function.
[...]
Applied, thanks!
[1/1] bus: fsl-mc: fix use-after-free in driver_override_show() commit: 148891e95014b5dc5878acefa57f1940c281c431
Best regards,