JIRA: https://issues.redhat.com/browse/RHEL-78828
commit 74adad500346fb07d69af2c79acbff4adb061134
Author: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Date: Mon, 16 Dec 2024 10:55:39 +0900
Current implementation of ci_hdrc_imx_driver does not decrement the
refcount of the device obtained in usbmisc_get_init_data(). Add a
put_device() call in .remove() and in .probe() before returning an
error.
This bug was found by an experimental static analysis tool that I am
developing.
Cc: stable <stable@kernel.org>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bits.h | ||
ci.h | ||
ci_hdrc_imx.c | ||
ci_hdrc_imx.h | ||
ci_hdrc_msm.c | ||
ci_hdrc_npcm.c | ||
ci_hdrc_pci.c | ||
ci_hdrc_tegra.c | ||
ci_hdrc_usb2.c | ||
core.c | ||
debug.c | ||
host.c | ||
host.h | ||
otg.c | ||
otg.h | ||
otg_fsm.c | ||
otg_fsm.h | ||
trace.c | ||
trace.h | ||
udc.c | ||
udc.h | ||
ulpi.c | ||
usbmisc_imx.c |