[PATCH 0/3] firewire: fixes for kernel v4.9 or later

From: Takashi Sakamoto
Date: Sat Apr 09 2022 - 00:13:02 EST


Hi,

This patchset respins patches posted before to fix some bugs for Linux
FireWire subsystem. I expect them to be sent to Linus via pull request
by maintainer of Linux sound subsystem since the path appears to be
available after a short conversation with the maintainer. This patchset
is expected to be applied to 'for-linus' branch for v5.18 kernel, and
to stable kernels based on v4.9 or later.

This patchset includes below patches:

* [PATCH V2] drivers/firewire: use struct_size over open coded arithmetic
* https://lore.kernel.org/lkml/20220210060805.1608198-1-chi.minghao@xxxxxxxxxx/
* [PATCH] firewire: core: extend card->lock in fw_core_handle_bus_reset
* https://lore.kernel.org/lkml/20220303183038.54126-1-dossche.niels@xxxxxxxxx/
* [PATCH] firewire: remove check of list iterator against head past the loop body
* https://lore.kernel.org/lkml/20220331223601.902329-1-jakobkoschel@xxxxxxxxx/

Chengfeng Ye (1):
firewire: fix potential uaf in outbound_phy_packet_callback()

Jakob Koschel (1):
firewire: remove check of list iterator against head past the loop
body

Niels Dossche (1):
firewire: core: extend card->lock in fw_core_handle_bus_reset

drivers/firewire/core-card.c | 3 +++
drivers/firewire/core-cdev.c | 4 +++-
drivers/firewire/core-topology.c | 9 +++------
drivers/firewire/core-transaction.c | 30 +++++++++++++++--------------
drivers/firewire/sbp2.c | 13 +++++++------
5 files changed, 32 insertions(+), 27 deletions(-)

--
2.34.1