Re: [PATCH net v6 0/3] net: fix hard_header_len races in packet send paths
| Newsgroups | gmane.linux.kernel.stable,gmane.linux.network |
|---|---|
| Message-ID | <178603502213.1375455.2088843819224139687.git-patchwork-notify@kernel.org> |
Hello: This series was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Wed, 5 Aug 2026 20:57:26 +0800 you wrote: > From: Qihang Tang <[email protected]> > > The packet socket TX paths read dev->hard_header_len independently for > skb allocation and header construction. Concurrent netdevice > reconfiguration (e.g. bonding device type changes) can change this value > in between, leading to mismatched headroom and copy length, and in the > SOCK_RAW case to out-of-bounds writes. > > [...] Here is the summary with links: - [net,v6,1/3] net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header https://git.kernel.org/netdev/net/c/3b9a324e646d - [net,v6,2/3] packet: use consistent hard_header_len in non-ring send paths https://git.kernel.org/netdev/net/c/03390aa32e66 - [net,v6,3/3] packet: use consistent hard_header_len in TX_RING send path https://git.kernel.org/netdev/net/c/21b5953e7494 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html