🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #9149

[syzbot] [netfilter?] WARNING in nf_flow_offload_gc_step

#9149
From: syzbot
Date: Sat, 31 Oct 2026 16:51
92 lines
13340 bytes
Hello,

syzbot found the following issue on:

HEAD commit:    d135ab453a74 Merge tag 'backlight-next-7.4' of git://git.k..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13a51259580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=6f2905533069b0f5
dashboard link: https://syzkaller.appspot.com/bug?extid=e1a88d8b7e4cf6b51d85
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=14020995580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=100c4f0d580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-d135ab45.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6c39e8158fba/vmlinux-d135ab45.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7fb9f97c1f88/bzImage-d135ab45.xz

AI-generated root cause summary:
In the Netfilter flowtable subsystem, nf_flow_table_extend_ct_timeout() only
accounts for IPPROTO_UDP and IPPROTO_TCP when refreshing conntrack timeouts
during garbage collection. However, both tc act_ct and nftables flow offload
support offloading IPPROTO_GRE connections to the flowtable. When the garbage
collector checks an offloaded GRE connection whose timeout has dropped below
min_timeout, the missing case in nf_flow_table_extend_ct_timeout() triggers the
default: WARN_ON_ONCE(1) branch. In a production kernel without panic_on_warn,
the warning does not crash the system and no memory corruption occurs.

full analysis:  https://syzkaller.appspot.com/x/ai_root_cause?x=e1a88d8b7e4cf6b51d85

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e1a88d8b7e4cf6b51d85@syzkaller.appspotmail.com

