🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13689

[syzbot ci] Re: xfrm: fix IPv6 atomic fragment policy handling

#13689
From: syzbot ci
Date: Tue, 10 Nov 2026 07:21
91 lines
12636 bytes
syzbot ci has tested the following series

[v3] xfrm: fix IPv6 atomic fragment policy handling
https://lore.kernel.org/all/20261106202910.723098-2-Jeremy.Jean@oss.cyber.gouv.fr
* [PATCH net v3 1/2] xfrm: fix IPv6 first-fragment protocol decode
* [PATCH net v3 2/2] xfrm: fix selector matching for IPv6 atomic fragments

and found the following issue:
WARNING in __xfrm_decode_session

Full report is available here:
https://ci.syzbot.org/series/9d92ff08-0b82-4440-b345-9628353f5181

***

WARNING in __xfrm_decode_session

tree:      net
URL:       https://kernel.googlesource.com/pub/scm/linux/kernel/git/netdev/net.git
base:      2d2200551ccc3b9e444aecb59c4b53287e169266
arch:      amd64
compiler:  Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8
config:    https://ci.syzbot.org/builds/fe2ead38-2a3d-497a-9bae-e5da0ee59933/config

------------[ cut here ]------------
len > ((int)(~0U >> 1))
WARNING: ./include/linux/skbuff.h:2856 at __xfrm_decode_session+0xafb/0xed0, CPU#0: syz.0.121/6184
Modules linked in:
CPU: 0 UID: 0 PID: 6184 Comm: syz.0.121 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__xfrm_decode_session+0xafb/0xed0
Code: bf e0 00 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 11 03 00 00 45 8b 37 e9 33 fd ff ff e8 c6 c7 30 f7 90 <0f> 0b 90 e9 8c f7 ff ff 44 89 ef 8b 5c 24 20 89 de e8 bf c9 30 f7
RSP: 0018:ffffc9000e926b60 EFLAGS: 00010283
RAX: ffffffff8a9849aa RBX: 1ffff92001d24d74 RCX: 0000000000080000
RDX: ffffc90006ec1000 RSI: 0000000000000c7f RDI: 0000000000000c80
RBP: ffffc9000e926c90 R08: ffff88816dd8bc00 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000002 R12: ffffc9000e926bc0
R13: 00000000fffffff8 R14: ffff888105f226d8 R15: dffffc0000000000
FS:  00007fc136da96c0(0000) GS:ffff88818be0d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002cc0 CR3: 000000017256e000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 icmpv6_route_lookup+0x44a/0x610
 icmp6_send+0x114c/0x1b50
 icmpv6_param_prob_reason+0x32/0x50
 ipv6_frag_rcv+0x927/0x2b40
 ip6_protocol_deliver_rcu+0xe8c/0x1680
 ip6_input_finish+0x191/0x370
 NF_HOOK+0x336/0x3c0
 ip6_input+0x16a/0x270
 NF_HOOK+0x336/0x3c0
 netif_receive_skb+0x278/0xbf0
 tun_rx_batched+0x1de/0x790
 tun_get_user+0x2b78/0x4470
 tun_chr_write_iter+0x113/0x200
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc135f6974e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fc136da8fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc136da96c0 RCX: 00007fc135f6974e
RDX: 000000000000004a RSI: 0000200000000700 RDI: 00000000000000c8
RBP: 00007fc136037f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc136226038 R14: 00007fc136225fa0 R15: 00007ffcfeaad798
 </TASK>


***

If these findings have caused you to resend the series or submit a
separate fix, please add the following tag to your commit message:
  Tested-by: syzbot@syzkaller.appspotmail.com

---
This report is generated by a bot. It may contain errors.
syzbot ci engineers can be reached at syzkaller@googlegroups.com.

To test a fix for this bug, please reply with `#syz test`
(on a separate line) and attach the patch to the email.

Notes:
- The patch will be applied on top of the tested series (as an
  incremental fix).
- To test a new version of the whole series, please send it directly
  to syzbot@lists.linux.dev.
