From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a3-smtp.messagingengine.com (fout-a3-smtp.messagingengine.com [103.168.172.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78B00257435 for ; Sat, 22 Aug 2026 05:16:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.146 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787375775; cv=none; b=Wp8+GuBMPIeJG5JfqIOKzlmbmDgzBbmzEH5KmZ5II+Ce5BFuEjeZevkPvQDekWykCRhKBi27YTbmHo4PmaR5VvIX/Kxb95sVvvSyAAYTu1wStjXArYh2xTU42DeM+FAXvI75BGMX9e/BR4Zjx5DqYIfFMyoxOR2amlIzT3YqWro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787375775; c=relaxed/simple; bh=vpTFn1YKOUI6Wdb4IgHB0oYRIW/NY47GdgSrvvpsVgc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=aKU2QNQUuXZTC1Yy8gmtSzO2O942NqiAGygbsKslZrOMkLdT77GovoYLdBCRuLHTru+vowy79ko09ig/3FvGgsYrUypFHSYwd9zeNy9FsZpryZBgFPQUeusk0i3q+sT/VTFr1puLsopuPDbfnkvyoxRqwkqiy4nfHwSV3jzpSZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp; spf=pass smtp.mailfrom=sakamocchi.jp; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b=YvXVTH3g; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=BsWlR4qM; arc=none smtp.client-ip=103.168.172.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="YvXVTH3g"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="BsWlR4qM" Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 855FAEC01DF; Sat, 22 Aug 2026 01:16:11 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Sat, 22 Aug 2026 01:16:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1787375771; x=1787462171; bh=G9A1j0jU7AUy0AmW7fak9 N2u4EG3rpx2QDus6o9nWyk=; b=YvXVTH3g2zhVmEzGmUMDc19XP2A9Pqiz1Qxi7 d6TDJVsd2NZo0K5H+di6MG8ipg6oyWTFE0Xxv8phN0Jd40yXo4qkTMEJwdD0q4DK iFDi8oocTNMU0WeGk6n6Xs9UCwaoITYQUkBmeNPjt13rTJzr0KzOd3GVEPT8eDqs 0ZZyhirR0JVfcMouY/QsCrDgONbpi/L7d0pleLyc+cc2eswe+YoZ2O8YDOl9XXCr leDGVINmNNjjzDDekUvjiM5Dr0ZkmlGnTwJ8tzcrDhQNUDCuRsOLv9XjhQ0bR4YU dsw+z6JC99nCtXW7hTZBAWnDOA4WdXPOYRtfJWVHquVltkT0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1787375771; x= 1787462171;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765wmtypNYp3s/9spj686Oxbsi6ld78O9s63Pno9qOk8tdQ X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 22 Aug 2026 01:16:09 -0400 (EDT) Date: Sat, 22 Aug 2026 14:16:06 +0900 From: Takashi Sakamoto To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net, nihaal@cse.iitm.ac.in, sreekuttan2156239@gmail.com Subject: [GIT PULL] firewire updates for v7.3 Message-ID: <20260822051606.GA299935@sakamocchi.jp> Mail-Followup-To: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net, nihaal@cse.iitm.ac.in, sreekuttan2156239@gmail.com Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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