driver core: platform: fix race condition with driver_override
The driver_override implementation is susceptible to race condition when different threads are reading vs storing a different driver override. Add locking to avoid race condition. Fixes: 3d713e0e ("driver core: platform: add device binding path 'driver_override'") Cc: stable@vger.kernel.org Signed-off-by:Adrian Salido <salidoa@google.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit cb719006
-
mentioned in commit d30aadc3
-
mentioned in commit 3b2211a7
-
mentioned in commit 11ee7434
-
mentioned in commit f5c6aae1
-
mentioned in commit eb153c65
-
mentioned in commit c32c15ff
-
mentioned in commit 93ee3883
-
mentioned in commit 1d4ddc30
-
mentioned in commit 0544aab8
Please sign in to comment