Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn <will…@google.com>: 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!