Article View: linux.kernel.netdev
Article #18628[syzbot] [net?] WARNING in xfrmi_xmit
From: syzbot
Date: Wed, 18 Nov 2026 16:14
Date: Wed, 18 Nov 2026 16:14
109 lines
14461 bytes
14461 bytes
Hello, syzbot found the following issue on: HEAD commit: 666539eecdf4 Merge tag 'assoc-array-fixes-v2' git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=170dce4d580000 kernel config: https://syzkaller.appspot.com/x/.config?x=3cc6a7ee2d24d208 dashboard link: https://syzkaller.appspot.com/bug?extid=d29af9ef5c96a3f5e96c compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=105b5755580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10136803580000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-666539ee.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/57b04345f38e/vmlinux-666539ee.xz kernel image: https://storage.googleapis.com/syzbot-assets/127bf2b14452/bzImage-666539ee.xz AI-generated root cause summary: In AF_XDP generic transmit, xsk_build_skb() and xsk_build_skb_zerocopy() allocate an sk_buff and advance skb->data using skb_reserve(skb, hr) without subsequently resetting the network header via skb_reset_network_header(). Because skb->network_header remains 0 (relative to skb->head), skb_network_offset(skb) returns a negative value equal to -hr (e.g. -64). When transmitting over devices whose ndo_start_xmit checks pskb_inet_may_pull() (such as xfrm interfaces), this negative offset is converted to a large unsigned integer when added to the network header length (0xffffffc0 > INT_MAX), triggering a DEBUG_NET_WARN_ON_ONCE assertion in pskb_may_pull_reason(). full analysis: https://syzkaller.appspot.com/x/ai_root_cause?x=d29af9ef5c96a3f5e96c IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+d29af9ef5c96a3f5e96c@syzkaller.appspotmail.com ------------[ cut here ]------------ len > ((int)(~0U >> 1)) WARNING: ./include/linux/skbuff.h:2856 at pskb_may_pull_reason include/linux/skbuff.h:2856 [inline], CPU#0: syz.0.17/5560 WARNING: ./include/linux/skbuff.h:2856 at pskb_network_may_pull_reason include/linux/skbuff.h:3286 [inline], CPU#0: syz.0.17/5560 WARNING: ./include/linux/skbuff.h:2856 at pskb_inet_may_pull_reason include/net/ip_tunnels.h:483 [inline], CPU#0: syz.0.17/5560 WARNING: ./include/linux/skbuff.h:2856 at pskb_inet_may_pull include/net/ip_tunnels.h:488 [inline], CPU#0: syz.0.17/5560 WARNING: ./include/linux/skbuff.h:2856 at xfrmi_xmit+0x1844/0x1eb0 net/xfrm/xfrm_interface_core.c:534, CPU#0: syz.0.17/5560 Modules linked in: CPU: 0 UID: 0 PID: 5560 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:pskb_may_pull_reason include/linux/skbuff.h:2856 [inline] RIP: 0010:pskb_network_may_pull_reason include/linux/skbuff.h:3286 [inline] RIP: 0010:pskb_inet_may_pull_reason include/net/ip_tunnels.h:483 [inline] RIP: 0010:pskb_inet_may_pull include/net/ip_tunnels.h:488 [inline] RIP: 0010:xfrmi_xmit+0x1844/0x1eb0 net/xfrm/xfrm_interface_core.c:534 Code: db e9 ef fd ff ff e8 bb 47 23 f7 49 8d b4 24 20 01 00 00 48 c7 c7 80 9b 54 8d e8 77 d2 81 f6 e9 c8 f8 ff ff e8 9d 47 23 f7 90 <0f> 0b 90 e9 38 ea ff ff 89 df 44 89 ee e8 9a 49 23 f7 44 39 eb 0f RSP: 0018:ffffc90001be7300 EFLAGS: 00010293 RAX: ffffffff8aa5f033 RBX: 00000000ffffffc0 RCX: ffff88803050a580 RDX: 0000000000000000 RSI: 00000000ffffffc0 RDI: 0000000000000000 RBP: ffffc90001be7490 R08: ffffc90001be7417 R09: 0000000000000000 R10: ffffc90001be73c0 R11: fffff5200037ce83 R12: 0000000000000000 R13: 1ffff9200037ce74 R14: ffff8880136f5358 R15: ffff8880136f5280 FS: 00005555787d1500(0000) GS:ffff88808a9f1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001f9fc000 CR4: 0000000000352ef0 Call Trace: <TASK> __netdev_start_xmit include/linux/netdevice.h:5457 [inline] netdev_start_xmit include/linux/netdevice.h:5466 [inline] __dev_direct_xmit+0x4b6/0x730 net/core/dev.c:5164 __xsk_generic_xmit net/xdp/xsk.c:1288 [inline] xsk_generic_xmit+0x27d8/0x47a0 net/xdp/xsk.c:1344 xsk_poll+0x326/0x670 net/xdp/xsk.c:1472 sock_poll+0x341/0x460 net/socket.c:1517 vfs_poll include/linux/poll.h:82 [inline] do_pollfd fs/select.c:877 [inline] do_poll fs/select.c:920 [inline] do_sys_poll+0x98f/0x1150 fs/select.c:1015 __do_sys_ppoll fs/select.c:1112 [inline] __se_sys_ppoll+0x209/0x2b0 fs/select.c:1092 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa010ba94d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff5b713048 EFLAGS: 00000246 ORIG_RAX: 000000000000010f RAX: ffffffffffffffda RBX: 00007fa010e25fa0 RCX: 00007fa010ba94d9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000200000000800 RBP: 00007fa010c38136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa010e25fac R14: 00007fa010e25fa0 R15: 00007fa010e25fa0 </TASK> --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup
Technical Details
Message-ID:
<6afdcf01.ca6cd63e.174a34.0001.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-366268-linux-kernel-netdev=dewy.ruShow 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-366268-linux-kernel-netdev=dewy.ru
From: syzbot+d29af9ef5c96a3f5e96c@syzkaller.appspotmail.com (syzbot)
Newsgroups: linux.kernel.netdev
Subject: [syzbot] [net?] WARNING in xfrmi_xmit
Date: Wed, 18 Nov 2026 08:14:57 -0800
Organization: Usenet Network
Message-ID: <6afdcf01.ca6cd63e.174a34.0001.GAE@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
logging-data="2637950"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:DAzonEpXFFRb9SyKH4Dz1qtutWY= sha256:329FMPBcIAY84BmGH+bupUXbi+JtYDdyj4wSb+wLA10=
sha1:4K8CdPPafSPKN0Typ5+8QDzCdNA= sha256:YqsI42l0F4wgbBwxbyBrC7OqamucKNDLWv64LBbR43c=
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 42D94115320; Wed, 18 Nov 2026 19:15:09 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.246
X-Spam-Status: No, score=-0.246 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] 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 kK93Gb3VVN3G;
Wed, 18 Nov 2026 19:15:05 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-366268-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 10412115317; Wed, 18 Nov 2026 19:15:00 +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 02AD061C717; Wed, 18 Nov 2026 16:15:00 +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=1795018499;
b=LgloGrvCv266dCKwRMcU51tH8SGpaFJy0lHNjGS/Ef5uw/alpJtMdp7sZHw9bg8YwhRH
yh8YPMSKjtYYzgA1gFdriIe4xAGuJPGzc5IVUNYb91BafnWowjbPTC7TceGaUzJ/zLaX6
sCHM8fxWigOJ18LA8gqqD2Zkuaqj+mq4HyYTerKZxGQtFrm7TdNM/c4XOTKHbkPNUO+n+
4IJ/QjkweVPGq1m3znWUKLU7XaUoAnczFeeI8T2IuSIML/2jvjSIrzgGAxs+sAK8lrZ6v
xSfdPDGlPDrSazMZn1iNYcC81Lj5siZFk2K9V8iju6jG9coyW3IhM8C7NS0TWyO9HZQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795018499;
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:X-Google-Appengine-App-Id:
X-Google-Appengine-App-Id-Alias:Message-ID:Subject:From:To:
Content-Type;
bh=aO88IJ7z5BBCK3aO82ObI6LwPt3VLY3xqkcUcJTRk4E=;
b=IzbOzkHCFDrQ65ft2lXbSbN4UiSScgIKRLzxuca2nP0PkyKxYb+avvGzCwagfhIuq0H2
UmN0I/hHzD91UUGURgfpbG4hej0IQYOjEIVJJlP1RqKmwJnErenY3sBv0oJLsVYfSioMD
WAamQ9ATYBbDe2rvyOrL/uAii1/M/dj989hqY+V6N1L+ufEL9wlAENEHJ3NrVK0dnJFYB
m5xi5BuHwnK0VhQdP6owIjiuUK1pSLtMkLB1B5sdsJk5FSjC/+esId2XW+XBngTNU8LR2
MqDGhPOOnFk76dU7v0LQDtxP0eIsGcfMTDJ1HCAJ+6A12pq2/74oXFnvW04KA475ang==
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 48BF1606A337;
Wed, 18 Nov 2026 16:14:59 +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=1795018498;
b=zVgWHWr7ab7QqohmMVFyKuA0sqn1MIrBkFtkT2tGfwuydp8THkSoom3GH1/oUga8qGeh
PUoc0apgXr8A8poRTEEXcXtRLRGwvdJfBYCBwbzRw0f63QXpH0hgU6u5wvRvqeCJTS50b
QmFmOE2VxBC5jQRcnOIE6FQLRUK5cjBaS85V4kyGdyeNDS1ariR1x0Ol0sv6k2GD+joU3
hBXuBGE2DU1yjuTsDa9IuZPWKtJTS/9RuLGp4UX8RtGO2zewyTGguZbbCNsvDtHcOjkIn
zIlgen+JoSZpQ6l2HFyGiQhdh/X2SNnzKGKE3fJBl1j8xjd8eL4sE36ZBF4BI+g+cOw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795018498;
h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:MIME-Version:X-Received:Date:
X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID:
Subject:From:To:Content-Type;
bh=aO88IJ7z5BBCK3aO82ObI6LwPt3VLY3xqkcUcJTRk4E=;
b=Yr3nRXCslhGDxRd3UnmgtPgIV4GcO7FjcVKQbadK09jqvamo3tj6OHAbkYfiV1T2TfLt
dVQbHKVQqJJDV8oFa1CaIMgRMfOqC5NUqgfAFctVVMaqJc04TNl9MnrQtiDfnyHSMHLO2
gdGc8lZBB5fX1sEOzPylDd7ZS1nZfVlqJJH8wNXulABOgC72o1s1Sr2au8+sfjX0KyFC3
U7lxooPOoPrJZbe5eS+RanhzvPywqu0rJCNkNK8FIDoqfixkUeMEuZ65+fDdzdI/FzvRC
lQgyVTjNZlLzOeawF1YROlE5oWL4tuPuHU/gp+ElJVUVhfxfasj591xG3wNsQdmrCyA==
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 3DDD8606A31C
for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 16:14:58 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3DDD8606A31C
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-54dbbf252cdso1272710b6e.2
for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 08:14:58 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795018497; x=1795623297;
h=content-type:to:from:subject:message-id:date:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=aO88IJ7z5BBCK3aO82ObI6LwPt3VLY3xqkcUcJTRk4E=;
b=rd5v7HQUr+KqHsY2cammISXUjH4cTjdL9xUSWtx0gx3++33bZ45akpr9nKqxJudXPj
MDXhlEWrH8PT6MJsP3V6yK+P9e80FPaoBlOwP78D5/2ZV+iL0HLpRDtElQc9+LZJgNSU
+hI2yW42LI78QY7nIVoFFaYojpmv8lWTQBguctySrEXVkR7jF0FRGBv2KkfNMIo6dtSp
eCqrOghYlyXeSNMh9p30mb7NaRnXunuijKrRiqCjA1CVbeBBNES8EgwkZXld2KCwzWtU
d7+vUeGwafGX5uNZnbA+pYtqmORdYK0Ql4YoP/uf7V/rKCDT+Dh6vig1oskeUThrqGx7
kd3g==
X-Forwarded-Encrypted: i=1; AL+hErEvVuU34QvC626KB4oeY2E+lUxEYm4ZaW8dBywEHmp3sD1MXUEnYk7Dvz1nJ9Ht25g5KoYyTSA=@vger.kernel.org
X-Gm-Message-State: APuU4Z8Ry7N5TJdNzNx2TfJ9F2jlsO5p051U3GGW+LpqYIUNxKdqchpR
Tgo9yS0iLM/5UncPglypl9P/tWCu6DJBgPA5df+OVKXyB24b+qsvT0I4mQdobLEazA+tGMTRydg
2TyQsnrvgONva5nzpGHTdZfs6IHTGYT5TpJhKqCO9rJFHHm51EBy6iljaUqc=
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:198d:b0:4d6:9283:1df2 with SMTP id
5614622812f47-5773e055ebfmr4168074b6e.61.1795018497186; Wed, 18 Nov 2026
08:14:57 -0800 (PST)
X-Google-Appengine-App-Id: s~syzkaller
X-Google-Appengine-App-Id-Alias: syzkaller