diff options
author | Oliver Neukum <oneukum@suse.com> | 2024-09-12 15:21:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-13 07:54:54 +0200 |
commit | 93907620b308609c72ba4b95b09a6aa2658bb553 (patch) | |
tree | 6bf61b75c6b6b70ca88d8c6744d8c39fd604e495 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 49cd2f4d747eeb3050b76245a7f72aa99dbd3310 (diff) |
USB: misc: yurex: fix race between read and write
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions