[GIT PULL] Driver core fixes for 5.14-rc5

From: Greg KH
Date: Sun Aug 08 2021 - 07:31:56 EST


The following changes since commit ff1176468d368232b684f75e82563369208bc371:

Linux 5.14-rc3 (2021-07-25 15:35:14 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.14-rc5

for you to fetch changes up to 75d95e2e39b27f733f21e6668af1c9893a97de5e:

firmware_loader: fix use-after-free in firmware_fallback_sysfs (2021-07-29 17:22:15 +0200)

----------------------------------------------------------------
Driver core fixes for 5.14-rc5

Here are 3 tiny driver core and firmware loader fixes for 5.14-rc5.
They are:
- driver core fix for when probing fails
- firmware loader fixes for reported problems.

All have been in linux-next for a while with no reported issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Anirudh Rayabharam (2):
firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
firmware_loader: fix use-after-free in firmware_fallback_sysfs

Filip Schauer (1):
drivers core: Fix oops when driver probe fails

drivers/base/dd.c | 4 ++--
drivers/base/firmware_loader/fallback.c | 14 ++++++++------
drivers/base/firmware_loader/firmware.h | 10 +++++++++-
drivers/base/firmware_loader/main.c | 2 ++
4 files changed, 21 insertions(+), 9 deletions(-)