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 B49053128B8; Mon, 22 Jun 2026 17:00:33 +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=1782147634; cv=none; b=g/n6YChK5ebP//pr3wCUf4jlzwdS+RK50vNnysDv9Kbp/nvCgL993Qoe0wACXmkhBT8YWPR+BLWkAhM0gQT3gD4DBv/YcqB8lZg7avEmYTmfoUleeX7RspjVTIq8+G7gCx4v91vxApb3m79S5Z2EWlY16+VFzwEpPWXodBoDJUc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782147634; c=relaxed/simple; bh=IqkoMgcgeREILNPbIKm7L3LD9TW3OJGNXAkB2A+fi0U=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=mXMN2xb+3OyPBKwYIcV4OAbDgxsZIDDAAkjifch42KkpRmfK7zNqFOtKbJOZXYP3Zp8D1sf5bGaaPX0OcpCx5IvF1ut35kHL8elcM7A/HeUeOrjwIcQNSuV4dJsijrDjSmSyjSPFcfVaai6Ugd8PQBbHSLVdzb9YFih725+6Ti0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MO9PtXcQ; 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="MO9PtXcQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86EFE1F000E9; Mon, 22 Jun 2026 17:00:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782147633; bh=gOmsdrZ/P9GZlmEErjlsWII1Z7KRp/LI0HYKQuwSe6w=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=MO9PtXcQv/d3qkOc2gpa39KGSKHA7QPncfraSUte6EMxovgXljk5CO7JqnsiVnSIj 4td9oq0sXfBi5gWwNW5ZFMVbmKNg+4ftVxwA2sAmyzq8KlTGhQwD3WKrXXGyYPlgXy GULyjGnE77AgzZQbc8ZplN/MEyjRs3/dY8tLaW09VVt1Qk6RSwLwtFKQEv/XfxDWoa u7T+1tdbMzK5Fe4+ObcGWhpgviDZ3lMqATwthlI2Gkk9LEOfCZfJjNZJWvdffcIvmV Qh7ZSnv68Hm0UFMqdLCHZObWsew+S71R7FzH2dCd1oa1VeoYwQMaNmN1fSt1XnEkk4 2cHqsO/a0AZbw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 569673930917; Mon, 22 Jun 2026 17:00:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] Bluetooth: btnxpuart: Fix out-of-bounds firmware read in nxp_recv_fw_req_v3() From: patchwork-bot+bluetooth@kernel.org Message-Id: <178214762399.1322955.7597515099317930743.git-patchwork-notify@kernel.org> Date: Mon, 22 Jun 2026 17:00:23 +0000 References: <178168541269.2821257.9969892285942248117@maoyixie.com> In-Reply-To: <178168541269.2821257.9969892285942248117@maoyixie.com> To: Maoyi Xie Cc: amitkumar.karwar@nxp.com, neeraj.sanjaykale@nxp.com, marcel@holtmann.org, luiz.dentz@gmail.com, ilpo.jarvinen@linux.intel.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Wed, 17 Jun 2026 16:36:52 +0800 you wrote: > During the v3 firmware download the controller sends a v3_data_req with a > 32 bit offset and a 16 bit len. nxp_recv_fw_req_v3() checks only the lower > bound of the offset and then sends firmware from that offset. > > nxpdev->fw_dnld_v3_offset = offset - nxpdev->fw_v3_offset_correction; > serdev_device_write_buf(nxpdev->serdev, nxpdev->fw->data + > nxpdev->fw_dnld_v3_offset, len); > > [...] Here is the summary with links: - [v2] Bluetooth: btnxpuart: Fix out-of-bounds firmware read in nxp_recv_fw_req_v3() https://git.kernel.org/bluetooth/bluetooth-next/c/25c286d75821 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html