Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp107233rdh; Tue, 13 Feb 2024 10:45:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxKdJ3I/StIKhHrI1vLc6bprzqK6rHaJYXCptQaJvizYwRH7sMRubAE8wV08rt0nvkMg4aOTellJJYjUUS5F5ubw6DMY+BztnNMigSVg== X-Google-Smtp-Source: AGHT+IFTAmTwEw8HDJTBjeetapFk6g9bZyTBGymJnAI6DnmYX645NgBatR6vkMZ3n5AsUbdvfgRv X-Received: by 2002:a17:903:2302:b0:1db:3040:2f82 with SMTP id d2-20020a170903230200b001db30402f82mr381875plh.51.1707849918528; Tue, 13 Feb 2024 10:45:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707849918; cv=pass; d=google.com; s=arc-20160816; b=t4k5rlRc7npS8BwQdUXuEwszHGQRuZihOuU1wAXsVN2mmag/bIXSNMV9OhSrsSsjOh 2E46fy2VCa4ZxN7OWsvoBjn8AWLYkhyyEtb0jiIncH5BM73rgOgQTs2PntcQKmHa4zId 3PyI4XKXm91G1NNoHw46vwYJYZSgRuPG3+AN8PdOY1EUvbDaOvpMQ3knLOm3N7gjWLjk UJZKwteVL/P/o8Lm/NguLX+QVuLsMSkW7/HKbnjUB4P0SeXofupqjk/4pmfXGR3WGVrA +MqdQkqY5CZdj5Zt7OS/D5kp8dErDVdRTVm2lCt2JV526OXuWrH8Io2GqZQ0ruNz202f OOXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=BScB9QAhTU5GhvuF4Y+/8lTfwT+Fq2wGTO/0B+60vIc=; fh=BORvneZci/CxZmOVlMg4vSdbuDhSbUA7WL8llaKmybY=; b=dVDbsVVnXjYupQBuwknV3HdXZo9ZJ1D+yelgqRX8fo0ZomB7C2laEUMiKUB4JGZQsR 9beX4FFEZNvmr+ugrgiP7kBzKoDZvRNEearTvNnDmKzqgYJNMB0TxWT/RFTKgBY+G2sy andNprRJPF0waqHibfr7l/nlbuQqpXzUD1KKHh3tTPpFk+C6zMKcTH0N+THybRtfkL6m GmR8XKb/0k3UyHk/qRvKbfJrVnBkl1XXvRvSHmx0gbyTD62OzjK+Hpxtk4/tJtfH9g9O u2InZawoFTyI7qmggAsqAk3w89P9dVbSZA0QxUnVvXC0H8LAaq3uzc3d3j9sBdILbpjd Bumg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-64072-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com X-Forwarded-Encrypted: i=2; AJvYcCUN7eir7vzV1w2VFLCSUE+xQvE+sNiQEpl9OhW5dXkgldu4RHyLSs1U0VTXcsw8IalcnKkKGZNwUHb1fa4xtcgQ1TVyegBx/Q7hn4sGYQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z14-20020a170903018e00b001d91e7378b2si2515207plg.373.2024.02.13.10.45.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 10:45:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64072-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-64072-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5CECFB238B0 for ; Tue, 13 Feb 2024 18:22:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3A1C60867; Tue, 13 Feb 2024 18:22:27 +0000 (UTC) Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 696C4605C6 for ; Tue, 13 Feb 2024 18:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707848547; cv=none; b=uifdyaPbWCnEELyrW/KdhEB8XuNlsn1QVfMsge+LHwCmKbaug/Xg3wTLZTN7yfIyiTZXW3AnvLTZn9jVUsK4WNl7bzKY1nD7YgE2P1mUozGB/trAKzsHQoMhJec3bdjryc5UVU98WEbsWKEIgNdCcJ0vOPD36eRosh1+ftUGS1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707848547; c=relaxed/simple; bh=oA2monlzeP2cc7LH7cA0Gz+kCOo6MIy5db3FbENyuEg=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=m9Y1GuzGOx7TFTmeKGN9qYw/j2YqrtuUnuWIuFRygk/cm2mY1T4TYTOxkh2kDA/EWOWW5g/PaSGYRFyPm/S9kk+Q1QQDZ3ZAwBH3Wk27sU18CAposECW2d8+BSnLM/Tws8yOh/X+QeYaWcB002DLUpwc2h+TPnMhBQty1C2UWQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f69.google.com with SMTP id ca18e2360f4ac-7bf863c324dso2082339f.0 for ; Tue, 13 Feb 2024 10:22:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707848544; x=1708453344; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BScB9QAhTU5GhvuF4Y+/8lTfwT+Fq2wGTO/0B+60vIc=; b=AB1ATmh1Xn5xPz6RVkYSGCI2BGhezPoc0SFU1zlgLl78l8fM4vq58Rtx3siocy9HcT wMdrecxtSTxq5cTWkgf5TrGdDMkD6XHpK6+hKXteqoxn5xjQj0SEvjjteJZONzQjDUK1 ZRMNQuNvf/xP2uUNdV6oCfaLcXr6hKoK9wU5wvhmciBJ8mfGURzIXIye+AOsPQWk8ZeY MUEWI4FCiaKVD02OCJ944a6PMbf/nirWfixLmPkimW966ANa10HIEoEnglsHFx2BjkT0 3uosezfV2D6RYcvo0ZYSIoYZkBIK0ebTyfaJhKDCqADNo9w1898MniQXhLCzRi6n1Ps+ abaA== X-Forwarded-Encrypted: i=1; AJvYcCXaOwbtOty70AMPGOy3InSXqQx7+qaxZ92mHVQJB5tlwDWxAqTWKGLA+i3QQW4Dcn+eX5wQA0WfcXe/lMYeV6HS02APr23gnZdt/Bnr X-Gm-Message-State: AOJu0YwZGll7JMTzBrULpX0Tb6dUemB3ScVtrlxiB/EVRqSKEiuf3c1q vrhL2hLLlBhmipV2qUluLDbidQgScfMdGOypuamseM1vFDTrNENgtGvZqfIG5+gJEE0wmfuPDbo Dr8hGIRgN4201KlDCA6+egBFeToAERN5Ll+ZrmW9gz3OZZ1HuVGsqwtE= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1c23:b0:363:cf28:f1cc with SMTP id m3-20020a056e021c2300b00363cf28f1ccmr10470ilh.3.1707848544560; Tue, 13 Feb 2024 10:22:24 -0800 (PST) Date: Tue, 13 Feb 2024 10:22:24 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000d42dae0611477922@google.com> Subject: [syzbot] [netfilter?] WARNING: ODEBUG bug in ip_set_free From: syzbot To: coreteam@netfilter.org, davem@davemloft.net, edumazet@google.com, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, pabeni@redhat.com, pablo@netfilter.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: f735966ee23c Merge branches 'for-next/reorg-va-space' and .. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=168b6592180000 kernel config: https://syzkaller.appspot.com/x/.config?x=d47605a39da2cf06 dashboard link: https://syzkaller.appspot.com/bug?extid=ebbab3e04c88fa141e6b compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1000ede0180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=161a6ba2180000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/bdea2316c4db/disk-f735966e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/75ba7806a91c/vmlinux-f735966e.xz kernel image: https://storage.googleapis.com/syzbot-assets/208f119d45ed/Image-f735966e.gz.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+ebbab3e04c88fa141e6b@syzkaller.appspotmail.com ------------[ cut here ]------------ ODEBUG: free active (active state 0) object: 00000000310f7442 object type: timer_list hint: bitmap_port_gc+0x0/0x4dc net/netfilter/ipset/ip_set_bitmap_port.c:282 WARNING: CPU: 1 PID: 6165 at lib/debugobjects.c:517 debug_print_object lib/debugobjects.c:514 [inline] WARNING: CPU: 1 PID: 6165 at lib/debugobjects.c:517 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline] WARNING: CPU: 1 PID: 6165 at lib/debugobjects.c:517 debug_check_no_obj_freed+0x398/0x47c lib/debugobjects.c:1019 Modules linked in: CPU: 1 PID: 6165 Comm: syz-executor468 Not tainted 6.8.0-rc3-syzkaller-gf735966ee23c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object lib/debugobjects.c:514 [inline] pc : __debug_check_no_obj_freed lib/debugobjects.c:989 [inline] pc : debug_check_no_obj_freed+0x398/0x47c lib/debugobjects.c:1019 lr : debug_print_object lib/debugobjects.c:514 [inline] lr : __debug_check_no_obj_freed lib/debugobjects.c:989 [inline] lr : debug_check_no_obj_freed+0x398/0x47c lib/debugobjects.c:1019 sp : ffff800097886950 x29: ffff800097886990 x28: 0000000000000000 x27: ffff80008aeec3c0 x26: ffff0000d051c718 x25: dfff800000000000 x24: 0000000000000000 x23: ffff80009365bb10 x22: ffff0000d051c000 x21: 0000000000000000 x20: ffff8000894dfe30 x19: ffff0000d051c700 x18: ffff800097885e20 x17: 626f203234343766 x16: ffff80008aca1180 x15: 0000000000000001 x14: 1ffff00012f10c44 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : f70d4eacec590700 x8 : f70d4eacec590700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800097886238 x4 : ffff80008ed517e0 x3 : ffff80008036df60 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object lib/debugobjects.c:514 [inline] __debug_check_no_obj_freed lib/debugobjects.c:989 [inline] debug_check_no_obj_freed+0x398/0x47c lib/debugobjects.c:1019 slab_free_hook mm/slub.c:2093 [inline] slab_free mm/slub.c:4299 [inline] kfree+0x114/0x3cc mm/slub.c:4409 kvfree+0x40/0x50 mm/util.c:663 ip_set_free+0x28/0x7c net/netfilter/ipset/ip_set_core.c:264 bitmap_port_destroy+0xe4/0x324 net/netfilter/ipset/ip_set_bitmap_gen.h:66 ip_set_create+0x904/0xf48 net/netfilter/ipset/ip_set_core.c:1157 nfnetlink_rcv_msg+0xa78/0xf80 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x214/0x3c4 net/netlink/af_netlink.c:2543 nfnetlink_rcv+0x21c/0x1ed0 net/netfilter/nfnetlink.c:659 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1367 netlink_sendmsg+0x83c/0xb20 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x56c/0x840 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x26c/0x33c net/socket.c:2667 __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2674 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 524 hardirqs last enabled at (523): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (523): [] __console_unlock kernel/printk/printk.c:2706 [inline] hardirqs last enabled at (523): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3038 hardirqs last disabled at (524): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (518): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (518): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (507): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- --- 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