------------[ cut here ]------------
1
WARNING: net/netfilter/nf_flow_table_core.c:553 at nf_flow_table_extend_ct_timeout net/netfilter/nf_flow_table_core.c:553 [inline], CPU#2: kworker/2:2/1358
WARNING: net/netfilter/nf_flow_table_core.c:553 at nf_flow_offload_gc_step+0xd84/0xf60 net/netfilter/nf_flow_table_core.c:593, CPU#2: kworker/2:2/1358
Modules linked in:
CPU: 2 UID: 0 PID: 1358 Comm: kworker/2:2 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
Workqueue: events_power_efficient nf_flow_offload_work_gc
RIP: 0010:nf_flow_table_extend_ct_timeout net/netfilter/nf_flow_table_core.c:553 [inline]
RIP: 0010:nf_flow_offload_gc_step+0xd84/0xf60 net/netfilter/nf_flow_table_core.c:593
Code: f8 e9 82 fd ff ff 4c 89 f7 e8 28 e1 6a f8 e9 12 fc ff ff 48 c7 c7 80 f2 c0 8f e8 17 e1 6a f8 e9 ae fc ff ff e8 1d cb f1 f7 90 <0f> 0b 90 41 be 01 00 00 00 e9 7d fc ff ff e8 09 cb f1 f7 48 8b 04
RSP: 0018:ffffc9000618fa88 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803e161380 RCX: 0000000000000000
RDX: ffff88802c392580 RSI: ffffffff8a1c51f3 RDI: ffff88802c392580
RBP: ffff88803e161488 R08: 0000000000000001 R09: 0000000000000011
R10: 000000000000002f R11: 0000000000000000 R12: 1ffff92000c31f56
R13: ffff88803818f868 R14: 000000000000002f R15: ffffffff8fc0f280
FS:  0000000000000000(0000) GS:ffff8880d469c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000012000 CR3: 000000002f277000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 nf_flow_table_iterate net/netfilter/nf_flow_table_core.c:459 [inline]
 nf_flow_table_gc_run net/netfilter/nf_flow_table_core.c:616 [inline]
 nf_flow_offload_work_gc+0x11e/0x1e0 net/netfilter/nf_flow_table_core.c:624
 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495
 process_scheduled_works kernel/workqueue.c:3578 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659
 kthread+0x373/0x450 kernel/kthread.c:436
 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </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 syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

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: <6ae61c88.6552420f.2a0efc.0003.GAE@google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354095-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354095-linux-kernel-netdev=dewy.ru
From: syzbot+e1a88d8b7e4cf6b51d85@syzkaller.appspotmail.com (syzbot)
Newsgroups: linux.kernel.netdev
Subject: [syzbot] [netfilter?] WARNING in nf_flow_offload_gc_step
Date: Sat, 31 Oct 2026 09:51:20 -0700
Organization: Usenet Network
Message-ID: <6ae61c88.6552420f.2a0efc.0003.GAE@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
	logging-data="2501709"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:YndNjjcTIXkI3N2IyLH3IA7HgGY= sha256:BymO+wvDFGPbL/z/68BwOACqFwiZyOX1Es8wq0hniEc=
	sha1:bA4ynZQI31xjXZrx5M6nTSDLH40= sha256:QAiq0PT7u+XbebFAf8oU7k0LacxhjaV5W2QjFoOI/5Y=
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 EBD4F125CB6; Sat, 31 Oct 2026 19:51:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.144
X-Spam-Status: No, score=-0.144 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, FROM_LOCAL_HEX=0.331,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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 7R16gu8ZClpi;
	Sat, 31 Oct 2026 19:51:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-354095-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 69A6C125CB5; Sat, 31 Oct 2026 19:51:35 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 6CDA426990; Sat, 31 Oct 2026 16:51:30 +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=1793465487;
	b=B6AQZS6egvhg9XCS0xS3E2l2GadaygAZ8bTp+eUumnqB2IAcfvVCXUEAFF9VwF6We8FV
	 utUKoCkId0LOHvihoqyBwSPGp+PI8FaluZ1ZgPzoC9VkvC9IRrBgYytUkqo/9WixbSw0n
	 pA+Gp/x8TVvIvHWXz7lkZro48DRkMxXNmQwnUP3PDs1Zk2X9AYvgYcMYnfQ3fFFu9wHZN
	 P3RIEffrQsptZwOMQF+FMFet8QDhe/24flquTIIzRPXGT/DGY9os4oFf/4afAtjutHPO4
	 P4zkqA08ysYlkI3hjcrt2Alq/Xi1E4n4lZ+mIehSgOjo6jmi7Oy5CNOGj/agkEChFmQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793465487;
	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=ZccZDmwpaj/O6pbTWegE+l+s9MNeeSWtqXGKbSCxwYE=;
	b=wBMIsWut9tWzTFs9L/+1lnvZkye8aiKYIgk++4VbMTqnPR9yKV0Ss74ELkv5zwlAx+Bf
	 59TGZi2v1F5YwMPUitSQnm+cOnqmD8/WJDF4X2BjpGZEywtgZCgeQY7ImMTrEHTLujprN
	 1YYtAnXsYtMgrIY7BtFu9f6T7buicg2L803z7hH1Xlxf0hm6NJytOGhwVsVDRXgyTDFYs
	 ReIGKSzOEpULrwv1ziorX/UbvF1L/0nGrKceLRPm/dYYWiFuhQEw/9sx0sHuw/NrXHA1A
	 bYTyWN6jsO3uzmj/1F4c+7YCCxDMtPQ/J2pKiVgTikvUkLw3aEekWrcFMmuS30Bh5Aw==
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 AEBDD606A325;
	Sat, 31 Oct 2026 16:51:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.200
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793465482;
	b=diOSpSg0oCaV0lQNXtE+MArSHpjFMp6fRK2Rcl6reuE9TClCY6Iy9SaF4/7CZJYHVOVV
	 BMfvfcGL3GMDlRNnTBoyWYDKllhmJ/8YSdf/4NuhG/3UXbxUBCWFuxwAIIkFEar1jrzkG
	 n0tsGjVHfUUqVVeUFFV7NzqusVUN6d5EShlA5zIG2BGZnYHrPUWCSNxorXUg8L0WyjMEu
	 iR+CvSEMliPE8GEH/oi+OXUfr3YNpFe/F+EAxSpn1kqdW3cTOot7geKI1OgXcnLCx72UF
	 C+eDQi6Tq8TCdVohkXiyARXXjPRXH0oFGIarTOneUIFjZZ5G3cwQbSHxSxkg4aiTyqA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793465482;
	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=ZccZDmwpaj/O6pbTWegE+l+s9MNeeSWtqXGKbSCxwYE=;
	b=oFNAdBWYs1ioKrd0EiIgGlQAsLpiPiyI/SD8/FRG3RXZVNg80aJMLilH1HrxMC/Y6RA/
	 SsVVud/IZGBdJBIB5Vbq9PxvgA8jsLONMYY5EHvZp6/LRWY5Pg32Wia2+hzKtrlvuXP+W
	 nLgjHwOtMqcAf9zDmAukYp4Y5OY/rPe8oZYs9lj3A9/QhdrzmywALnQeAEAUntsunAZDu
	 UL7pjo4HLVs/3VI7CisOc0o7k6zXUAvvUu2/1gef3yxLqyiL6v7Mdrgkb0thsEV7YRHsz
	 97xs7xtl62x4/DrDMUM0L0QPeLaS4eO4YJN0TCOO14m4/WEl2oFCsZ+G8AVHsNZZCkA==
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.200
X-Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200])
	(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 A9C6C606A31A
	for <netdev@vger.kernel.org>; Sat, 31 Oct 2026 16:51:21 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A9C6C606A31A
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-f200.google.com with SMTP id 5614622812f47-5640a2d9708so2470897b6e.1
        for <netdev@vger.kernel.org>; Sat, 31 Oct 2026 09:51:21 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1793465480; x=1794070280;
        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=ZccZDmwpaj/O6pbTWegE+l+s9MNeeSWtqXGKbSCxwYE=;
        b=Xi/UugU4kewVPa6xtOndaF99m97JLR9mh2goo1PrOuJ0xv0fwn/iMBuHvCAyETWDzh
         R/Oxaq57WYXhfH01cQ97hnvebjG1HI0Be/2mzYYXAEDTeKfud+5MHhcYtXRuAvQ1oJ21
         Z0o7QVdUH1EfDnktqd61iPmRii/2tg6AFQF77z69UIPCWQEYwcjXb0fX09T0U8S8+Fan
         hKHGZWpf6qwcf0W1YO/cjLqFRpA+6xGl5mnWqhkqYT5nllw3AzdzPPMq02Z1Qi5Vh8Pl
         8eJfwgcw0Ay1PTG0+a5Agu/1Z0vq2bWwzaR70hcsVAIB299b3sBzJuKB7E8C2CEMbjkH
         9hkg==
X-Forwarded-Encrypted: i=1; AKwUvBzvFAiolDYc8FyhcPluGTj+1/p2mQrR5SiOe9Hfkm6xpo4dWGliUtItkpa0GPj7i/Zo8oOYSK4=@vger.kernel.org
X-Gm-Message-State: AFq9FYKVw+9KYSTJ7CcLOe+y56EKlkBo0MXMFGCgBvJ5ek5jJoTxdbdS
	XsR07ti2Bbj/JsvHp185IZI9WJ3GHWdu4jLJVvSx6dMWqRef1nN2aEfOkZ+K/sVSKpLgtmJQPPM
	TLlsHV6Q6/oCqVRO9LTfJIwplpT4srKZYa822puC0ALZzSKApSj6ZxEs8sS4=
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:3206:b0:4f7:d324:bc3a with SMTP id
 5614622812f47-5640ddfb115mr4220012b6e.18.1793465480685; Sat, 31 Oct 2026
 09:51:20 -0700 (PDT)
X-Google-Appengine-App-Id: s~syzkaller
X-Google-Appengine-App-Id-Alias: syzkaller