From: Paolo Abeni <pabeni@redhat.com>
To: Antonio Quartulli <antonio@openvpn.net>, netdev@vger.kernel.org
Cc: Sabrina Dubroca <sd@queasysnail.net>,
Ralf Lici <ralf@mandelbit.com>, Jakub Kicinski <kuba@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>
Subject: Re: [PATCH net 0/7] pull request: fixes for ovpn 2026-11-24
Date: Thu, 3 Dec 2026 12:19:49 +0100 [thread overview]
Message-ID: <187600f7-06dc-41b8-94e2-62b06ce2c528@redhat.com> (raw)
In-Reply-To: <20261125002239.1191542-1-antonio@openvpn.net>
On 11/25/26 01:22, Antonio Quartulli wrote:
> Hi all!
>
> v2 of the ovpn fixes PR, addressing the review on v1.
>
> All patches fix code released since v6.16 and carry Cc: stable. Let me
> know if these should rather go via net-next.
>
> Patches 1-6 fix issues reported by Sashiko and confirmed by code
> inspection; they are not triggered by OpenVPN userspace. Patch 7 fixes
> a selftest crash we hit on musl.
>
> Two of them fix crashes reachable by a CAP_NET_ADMIN user via netlink:
>
> * NULL deref on TX: an IPv6 remote was accepted on an AF_INET UDP
> socket, and ip6_dst_lookup_flow() then dereferences inet6_sk(sk),
> which is NULL. Such remotes are now rejected and the socket family is
> rechecked on TX (patches 3-4).
>
> * Out-of-bounds access: a raw socket with IPPROTO_UDP could be attached
> and used as a struct udp_sock. Only real UDP/TCP sockets are now
> accepted (patch 2).
Patch 1, 5, 6 and 7 are not net-next material at this point of the cycle
(likely regardless of the specific RC number): low impact 'broken since
day-1' changes are targeting net-next (with no CC stable).
Even patch 3 is borderline at this point due to it's size. Any change of
a smaller fix for net only to be reworked later in net-next?
Thanks,
Paolo
prev parent reply other threads:[~2026-12-03 11:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 0:22 [PATCH net 0/7] pull request: fixes for ovpn 2026-11-24 Antonio Quartulli
2026-11-25 0:22 ` [PATCH net 1/7] ovpn: avoid sending UDP packets with source port 0 Antonio Quartulli
2026-11-25 0:28 ` netdev-bot+sinfo
2026-12-01 13:31 ` Antonio Quartulli
2026-11-25 0:22 ` [PATCH net 2/7] ovpn: validate sockets before attaching peer transports Antonio Quartulli
2026-11-25 0:22 ` [PATCH net 3/7] ovpn: reject UDP remotes incompatible with socket family Antonio Quartulli
2026-11-25 0:22 ` [PATCH net 4/7] ovpn: recheck UDP socket family before transmit Antonio Quartulli
2026-11-25 0:22 ` [PATCH net 5/7] ovpn: account TX bytes like RX Antonio Quartulli
2026-11-25 0:22 ` [PATCH net 6/7] ovpn: fix TCP TX accounting for locally dropped packets Antonio Quartulli
2026-11-25 0:22 ` [PATCH net 7/7] selftests: ovpn: avoid calling freeaddrinfo() on NULL Antonio Quartulli
2026-12-03 11:19 ` Paolo Abeni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=187600f7-06dc-41b8-94e2-62b06ce2c528@redhat.com \
--to=pabeni@redhat.com \
--cc=andrew+netdev@lunn.ch \
--cc=antonio@openvpn.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ralf@mandelbit.com \
--cc=sd@queasysnail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox