Skip to contentSkip to conversation

firewire updates for v7.3

GIT PULL Merged Takashi Sakamoto 2 participants 2 messages Aug 22

lore
Share & tools
lore
#0 lore raw

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
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 22 Aug 2026 14:16:06 +0900:

The pull request you sent on Sat, 22 Aug 2026 14:16:06 +0900:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-updates-7.3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/47f05f71ad988c3180bdba807151e6e86ed75aa3

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html