- Arguments like custom git repos and branches are not supported.
Technical Details
Message-ID: <6af2c60f.5a668245.1aceb6.02ce.GAE@google.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359934-linux-kernel-netdev=dewy.ru
References: <20261106202910.723098-2-Jeremy.Jean@oss.cyber.gouv.fr>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359934-linux-kernel-netdev=dewy.ru
From: syzbot+ci38d3d40fc327a9e2@syzkaller.appspotmail.com (syzbot ci)
Newsgroups: linux.kernel.netdev
Subject: [syzbot ci] Re: xfrm: fix IPv6 atomic fragment policy handling
Date: Mon, 09 Nov 2026 23:21:51 -0800
Organization: Usenet Network
Message-ID: <6af2c60f.5a668245.1aceb6.02ce.GAE@google.com>
References: <20261106202910.723098-2-Jeremy.Jean@oss.cyber.gouv.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
	logging-data="548227"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:VCRhzn/Afv2UxnqFx/gbBrFcR2Q= sha256:rBAX4RnOeVOQwz5gTNaz8bIBm80S2scbTQQxvVQykYk=
	sha1:RLeE+ma4SiyOXKP3EIWq6vSYvQ0= sha256:eetjzbV4ceRY/lanc3r4hy6tQTTBX7R9rSrP2vFHeaY=
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 95E87113A64; Tue, 10 Nov 2026 10:24:39 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.245
X-Spam-Status: No, score=-0.245 tagged_above=-9999 required=6.31
	tests=[FROM_LOCAL_HEX=0.331, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SORTED_RECIPS=2.474,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
	autolearn=ham autolearn_force=no
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 CzO7x-__2kX9;
	Tue, 10 Nov 2026 10:24:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-359934-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id F41FA113A41; Tue, 10 Nov 2026 10:24:25 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 9155D646B95; Tue, 10 Nov 2026 07:23:04 +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=1794295314;
	b=cbTuQJKalBDdAh28NvO4vxwcJEm1RcqRysCg2lQGGN1oiVmA0GKUaUYEYCLXmraMTWoN
	 w3br6I5ZtgtCo/xsaLtJl7dBXqmUs3VGTSFdVuqIHRMD82XDRhF8qxpL4DE7dUCL8tPcI
	 9eHAg0rGrAoJeZpBofSwC9oyT1HpvpmrfAX01hVo9qDSMogyNiaIyJGKtw/bfEH46saVR
	 vPYRm+7Spw1b6mX7GdRjTKctQy3S902Q9jfD+Xmfd4tKSzv7ilqLlijYTg+Ku6GOh6DyA
	 0aiTTrW1omBk85JmQQF2knRtvWVVk1qUYuCOC1TAyLM+KNYc8DKIBKHomPmELRV6mfw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794295314;
	h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:X-Received:Date:In-Reply-To:
	 X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID:
	 Subject:From:To:Cc:Content-Type;
	bh=BZAybHKPrp5cabZgbPg7Wb9TVLxchkkoh8bos8p+zE4=;
	b=gy6OTYyEvHALKRjOEKnxUyFOXNM4vK2KxoCcdTt3zbJ/0Rm/76tHC0hbQI57D4Lo+jgr
	 FcMTBefx5nQ4lpGQbF+AC3kXz5/bZvHz0L20N2m/Z/09Qb1aE4cNkIRsy1W2Vc4HOzyql
	 JioEsJLREfGwjKR1z0Y4SL0FEJKhj6NaKOP9u734eFwXFfzoN2cPluid5awgSHKsyXwQT
	 Fd2iH0lLVCY/pjspD9fuP3bgQ0GJ3JAdrPugRYEcOg1mwanb6DS5XhRZ+a54/uINBn2pB
	 yUuGtTUkwA21h5OOP6xf7rowejdkh60LD69bNn8XwSclYnGGSrG+M5eCsmcfBtH8c2w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=fail header.from=syzkaller.appspotmail.com;
	spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
	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 EA4E7606A33B;
	Tue, 10 Nov 2026 07:21:53 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.199
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794295313;
	b=Ctk1AnyO6AeaVxpg0fnZ+BVRZ2J6vuNipyPZLQcrTgGIRQO4XTy1EOVYc5/jfFKMTYyr
	 XANTGClyCgiFLzIFS+t3l5fmHBEYwEP4mHCRumL8nLOF9EXUqrsLu2PV/Yk7zlIJN0WBH
	 pc9nvm42T01lS4D+QrvSklDYNaqHZRIHAOEgpM8rgTJKlY4i1HdTkWLo5+ALzIGsi9xPD
	 PPEcSCe+B67GjYb68C9IQ5rZVBSs13OxlU+6zijiWnS4OkBs/udYqJCHBgK0XWvmckl6X
	 9PzhW9h8sq0VxLR0HJkeYJGVKLcL+Dj0qrN48d/BjtunNf2GfcljCXBJ0DZ5EQZ3LSw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794295313;
	h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
	 X-Gm-Message-State:MIME-Version:X-Received:Date:In-Reply-To:
	 X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID:
	 Subject:From:To:Cc:Content-Type;
	bh=BZAybHKPrp5cabZgbPg7Wb9TVLxchkkoh8bos8p+zE4=;
	b=EilIv96SD4FBTeHHNTX0thUyJ4KK3xV5TGWuyZ7+cuXaMQMA/SU10XnPnT157nkA1GbN
	 4w3fQyGXsXSXPK+ZxsTgVtrD/z9umCLLt85i3dfqGC0uTzzfgEkaizt5ZqXJKl6VCqR5m
	 kNpUK7bvGLNAXdoKPval+Siqj4ziA+3J7HQ4JJRqhQWVY4DdkTQ4aK5U5oRGuK+2eMMF9
	 KEn9dBZ72Me6QoOPEjvMUORjyizqbvr12WnixqFW7m3qWDjs8hijavpCc6lDieQL33TSS
	 KQ8ohEqmbtl00o+EpMmaWFA1N1KidWmgudHI72LNzgJKs0NR7cWiQRwW11/23YDYakw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=fail header.from=syzkaller.appspotmail.com;
	spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
	arc=none smtp.remote-ip=209.85.167.199
X-Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0845E606A879
	for <netdev@vger.kernel.org>; Tue, 10 Nov 2026 07:21:52 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0845E606A879
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com
X-Received: by mail-oi1-f199.google.com with SMTP id 5614622812f47-5682eb98dafso1852764b6e.0
        for <netdev@vger.kernel.org>; Mon, 09 Nov 2026 23:21:52 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1794295312; x=1794900112;
        h=content-type:cc:to:from:subject:message-id:in-reply-to:date
         :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to:content-type;
        bh=BZAybHKPrp5cabZgbPg7Wb9TVLxchkkoh8bos8p+zE4=;
        b=mJ+q67tjF9lvJyehn/wta6gIj0ZZJ+JlFbJKsVl9c2uiIvqycmOsBOeKkeeowlkuSB
         Rq1B/CREHeY6i6a4T+7VqseungEbo9xilVPeDYdR/5Yq2gOx22aTGtscpAPy7fsYMNu+
         A+kAUOS9G0tRmAll+LoQsNgQoH2cJgv0hM4Z6Js05S4B2RJLIKfsmmW2mJquCw9E1M36
         vtgyn7z0Bf1ysWbatutQ6/buK7+KdzrbtckF6Xx5TQ9tQE4LYm1x1ckkzCJShZhNJ4+9
         8WPmDTiWH4dFm1lD3NpZh54/XZ/annMODMO29gnnQm72LCR4jr+jr56RSCUkt++izZXO
         wuag==
X-Forwarded-Encrypted: i=1; AL+hErFwohYLD++yjx5fxrOjfqVuhU8a+AA2AFFZxNKwTTOY7aVcxY7QfMZ8i5eCuZyZE9nZCtD31vY=@vger.kernel.org
X-Gm-Message-State: APuU4Z8sh8QUC9lJhaOVB398H1BEypYvhKfHr+/THCmSvWJVziIxDa6d
	twdsdXJQUzJroezNM3upSMg9JNrJEHcEtlmQ7J8ll5wEXRO0WaiioxHf2YuwqRIJ/ILSHB/5F9X
	J5m4JQsKmzwjYE0qZai6wxdRuoGReFSY8kGJKyPELU3Elg8y3yn3XAn5m0bI=
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-Received: by 2002:a05:6808:15a6:b0:540:5827:6d8c with SMTP id
 5614622812f47-5683cacf790mr1530702b6e.57.1794295311977; Mon, 09 Nov 2026
 23:21:51 -0800 (PST)
X-In-Reply-To: <20261106202910.723098-2-Jeremy.Jean@oss.cyber.gouv.fr>
X-Google-Appengine-App-Id: s~syzkaller
X-Google-Appengine-App-Id-Alias: syzkaller
X-Cc: syzbot@lists.linux.dev, syzkaller-bugs@googlegroups.com