linux-stable/drivers/firewire
Takashi Sakamoto 2dbf73d3fa firewire: net: fix unexpected release of object for asynchronous request packet
commit f7dcc5e33c upstream.

The lifetime of object for asynchronous request packet is now maintained
by reference counting, while current implementation of firewire-net
releases the passed object in the handler.

This commit fixes the bug.

Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/lkml/Y%2Fymx6WZIAlrtjLc@workstation/
Fixes: 13a55d6bb1 ("firewire: core: use kref structure to maintain lifetime of data for fw_request structure")
Link: https://lore.kernel.org/lkml/20230510031205.782032-1-o-takashi@sakamocchi.jp/
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-17 14:02:03 +02:00
..
Kconfig
Makefile
core-card.c Merge branch 'for-linus' into for-next 2022-05-23 07:48:27 +02:00
core-cdev.c firewire: cdev: use single object to dispatch event for request to IEC 61883-1 FCP region 2023-01-23 09:17:46 +01:00
core-device.c driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00
core-iso.c
core-topology.c firewire: core: extend card->lock in fw_core_handle_bus_reset 2022-04-25 08:01:09 +02:00
core-transaction.c firewire: cdev: obsolete NULL check to detect IEC 61883-1 FCP region 2023-01-23 09:17:44 +01:00
core.h firewire: cdev: obsolete NULL check to detect IEC 61883-1 FCP region 2023-01-23 09:17:44 +01:00
init_ohci1394_dma.c
net.c firewire: net: fix unexpected release of object for asynchronous request packet 2023-05-17 14:02:03 +02:00
nosy-user.h
nosy.c firewire: nosy: switch from 'pci_' to 'dma_' API 2021-07-05 22:23:15 +02:00
nosy.h
ohci.c
ohci.h
sbp2.c firewire: remove check of list iterator against head past the loop body 2022-04-25 08:01:08 +02:00