linux-stable/drivers/usb
Harshit Mogalapalli e7d3b9f286 usb: yurex: Fix inconsistent locking bug in yurex_read()
Unlock before returning on the error path.

Fixes: 86b20af11e ("usb: yurex: Replace snprintf() with the safer scnprintf() variant")
Reported-by: Dan Carpenter <error27@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202312170252.3udgrIcP-lkp@intel.com/
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://lore.kernel.org/r/20231219063639.450994-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-02 14:41:51 +01:00
..
atm usb: atm: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() 2023-12-04 22:25:16 +09:00
c67x00 USB: c67x00: Remove unused declaration c67x00_hcd_msg_received() 2023-10-02 16:42:33 +02:00
cdns3 usb: cdns3: Use dev_err_probe 2023-12-15 13:55:56 +01:00
chipidea usb: chipidea: Remove usage of the deprecated ida_simple_xx() API 2023-12-15 13:53:33 +01:00
class usb: cdc-acm: return correct error code on unsupported break 2023-12-15 13:52:47 +01:00
common Merge 6.5-rc6 into usb-next 2023-08-14 22:22:31 +02:00
core usb: core: Fix crash w/ usb_choose_configuration() if no driver 2023-12-15 13:54:09 +01:00
dwc2 usb: dwc2: Disable clock gating feature on Rockchip SoCs 2024-01-02 14:35:23 +01:00
dwc3 Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only" 2024-01-02 14:40:42 +01:00
early
fotg210 usb: fotg210-udc: fix function kernel-doc comments 2023-12-11 09:08:42 +01:00
gadget drivers/usb/gadget/udc: Fix spelling typo in comments(reqest->request) 2024-01-02 14:41:15 +01:00
host xhci: Fix null pointer dereference during S4 resume when resetting ep0 2023-12-15 18:29:02 +01:00
image
isp1760 usb: isp1760: Convert to platform remove callback returning void 2023-05-28 12:38:01 +01:00
misc usb: yurex: Fix inconsistent locking bug in yurex_read() 2024-01-02 14:41:51 +01:00
mon usb: mon_text: Replace snprintf() with the safer scnprintf() variant 2023-12-15 13:55:30 +01:00
mtu3 usb: mtu3: Convert to platform remove callback returning void 2023-10-21 12:49:08 +02:00
musb Merge 6.6-rc6 into usb-next 2023-10-16 17:36:12 +02:00
phy usb: phy: twl6030: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() 2023-12-15 13:55:30 +01:00
renesas_usbhs usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
roles USB: roles: make role_class a static const structure 2023-06-20 16:20:40 +02:00
serial USB: serial: option: add Luat Air72*U series products 2023-11-23 18:39:30 +01:00
storage usb: storage: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() 2023-12-15 13:55:30 +01:00
typec usb: typec: tipd: add patch update support for tps6598x 2024-01-02 14:41:30 +01:00
usbip USB: usbip: vudc: Convert to platform remove callback returning void 2023-11-22 12:02:53 +00:00
Kconfig usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk 2023-10-02 16:19:12 +02:00
Makefile
usb-skeleton.c