mbox series

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

Message ID 20220409041243.603210-1-o-takashi@sakamocchi.jp
Headers show
Series firewire: fixes for kernel v4.9 or later | expand

Message

Takashi Sakamoto April 9, 2022, 4:12 a.m. UTC
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@zte.com.cn/
* [PATCH] firewire: core: extend card->lock in fw_core_handle_bus_reset
    * https://lore.kernel.org/lkml/20220303183038.54126-1-dossche.niels@gmail.com/
* [PATCH] firewire: remove check of list iterator against head past the loop body
    * https://lore.kernel.org/lkml/20220331223601.902329-1-jakobkoschel@gmail.com/

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(-)

Comments

Takashi Iwai April 25, 2022, 6:05 a.m. UTC | #1
On Sat, 09 Apr 2022 06:12:40 +0200,
Takashi Sakamoto wrote:
> 
> 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@zte.com.cn/
> * [PATCH] firewire: core: extend card->lock in fw_core_handle_bus_reset
>     * https://lore.kernel.org/lkml/20220303183038.54126-1-dossche.niels@gmail.com/
> * [PATCH] firewire: remove check of list iterator against head past the loop body
>     * https://lore.kernel.org/lkml/20220331223601.902329-1-jakobkoschel@gmail.com/
> 
> 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

Now I applied all those pending patches to topic/firewire branch,
merged into for-linus branch.


thanks,

Takashi