linux-stable/drivers/char
Dan Carpenter d23006f2a5 ipmi: fix use after free in _ipmi_destroy_user()
commit a92ce570c8 upstream.

The intf_free() function frees the "intf" pointer so we cannot
dereference it again on the next line.

Fixes: cbb79863fc ("ipmi: Don't allow device module unload when in use")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Message-Id: <Y3M8xa1drZv4CToE@kili>
Cc: <stable@vger.kernel.org> # 5.5+
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:41:49 +01:00
..
agp parisc/agp: Annotate parisc agp init functions with __init 2021-12-17 10:12:23 +01:00
hw_random hwrng: geode - Fix PCI device refcount leak 2023-01-18 11:41:21 +01:00
ipmi ipmi: fix use after free in _ipmi_destroy_user() 2023-01-18 11:41:49 +01:00
mwave char/mwave: Adjust io port register size 2022-01-27 09:19:38 +01:00
pcmcia char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol() 2021-07-14 16:53:40 +02:00
tpm tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak 2023-01-18 11:41:45 +01:00
xilinx_hwicap
xillybus
adi.c
apm-emulation.c
applicom.c
applicom.h
bsr.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
hangcheck-timer.c
hpet.c char: hpet: add checks after calling ioremap 2021-06-03 08:59:09 +02:00
Kconfig random: credit cpu and bootloader seeds by default 2022-06-22 14:11:21 +02:00
lp.c lp: fix sparc64 LPSETTIMEOUT ioctl 2019-12-13 08:42:17 +01:00
Makefile
mem.c random: restore O_NONBLOCK support 2022-10-15 07:54:40 +02:00
misc.c
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
powernv-op-panel.c
ppdev.c ppdev: fix PPGETTIME/PPSETTIME ioctls 2019-12-17 19:56:41 +01:00
ps3flash.c
random.c random: use expired timer rather than wq for mixing fast pool 2022-10-15 07:54:40 +02:00
raw.c
rtc.c
scx200_gpio.c
sonypi.c
tb0219.c
tlclk.c drivers: char: tlclk.c: Avoid data race between init and interrupt handler 2020-10-01 13:17:56 +02:00
toshiba.c
ttyprintk.c ttyprintk: Add TTY hangup callback. 2021-05-14 09:44:23 +02:00
uv_mmtimer.c
virtio_console.c virtio_console: eliminate anonymous module_init & module_exit 2022-04-15 14:18:36 +02:00