[GIT PULL] firewire updates for v7.3
From: Takashi Sakamoto
Date: Sat Aug 22 2026 - 01:18:35 EST
Hi Linus,
Please pull firewire changes for 7.3 to your tree.
The following changes since commit f5098b6bae761e346ebcd9da7f95622c04733cff:
Linux 7.2-rc5 (2026-07-26 14:45:48 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-updates-7.3
for you to fetch changes up to 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23:
firewire: core: fix memory leak in error path of build_tree() (2026-08-12 07:50:06 +0900)
----------------------------------------------------------------
firewire updates for v7.3
This update includes error checks, a potential bug fix, and KUnit tests.
Sreeraj S Kurup addressed an error case when generating the contents of
the configuration ROM with parameters supplied by in-kernel
implementations such as unit drivers. Some error checks were added to
handle failures in this path.
Abdun Nihaal identified a potential memory leak when an invalid self-ID
sequence causes an error while building the internal node tree. KUnit
tests have been added to trigger this case. This memory leak has existed
since the first commit and has now been fixed.
----------------------------------------------------------------
Sreeraj S Kurup (2):
firewire: core: validate overall descriptor length in fw_core_add_descriptor()
firewire: core: validate sub-block lengths in fw_core_add_descriptor()
Takashi Sakamoto (6):
firewire: core: add KUnit test skeleton for node tree
firewire: core: add KUnit tests for successful tree building
firewire: core: add KUnit tests for failure of tree building
firewire: core: consolidate port counting in build_tree()
firewire: core: validate parent port count before allocating nodes in build_tree()
firewire: core: fix memory leak in error path of build_tree()
drivers/firewire/.kunitconfig | 1 +
drivers/firewire/Kconfig | 15 +
drivers/firewire/core-card.c | 28 +-
drivers/firewire/core-topology.c | 62 ++--
drivers/firewire/node-tree-test.c | 607 ++++++++++++++++++++++++++++++++++++++
5 files changed, 685 insertions(+), 28 deletions(-)
create mode 100644 drivers/firewire/node-tree-test.c