firewire fixes for 6.19-rc8

Fix a race condition introduced in v6.18. Andreas Persson discovered this
 issue while working with Focusrite Saffire Pro 40 (TCD33070). The fw_card
 instance maintains a linked list of pending transactions, which must be
 protected against concurrent access. However, a commit b5725cfa41
 ("firewire: core: use spin lock specific to timer for split transaction")
 unintentionally allowed concurrent accesses to this list. Fix this by
 adjusting the relevant critical sections to properly serialize access.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQQE66IEYNDXNBPeGKSsLtaWM8LwEwUCaX00QAAKCRCsLtaWM8Lw
 E0G/AP9PAE2Una4WBWNMw24zgyMYJyODekEQEZLr72ksPHMDGQD9GZNKylKogQdi
 OquDPN4J93mw4/9DGtCbF8ZEQLAxdwA=
 =7hNC
 -----END PGP SIGNATURE-----

Merge tag 'firewire-fixes-6.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394

Pull firewire fix from Takashi Sakamoto:
 "Fix a race condition introduced in v6.18.

  Andreas Persson discovered this issue while working with Focusrite
  Saffire Pro 40 (TCD33070). The fw_card instance maintains a linked
  list of pending transactions, which must be protected against
  concurrent access.

  However, a commit b5725cfa41 ("firewire: core: use spin lock
  specific to timer for split transaction") unintentionally allowed
  concurrent accesses to this list.

  Fix this by adjusting the relevant critical sections to properly
  serialize access"

* tag 'firewire-fixes-6.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
  firewire: core: fix race condition against transaction list
This commit is contained in:
Linus Torvalds 2026-01-30 17:07:45 -08:00
commit 2912d799e5