From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796273412; b=slkSZXaOwVTFvs1B5JPkFAHEUZA0Djv+OTOY/UHg3WtHTB0H6ypm3oT0Zwd/2wUfMwSu bowyvutbwpVp2I9JtL5PbHJVp5JkqfCwrQWQZohnnrii2eVTXPCQb54INkHN5e9Ftr/cD Xv6xUi7KwbxSeeZA2AY2BZkC5wEtGld2coEigvrQUOukqW7QSNXOgswQAufOuXobx+QDu 6t456Ej6KFNtyH8W7Pol7/zdxeKBZH2V9kocxbfQE5NQX4Nzm2qQkxcMMUHTBnK4DFb0d 8AhlJwz/BjztdWGMToKS3OqZG+S1+P1DiTHZL1ZFySonu0s5hXa773PJE3/sIQOA6Nw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796273412; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=FjyrBbtCZFOzsMype/snz3FxSGZGoJiuQPHUQPZcNuc=; b=R8YdbFOHFw7OGmANS+yR0PVuLkB/NIzynyZtQcegj4Wk99XmKV0kivsPcLg0jod3c0dq IC323dRsfHeKk7cxOieq2MsxhgDMUL8gMryxvuMTYd/EP9422CYevgZsVIFreTYhw7rk9 BtnuXk3WiMA2cJF/7UV1AbOAsbH+0MvoKhqrWO9BZRijQpE4aUK4+aGvmdtUvC5rZOurz 6AvMcEhl0u6XpBPZicGJT2VY18f5zVVuemmrNtYn7wye2bMzfsIY7WMFEyo7ZSTZvW5pr QI9bHejjL2LYErV7vLYfP+lFc/90ClQQ9gUlUtHMUCIyF43zT3vqKj1q+iFaSmsMIrA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=H4HKnLeG; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE440606A69B; Thu, 3 Dec 2026 04:50:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=H4HKnLeG Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DE6D1F000C1; Thu, 3 Dec 2026 04:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796273412; bh=FjyrBbtCZFOzsMype/snz3FxSGZGoJiuQPHUQPZcNuc=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=H4HKnLeGAFgJ6WNXvpHsU+nZzRbvI2nybcxjwgdjSJ0gSKmFMWnu97x+zoP+Bkjli Y1gLsoDa81tHda1/FEnpqj63flu9DehuOegIWvK7pQTj34AB/943JRa8YGYMJBf6Pg HagVTXaTKP3Drf7O2xiisAb1wv3yZab2jFxfp9DXYShD89TzQHQXlfEgzQOqRqowm5 olfQl+TnZ2ubqpOxjx9Jl614aObmQ/71Txpe+c6bi+deATk9VGOs6GN0jbDBHQQyAY TbqDF0MzkS63E8Lv9rKPmb+MbSc29x/tBHn3nVGaYOSIlBMBa/p3tMbW3WI91eNoqo dvtHWh0v5f9PQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 717FB3808236; Thu, 3 Dec 2026 04:50:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] tcp: do not BUG on an unreadable urgent byte From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179627341099.2363143.9735533163252622005.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 04:50:10 +0000 References: <20261125124212.4145820-1-graypanda.inzag@gmail.com> In-Reply-To: <20261125124212.4145820-1-graypanda.inzag@gmail.com> To: Junyoung Jang Cc: edumazet@kernel.org, ncardwell@google.com, gwanhyunlee@gmail.com, kuniyu@google.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, almasrymina@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn : On Wed, 25 Nov 2026 21:42:11 +0900 you wrote: > tcp_urg() checks that the urgent byte offset is within skb->len and > then calls skb_copy_bits(). The byte can still lie in an unreadable > Device Memory fragment. In that case skb_copy_bits() returns -EFAULT > and tcp_urg() calls BUG(). > > Mark the byte as TCP_URG_READ when the copy fails. Leaving > TCP_URG_NOTYET pending lets a later segment retry the old urgent > pointer: the unsigned offset can wrap into that segment's TCP header > and return a header byte through MSG_OOB. Clearing urg_data instead > would drop the urgent-byte hole and make ordinary recvmsg() hit > -EFAULT on the unreadable byte. TCP_URG_READ prevents the retry and > lets the receive path skip the hole until copied_seq passes urg_seq. > > [...] Here is the summary with links: - [net] tcp: do not BUG on an unreadable urgent byte https://git.kernel.org/netdev/net/c/7382c17cf306 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html