Home
last modified time | relevance | path

Searched hist:"225643310 df7926f6286250bae266fabd6514c16" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/misc/
H A Dyurex.cdiff 225643310df7926f6286250bae266fabd6514c16 Thu Sep 12 08:21:22 CDT 2024 Oliver Neukum <oneukum@suse.com> USB: misc: yurex: fix race between read and write

[ Upstream commit 93907620b308609c72ba4b95b09a6aa2658bb553 ]

The write code path touches the bbu member in a non atomic manner
without taking the spinlock. Fix it.

The bug is as old as the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
CC: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240912132126.1034743-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>