> -----Original Message----- > From: Sasha Levin [mailto:sashal@xxxxxxxxxx] > Sent: Sunday, September 06, 2020 11:16 AM > To: Sasha Levin; Zengtao (B); gregkh@xxxxxxxxxxxxxxxxxxx > Cc: Zengtao (B); stable; Alan Stern; stable@xxxxxxxxxxxxxxx > Subject: Re: [PATCH] usb: core: fix slab-out-of-bounds Read in > read_descriptors > > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag > fixing commit: 217a9081d8e6 ("USB: add all configs to the "descriptors" > attribute"). > > The bot has tested the following trees: v5.8.6, v5.4.62, v4.19.143, > v4.14.196, v4.9.235, v4.4.235. > > v5.8.6: Build OK! > v5.4.62: Build OK! > v4.19.143: Build OK! > v4.14.196: Build OK! > v4.9.235: Build OK! > v4.4.235: Build failed! Errors: > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? > [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] > drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function > ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] > > > NOTE: The patch will not be queued to stable trees until it is upstream. > > How should we proceed with this patch? Need 7dd9cba5bb90 ("usb: sysfs: make locking interruptible")? > > -- > Thanks > Sasha