๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17666

Re: [PATCH net v2] xfrm: do not write the ethernet header when the mac header is unset

#17666
From: Eric Dumazet
Date: Tue, 17 Nov 2026 08:13
280 lines
20601 bytes
Le mar. 17 nov. 2026 ร  07:21, Piyus Kedia <piyus@iiitd.ac.in> a รฉcrit :
>
> xfrm4_remove_tunnel_encap() and xfrm6_remove_tunnel_encap() restore the
> mac header after removing the tunnel header and then stamp the protocol
> into it:
>
>         skb_reset_network_header(skb);
>         skb_mac_header_rebuild(skb);
>         if (skb->mac_len)
>                 eth_hdr(skb)->h_proto = skb->protocol;
>
> skb_mac_header_rebuild() does nothing at all when the mac header was
> never set:
>
>         static inline void skb_mac_header_rebuild(struct sk_buff *skb)
>         {
>                 if (skb_mac_header_was_set(skb)) {
>                         ...
>                 }
>         }
>
> and it does not clear skb->mac_len either, so on an skb whose mac header
> has been unset while mac_len stayed behind, the guard is true and the
> store goes through an unset header.  skb_mac_header() is
> skb->head + skb->mac_header and the unset value of that u16 is 0xffff,
> so eth_hdr(skb)->h_proto is 65535 + offsetof(struct ethhdr, h_proto)
> bytes past skb->head: a two-byte out-of-bounds write landing far outside
> the skb, in whatever object happens to be there.
>
> skb_unset_mac_header() leaves skb->mac_len alone, and of its callers only
> skb_carve_reset_headers() clears mac_len by hand.  end_dt_vrf_rcv()
> (SRv6 End.DT4/End.DT6) unsets the mac header on the receive path so the
> VRF device can rebuild it, and leaves mac_len at the value the original
> ethernet frame had, which is how an skb in this state reaches xfrm input:
>
>   tun_get_user -> netif_receive_skb -> lwtunnel_input
>     -> seg6_local_input_core -> End.DT4 -> end_dt_vrf_rcv
>     -> skb_unset_mac_header (mac_len stays 14)
>     -> VRF l3_rcv -> ip_local_deliver_finish -> xfrm4_esp_rcv
>     -> xfrm_input -> xfrm4_remove_tunnel_encap
>
>   BUG: KASAN: slab-out-of-bounds in xfrm4_remove_tunnel_encap+0x17d/0x220
>        net/xfrm/xfrm_input.c:258
>   Write of size 2 at addr ffff88805f85800b by task syz-executor/10831
>   ...
>   The buggy address belongs to the object at ffff88805f858000
>    which belongs to the cache zswap_entry of size 56
>
> The address does not depend on mac_len - it is always
> skb->head + 0xffff + offsetof(struct ethhdr, h_proto), since the unset
> sentinel is what mac_header holds - and mac_len only decides whether the
> write happens.  The value is skb->protocol.  It is two bytes at a fixed
> 64KB offset, crossing into an unrelated slab cache.
>
> A THIRD SITE HAS THE SAME THREE LINES, in __input_process_payload()
> (net/xfrm/xfrm_iptfs.c), reached when an IPTFS payload is decapsulated:
>
>         skb->protocol = protocol;
>         skb_mac_header_rebuild(skb);
>         if (skb->mac_len)
>                 eth_hdr(skb)->h_proto = skb->protocol;
>
> and it has its own KASAN report, a use-after-free rather than an
> out-of-bounds, for the reason given below.
>
> That function already knows the test is needed.  Its other mac-header path
> is guarded by old_mac, which it computes at the top as
>
>         old_mac = skb_mac_header_was_set(skb) ? skb_mac_header(skb) : NULL;
>
> and only rebuilds the header when that is non-NULL.  The site above omits
> the same check.
>
> WHY THE THREE REPORTS CARRY DIFFERENT TITLES, which is worth stating so
> they are not read as three defects.  The address written is a fixed
> skb->head + 0xffff + offsetof(struct ethhdr, h_proto), so what it lands in
> is whatever the allocator placed 16 pages past the skb: a live object gives
> slab-out-of-bounds, a freed one or a page back on the buddy free list gives
> use-after-free, and a different LIVE object gives nothing at all, since
> generic KASAN only tests whether the target address is poisoned.  Across
> six boots of one reproducer the write executed in five and KASAN reported
> it in one.  On a kernel without KASAN it is always silent.
>
> Only write the ethernet header when there is one.  This mirrors what
> xfrm4_transport_input() already does, where the header length is taken as
> skb_mac_header_was_set(skb) ? skb_mac_header_len(skb) : 0, and what
> __input_process_payload() already does for old_mac, and it leaves the
> behaviour of every well-formed skb unchanged.
>
> Link: https://lore.kernel.org/r/20261116174531.2540348-2-piyus@iiitd.ac.in
> Signed-off-by: Kapil Vaswani <kapil@presceralabs.ai>
> Signed-off-by: Piyus Kedia <piyus@iiitd.ac.in>
> ---
>
> v2:
>   - guard the third site, net/xfrm/xfrm_iptfs.c in __input_process_payload().
>     It has the same three lines and its own KASAN report, a use-after-free,
>     and v1 left it alone - which would have closed two write sites of the
>     three while leaving a confirmed one live.
>   - say why the three reports carry different titles (slab-out-of-bounds,
>     use-after-free, use-after-free): the address is fixed relative to
>     skb->head, so the verdict is decided by whatever the allocator put 16
>     pages later, and a live neighbour gives no report at all.
>   - cite __input_process_payload()'s own old_mac computation as the in-tree
>     precedent alongside xfrm4_transport_input()'s.
>
>   No change to the two hunks v1 carried.
>
> Tested at runtime on mainline before and after: both kernels built from
> aebb72744764 ("Linux 7.4-rc3") in one scripted run, x86_64 with
> CONFIG_KASAN_GENERIC, CONFIG_DEBUG_NET, CONFIG_IPV6_SEG6_LWTUNNEL and
> CONFIG_NET_VRF. Six boots each, injecting after the uptime passed 130s. The
> skb_reset_mac_len() warnings at include/linux/skbuff.h:2995 are the control:
> they fire when the unset-header skb reaches the receive path and this patch
> does not touch that site.
>
>                   skb came through   reached the write   KASAN
>   unpatched         5 of 6 boots       5 of 5             1
>   patched           2 of 6 boots       0 of 2             0
>
> Every unpatched boot in which the skb arrived reached the write; no patched
> boot did, including the two in which the control shows the same skb arriving.
> The one-in-five KASAN rate is the point made in the changelog about the
> verdict depending on the neighbour.
>
> checkpatch reports one thing, the missing Fixes: tag. Neither tree we
> reproduced on carries history for these files, so we could not determine the
> introducing commit; we will add it if you can name it.
>
>  net/xfrm/xfrm_input.c | 4 ++--
>  net/xfrm/xfrm_iptfs.c | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c
> index 5ed87d513..624ff8055 100644
> --- a/net/xfrm/xfrm_input.c
> +++ b/net/xfrm/xfrm_input.c
> @@ -254,7 +254,7 @@ static int xfrm4_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb)
>
>         skb_reset_network_header(skb);
>         skb_mac_header_rebuild(skb);
> -       if (skb->mac_len)
> +       if (skb_mac_header_was_set(skb) && skb->mac_len)
>                 eth_hdr(skb)->h_proto = skb->protocol;
>
>         err = 0;
> @@ -291,7 +291,7 @@ static int xfrm6_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb)
>
>         skb_reset_network_header(skb);
>         skb_mac_header_rebuild(skb);
> -       if (skb->mac_len)
> +       if (skb_mac_header_was_set(skb) && skb->mac_len)
>                 eth_hdr(skb)->h_proto = skb->protocol;
>
>         err = 0;
> diff --git a/net/xfrm/xfrm_iptfs.c b/net/xfrm/xfrm_iptfs.c
> index 0313a43aa..41af72a92 100644
> --- a/net/xfrm/xfrm_iptfs.c
> +++ b/net/xfrm/xfrm_iptfs.c
> @@ -1099,7 +1099,7 @@ static bool __input_process_payload(struct xfrm_state *x, u32 data,
>
>                                 skb->protocol = protocol;
>                                 skb_mac_header_rebuild(skb);
> -                               if (skb->mac_len)
> +                               if (skb_mac_header_was_set(skb) && skb->mac_len)
>                                         eth_hdr(skb)->h_proto = skb->protocol;
>
>                                 /* all pointers could be changed now reset walk */
> --
> 2.34.1

I think you are fixing the wrong layer.

I would have used something more generic.

net: clear skb->mac_len in skb_unset_mac_header()

skb_unset_mac_header() marks the mac header as unset but leaves
skb->mac_len alone, so an skb can end up with no mac header and a
non-zero mac_len. Code that uses mac_len to decide whether a mac
header is present is then misled.

end_dt_vrf_rcv() (SRv6 End.DT4/End.DT6) unsets the mac header of the
decapsulated packet so that the VRF device can rebuild it. The VRF
device only does so when a packet sniffer is attached, so without one
the skb continues up the stack with mac_len == 14. In
xfrm4_remove_tunnel_encap() and xfrm6_remove_tunnel_encap(),
skb_mac_header_rebuild() is a no-op for such an skb, and the following

        if (skb->mac_len)
                eth_hdr(skb)->h_proto = skb->protocol;

writes two bytes at skb->head + 0xffff + offsetof(struct ethhdr, h_proto):

  BUG: KASAN: slab-out-of-bounds in xfrm4_remove_tunnel_encap+0x17d/0x220
  Write of size 2 at addr ffff88805f85800b by task syz-executor/10831
   xfrm4_remove_tunnel_encap
   xfrm_input
   xfrm4_esp_rcv
   ip_protocol_deliver_rcu
   ip_local_deliver_finish
   seg6_local_input_core
   lwtunnel_input
   __netif_receive_skb
   netif_receive_skb
   tun_rx_batched
   tun_get_user

Clear mac_len in skb_unset_mac_header() so that all callers leave the
skb in a consistent state, and remove the now redundant assignment in
skb_carve_reset_headers(). The other callers are on egress paths
(__bpf_redirect_neigh(), bpf_lwt_push_ip_encap()) or only reach the
helper when the mac header was already unset (bpf_update_srh_state()),
and do not read mac_len afterwards.

The issue was reported on the list by Piyus Kedia and Kapil Vaswani,
who found it by fuzzing with AI assistance and reproduced the KASAN
splat on v7.4-rc3. Their reproducer was not published, so this patch
is build tested only.

Fixes: 664d6f86868b ("seg6: add support for the SRv6 End.DT4 behavior")
Reported-by: Piyus Kedia <piyus@iiitd.ac.in>
Reported-by: Kapil Vaswani <kapil@presceralabs.ai>
Closes: https://lore.kernel.org/netdev/20261116174531.2540348-2-piyus@iiitd.ac.in/
Signed-off-by: Eric Dumazet <edumazet@kernel.org>

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 6787fcf6ac3e43fe87fa5f9007b6d99f7aea0b44..9cd8eff0309cc3a646dc49e83a0cea79512cf8f5
100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -3186,6 +3186,7 @@ static inline u32 skb_mac_header_len(const
struct sk_buff *skb)
 static inline void skb_unset_mac_header(struct sk_buff *skb)
 {
        skb->mac_header = (typeof(skb->mac_header))~0U;
+       skb->mac_len = 0;
 }

 static inline void skb_reset_mac_header(struct sk_buff *skb)
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 1ac1e327ac4c6258726efaba346297ccbec7eef4..8fe0938d6131031a33b535fdf60d9eec50041ea4
100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -6984,7 +6984,6 @@ static void skb_carve_reset_headers(struct sk_buff *skb)
        skb_unset_mac_header(skb);
        skb_unset_transport_header(skb);
        skb_reset_network_header(skb);
-       skb->mac_len = 0;

        /* Inner offsets have no "unset" marker, zero them so that
         * skb_inner_network_header_was_set() becomes false and no
Technical Details
Message-ID: <CAL4Wiipye9XojWhp2-XqPC0kABk3LsTmE8Z0D779+GJT_A7N8g@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365024-linux-kernel-netdev=dewy.ru
References: <20261117062046.3286096-1-piyus@iiitd.ac.in>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365024-linux-kernel-netdev=dewy.ru
From: edumazet@kernel.org (Eric Dumazet)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] xfrm: do not write the ethernet header when the
 mac header is unset
Date: Tue, 17 Nov 2026 09:13:17 +0100
Organization: Usenet Network
Message-ID: <CAL4Wiipye9XojWhp2-XqPC0kABk3LsTmE8Z0D779+GJT_A7N8g@mail.gmail.com>
References: <20261117062046.3286096-1-piyus@iiitd.ac.in>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2274052"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:5SUolmbDY8kSXSQD3SvSuz6a07w= sha256:5RZAXP9/FuQeNG+LxZu+zPakk/Pk2WWskqrcCL+M2Rc=
	sha1:v60DNWjwJ53xNnMaNYXOV9lwmuc= sha256:o4R90ys8cmY41qLYcR/PD8Er0u2i308ZV6wzkTyWLzQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 568FB114E7A; Tue, 17 Nov 2026 11:14:00 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id FSfjEFjlKWkx;
	Tue, 17 Nov 2026 11:13:50 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365024-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id A2B94114E77; Tue, 17 Nov 2026 11:13:41 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 184B92F9B9; Tue, 17 Nov 2026 08:13:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794903217;
	b=o6+RJuPygpTzdT4whASKrAll/Vv3YU/PaGE+78SlvzXlzNSqsRBhCuA1AWPQ4KyWfPf5
	 /ARR5zC1qg41P4yb0tEye5byFdgFprNUnOfhs4d6ZbtbVh4gxTcrfm/ugdQqs/tF3r0Ln
	 XXvYD33EOneQJ0JwWICtzxvphZUH8ZDsyl0oCAg7A512yaG8fJUYYIciKsT5fy8a35UeB
	 mIXZPatOTN+1FiFC8A2FZQu5af5mzzC9O9hyM1ODCdRqprz2gkDT67Xt4kUttcwUhRhUI
	 hqHlzPeogEHVQecwd/3tvgi2qbynAy5DZmoHROIDbG+KlgnxRVqsKeASEoqAFev50WA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794903217;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:MIME-Version:References:In-Reply-To:From:Date:
	 X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:Subject:To:Cc:
	 Content-Type:Content-Transfer-Encoding;
	bh=lQB+J2MUxsbHmUdcUU+hTdyQoDrzF8koleThUVktVJQ=;
	b=gsDO89Pq47jRAI0tlYkki/aHCLSzw8dMaSJYkSfgsK0MVDCNl7kVMq+R3P5RYS/Z+EVq
	 ChC6+7RoMCVx+sFNvj9fGOh/rZ4lI2igh7UNfk+cAUS3hz8USYWCAZZDlr4PQRVdKB82B
	 H26aWusYzMgOCwsvgwbdxZ55GG1et/7RcGzUPnuTQyV6VT9r3KNg7/ItDe+2cnBMh6CDx
	 bfoXvCSSCeaJiBUxMC3Oo42FoXHFsaoumprhMsFHL5GA/987tIRPCwrIvCT7TiXVAk+Zm
	 IVmjlqYtrGvs7BGhdCF5EWI1bxKIrMWnFMW8ZhenF3Qnbej0z0bWlxY94/GuYAerk3A==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ep02Zq46;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 764DC606A336;
	Tue, 17 Nov 2026 08:13:37 +0000 (UTC)
X-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=ep02Zq46
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794903209;
	b=Yt0Jt7+pb03+3Gbik37NxgbpoXray5xLFL9+Y94lQwGRMFSoYvEHqgIEr/4QYtkkpj5j
	 rTQss1ztl6XerDukH4qN9jadqun/JN5ZmyPl3qU8VYnHkcJUyty04ctvwpRkVID+/s0G+
	 hMAQP4Pw14jDWdMSAlLDRYdkpaIFM0xLwQaK2DGj6xw1j9ncNz8AM7jR3bBt6ogr1R2V7
	 LYRiqevf2RYLTKRenI5KX2qVWhdKkc/6QMoCnlhendBkekMKiZsPIjJIU8PeKRX5NnUGa
	 LMGyUD7rA6rMHtMWUvChiM4U4iKRfHugowKu7GccGevPa9+z4VZuOuJVhj2SzDmMrUQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794903209;
	h=Received:DKIM-Signature:Received:X-Forwarded-Encrypted:
	 X-Gm-Message-State:X-Received:MIME-Version:References:In-Reply-To:
	 From:Date:X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:
	 Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
	bh=lQB+J2MUxsbHmUdcUU+hTdyQoDrzF8koleThUVktVJQ=;
	b=tgBDEDu890RzSBrC9xpTgJU3Ww398HY/MAxf1SCXlxKyCSE1bRpHqCnyyhzkFWT+6YDW
	 aD666JnFlw65QoAB2yOc9QHyPt3jyyM0fGARKLgLvI40aa7Hnn5EI5IpRD6pwo7FUtb5+
	 +Y3K9j3dT/S1crYX/E9ag8GYoy+hh7bML0/K+ElOa/guvwqmxiGbdBsSwwJD1qKSSKMrX
	 menKwV46pKojFv3ciMQZ/jWHvVs3EDaULTO6/R4+Rmnl4LL9hPeXYsKyxHVJ8iR7Q+NxS
	 5rxdTfUD0ZUIgHpOndXAgD516mDiaWSfEwQlxK7nS8ojejbzIwT7lPma0OMN+FWNq9Q==
X-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=ep02Zq46;
	arc=none smtp.remote-ip=100.103.45.18
X-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 573EF606A32A
	for <netdev@vger.kernel.org>; Tue, 17 Nov 2026 08:13:29 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id E89251F000CA
	for <netdev@vger.kernel.org>; Tue, 17 Nov 2026 08:13:28 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794903208;
	bh=lQB+J2MUxsbHmUdcUU+hTdyQoDrzF8koleThUVktVJQ=;
	h=References:In-Reply-To:From:Date:Subject:To:Cc;
	b=ep02Zq46oe1QP3hyX1miQVevb6ZFN07ZZtHFc93foY3OwxfH+j+JzrsAsALfslr0t
	 aO9ciij34q/wGL23yHFZjgZ99qB+q3NspvqDx5KISJka/2fATKBemv6pkf9bSXPKZa
	 kvrjvK9XWmFms6qOHzj49SBtusNDFjRrFM+Czrak3aRSAmFbegOUq5Pa6VwsZOlz4/
	 Y1k5VIL4QPLYcGLqi6PhUSq3y6sq+hdeE/0U84bRVQnss0FB8Z7u9oXko2yhNmkCpH
	 7Yg9+FgVwQuSxeb6YOftapAE0JqNSbsNtidFVYtnhMrV2d8SVr4/Yhixuc/NOg7YeH
	 EPIJqQLE3PLFw==
X-Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-6b8e2d8df4fso3549039eaf.1
        for <netdev@vger.kernel.org>; Tue, 17 Nov 2026 00:13:28 -0800 (PST)
X-Forwarded-Encrypted: i=1; AL+hErFDO7309nK/tTlGBR6Pr6XUJ6/ZDIfuWpmDSRVOiUxL7WmztX/QAcZbIxXOaOQqanvfQDocEMI=@vger.kernel.org
X-Gm-Message-State: APuU4Z8fZUWlf7jHhFi3D9E4Z4GUeII1ps2cONf26vxG8bt1w59DUscm
	E/MYuWJUrPI259BHmLy+gsAW0MS5YPtob6CZqgYP36diBY+k5gArvwtr5/+sCVJrHMZblF6QHMn
	TseKKM9Zm8Wwf5yXAglaweyVj8ZjJw/A=
X-Received: by 2002:a05:6820:1353:b0:719:1ad8:a34a with SMTP id
 006d021491bc7-71ab51ad506mr8341496eaf.67.1794903208187; Tue, 17 Nov 2026
 00:13:28 -0800 (PST)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261117062046.3286096-1-piyus@iiitd.ac.in>
X-Gmail-Original-Message-ID: <CAL4Wiipye9XojWhp2-XqPC0kABk3LsTmE8Z0D779+GJT_A7N8g@mail.gmail.com>
X-Gm-Features: AclHuK-dyHZK5hz8I9a-NFKGKXmwEhICv0yQRNbmz34FLDe8dksam2yG5mccZtE
X-Cc: Steffen Klassert <steffen.klassert@secunet.com>, Herbert Xu <herbert@gondor.apana.org.au>, 
	"David S . Miller" <davem@davemloft.net>, Andrea Mayer <andrea.mayer@uniroma2.it>, 
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, 
	netdev@vger.kernel.org, ipsec@lists.linux.dev, linux-kernel@vger.kernel.org, 
	Kapil Vaswani <kapil@presceralabs.ai>