From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 C60243E8325; Tue, 30 Jun 2026 09:27:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782811662; cv=none; b=dM9kIkig5OWb6YpYl8UlDoXPwujCnTft3aUv99lRP72hiLDuunS9htldUFprQA/0FjLIGS2Afh/Ah9qSzTjFEKQ4WLLPp3plFiX2I9gQs4ee8QY3y4wQlRmqbRo0rIazqkMOdYscOjQG2TpMAJbtTR+Nab6+uLVo8YrPeRwXtWo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782811662; c=relaxed/simple; bh=BLYQJTRqy9dO94bkthH9kJKo8XqAj2Hb1ATJ6aKrsTg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=t+/jl0Hv0JTSTcZQLar6qMAK/1ahMXwG8R5Vx/TGHResRwNj5m4stSA9iFZ4YU9kRzXvQyaMG2kqg9shoE1dqzLhu/v0SFRkzR8pnTtCyIeAjWHG00HiJ8FJ0r+ROTI+Pjxd0suObPAH/Ojy+WaaJ5+gNaBluRcR0LaQYRAExtY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jEZxTv+l; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jEZxTv+l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B19491F000E9; Tue, 30 Jun 2026 09:27:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782811661; bh=ugwhfcxPpXyb5lcG6xT5ZSDZoRYaKnLUPCCn2ZRHAgo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jEZxTv+lThopYW4B4p4Egdjl9Ff05qgLMXCc7yPPquOYegVualcVPi498yst3PDxP VUo4vKal+BiLimjB2Y/UE4e3fc31PFLI7b8hmuEh4PaAxYEHoLxo2/tdbatniu7UoJ Q+462KE+FhEeIbXL7qak8IUGBwp4ox/Iisn6qKFsWqqWuzEHJIqtNUaBi1OnmwIjol KZVPrXA1hqVCwVlK53/mYeWChGIQCLYc0JgJ/BUzEyCKBUFuOHi655wnZqqfkkg8v+ D+RnHs/mxMeKOCx5MCb64ziMXOeBIVTYpccGsBg2PfU/1N0l9QgQTk8MR3p8ROfB+w Bj3o2I89MP96w== From: Sudeep Holla To: Jens Wiklander , Unnathi Chalicheemala Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, kernel@oss.qualcomm.com, Trilok Soni , Satya Durga Srinivasu Prabhala Subject: Re: [PATCH v2] firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get() Date: Tue, 30 Jun 2026 10:27:34 +0100 Message-ID: <178281163007.1093271.9754656642307066889.b4-ty@b4> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260617-ffa_partition_nullptr_fix-v2-1-bc801b4ce34c@oss.qualcomm.com> References: <20260617-ffa_partition_nullptr_fix-v2-1-bc801b4ce34c@oss.qualcomm.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="utf-8" Content-Transfer-Encoding: 8bit On Wed, 17 Jun 2026 16:35:00 -0700, Unnathi Chalicheemala wrote: > ffa_partition_info_get() passes uuid_str directly to uuid_parse() > without a NULL check. When a caller passes NULL, uuid_parse() -> > __uuid_parse() -> uuid_is_valid() dereferences the pointer, causing > a kernel panic: > > Unable to handle kernel NULL pointer dereference at virtual address > 0000000000000040 > pc : uuid_parse+0x40/0xac > lr : ffa_partition_info_get+0x1c/0x94 [arm_ffa] > > [...] Applied to sudeep.holla/linux (for-next/ffa/fixes), thanks! [1/1] firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get() https://git.kernel.org/sudeep.holla/c/8ae5f8e48366 -- Regards, Sudeep