Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp473710lqa; Sat, 27 Apr 2024 09:34:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKAKt6+s0UGblVPnsC6ezfdMA+BSWEnIeBqkIBhKSvMl9mxW6sB2oIhi5pAGmQZnekG2v1R1ZrLpTucpIR1du9C4iM+etZWzcseqpzfQ== X-Google-Smtp-Source: AGHT+IHuWuRaNMsojuco9Ho2h2BaObjIfvWhJeCGXTuyVOZb/PpI6NH30Bx4HijzvhI8OqgiH1kV X-Received: by 2002:a05:6808:1a06:b0:3c6:f596:ac19 with SMTP id bk6-20020a0568081a0600b003c6f596ac19mr8645911oib.56.1714235678894; Sat, 27 Apr 2024 09:34:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714235678; cv=pass; d=google.com; s=arc-20160816; b=xPCFJqOmvB3NlppnYuIUazFS4tl8CwzPZuQv9HYnbwbpzd2uN+M/eoUIaKfv8c3jhZ 1azyiSxWvqlfG1dPcwYDIqI1dBR4Hds1ZbGE6TgoPAJFI5ysOzgobdm1bKOFyxxora4h zx4nrQGjUfh27EUqHS/7A+DCZ6WBJfuJ4X0u7cQ9lGPfgO+t7IX4Q+EKmb6HueT3dn64 LnuSiNPen/CMrANIFakcJxEmUqhdUYUwG6DCFLHtdcBsgYUg32gqIBlF05AoK6rQ2joy FaKZOGoSLXOlgN+RrjNC2e9rBy/rqcvpbmNVkJs5lClAVVo9o4g/qAonb3VSz2t64TA4 pfoQ== 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=wpRqneg+RHTIAQAnzCc2/4zGaXEdYFQTEmwzqVG2kf8=; fh=GzlC7e861KftmZg3X3A+ZS8L/SBp/KfFx0jpPO/rdEk=; b=qK0ie/L2PDU86+miGLeRANzMNxP5G6GawChDuKL04F9lA5VG+VMMpxy+c9z14bFbT/ BeNILkCEeZy/XrW2F0TbkTXy5iFa10cfW3YWi7+sLbMJxc+CNJce0Py1IU5FK325nLyP tqDSguwQ2j86slKep+6i4+czgFUljE3DRAbUOSKMOPwj3K99d0cWgGCEiluOMg1JSCwk +EVi3FDN5KddUX+hTifQc82xa8s4mv61+GMoLLBi3AEaYRoiddBMm+jz2A/NpbXGvU8q ficSCWfdlXyY3piCjgQ5JMhfrmjpAuBkvPfEdY5uXV4zu9qWTKB7rVPR/8WUYdy3TsM2 MQ2w==; 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-161102-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161102-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b16-20020a05620a0f9000b0078be2397abdsi22670232qkn.347.2024.04.27.09.34.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 09:34:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161102-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-161102-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161102-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6ACDE1C20DAE for ; Sat, 27 Apr 2024 16:34:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70B32142E8A; Sat, 27 Apr 2024 16:34:25 +0000 (UTC) Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (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 5FBB2127E3B for ; Sat, 27 Apr 2024 16:34:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714235664; cv=none; b=iPb0RFOVQRe+yKcDfuSdPAwCaTIrMbUuO/0HVY1S2fzoS4KBoZQCnOKk+byMJ99xj618JUfXyI+W7LvTGPjPmP24AT5rpJtLsZ/OLSDD5t50v8Fc6QMD6lYTjY4F593CgIP9Q+bJ8C3UM/jkfxn9IOFLGNPUrZhuCFK6SJ7qlFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714235664; c=relaxed/simple; bh=DSQzEtjdiV9L38k/iBL62Zbm6QxwkG8HuNYK/0HvFKc=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=oni5O4qwubyPMmjcpEeORg++CCx+iLaXQGH17fLQpGy61qWXsrj31VwrPGRvfoIuV610xE5uyi7OXEIcY7ltz99tpFVNbdL4pdFxTrCXVpRgjHRBZ8r+IfnZHRGYy0TgtJ95xlki71jSnhlHVdGPwPjjWRAa6e7K0ybeTrJOhZo= 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.72 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-f72.google.com with SMTP id ca18e2360f4ac-7dec211a706so18398339f.0 for ; Sat, 27 Apr 2024 09:34:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714235662; x=1714840462; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wpRqneg+RHTIAQAnzCc2/4zGaXEdYFQTEmwzqVG2kf8=; b=cbF/scl2V23dfTwTilzsO0eaTWhznn9HzinhLbBxCcXNq5lA7CF5F8KZaKMVhBGyr0 roGTt6SFJnDMSbkLp0ZBczpQ4Oa948byR5hvhub5PgcZtxqCH6YjN0XoYulphqyIAcE+ KLEsSSDScYlVF/qWofmowzCfwxqoCZ5pzkisY5NCmiCfkKcv4unxBsd/YLlanPSxHyos Ggp/YIkrMDmsYqBykwIGETjKzypx0/8v868y2ufzhODIhjfCrq1nf7gJkS4wqibwQNes fFF5PDJyO/3VaMSW3Vrdva6f8ntfhxZCnreqQN9/M4/vilMS0TuixYQ8drxUgOTXQ2Gr FxQQ== X-Forwarded-Encrypted: i=1; AJvYcCWd3nL6FHBdec//Ch5PL1X8uW72XpoNGJvp1k9yYuQNW47OYkL1m4gS/TXff8jM3TV6j1VlsLzbAh2E725+Jjj7XRSshsWs13yiI2Uz X-Gm-Message-State: AOJu0YxVGq+qKZwi3rl6kDSZcQqGQWs+51DftrVOOVnDsZMmPa4g22MK N3AtdKdqSu3KEMqSxfxiBafIqY1G1IRlHzG52VdZh9geObV5v+qDVyB6j8TRvjvm9s5syYbSjVL 7vkibC7LfFWVLJ35ecZlDT/2JOG0a3eE3DX783nfwWsBJHhZzaGHKiNM= 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:6638:870f:b0:486:e390:16a5 with SMTP id iw15-20020a056638870f00b00486e39016a5mr334115jab.3.1714235662670; Sat, 27 Apr 2024 09:34:22 -0700 (PDT) Date: Sat, 27 Apr 2024 09:34:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000bc2d38061716975e@google.com> Subject: [syzbot] [bpf?] [trace?] WARNING in group_send_sig_info From: syzbot To: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, eddyz87@gmail.com, haoluo@google.com, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, martin.lau@linux.dev, mathieu.desnoyers@efficios.com, mhiramat@kernel.org, netdev@vger.kernel.org, rostedt@goodmis.org, sdf@google.com, song@kernel.org, syzkaller-bugs@googlegroups.com, yonghong.song@linux.dev Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 443574b03387 riscv, bpf: Fix kfunc parameters incompatibil.. git tree: bpf console output: https://syzkaller.appspot.com/x/log.txt?x=11ca8fe7180000 kernel config: https://syzkaller.appspot.com/x/.config?x=6fb1be60a193d440 dashboard link: https://syzkaller.appspot.com/bug?extid=1902c6d326478ce2dfb0 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/3f355021a085/disk-443574b0.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/44cf4de7472a/vmlinux-443574b0.xz kernel image: https://storage.googleapis.com/syzbot-assets/a99a36c7ad65/bzImage-443574b0.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+1902c6d326478ce2dfb0@syzkaller.appspotmail.com ------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 1 PID: 7785 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x29/0x40 kernel/locking/irqflag-debug.c:10 Modules linked in: CPU: 1 PID: 7785 Comm: syz-executor.3 Not tainted 6.8.0-syzkaller-05236-g443574b03387 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:warn_bogus_irq_restore+0x29/0x40 kernel/locking/irqflag-debug.c:10 Code: 90 f3 0f 1e fa 90 80 3d de 59 01 04 00 74 06 90 c3 cc cc cc cc c6 05 cf 59 01 04 01 90 48 c7 c7 20 ba aa 8b e8 f8 d5 e7 f5 90 <0f> 0b 90 90 90 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0018:ffffc9000399fbb8 EFLAGS: 00010246 RAX: 4aede97b00455d00 RBX: 1ffff92000733f7c RCX: ffff88802a129e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000399fc50 R08: ffffffff8157cc12 R09: 1ffff110172a51a2 R10: dffffc0000000000 R11: ffffed10172a51a3 R12: dffffc0000000000 R13: 1ffff92000733f78 R14: ffffc9000399fbe0 R15: 0000000000000246 FS: 000055557ae76480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc27e190f8 CR3: 000000006cb50000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x120/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_task_sighand include/linux/sched/signal.h:754 [inline] do_send_sig_info kernel/signal.c:1302 [inline] group_send_sig_info+0x2e0/0x310 kernel/signal.c:1453 bpf_send_signal_common+0x2dd/0x430 kernel/trace/bpf_trace.c:881 ____bpf_send_signal kernel/trace/bpf_trace.c:886 [inline] bpf_send_signal+0x19/0x30 kernel/trace/bpf_trace.c:884 bpf_prog_8cc4ff36b5985b6a+0x1d/0x1f bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:650 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run2+0x375/0x420 kernel/trace/bpf_trace.c:2420 trace_sys_exit include/trace/events/syscalls.h:44 [inline] syscall_exit_work+0x153/0x170 kernel/entry/common.c:163 syscall_exit_to_user_mode_prepare kernel/entry/common.c:194 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0x273/0x360 kernel/entry/common.c:212 do_syscall_64+0x10a/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f8e47e7dc0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffd999e9950 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffa RBX: 0000000000000003 RCX: 00007f8e47e7dc0b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007ffd999e9a0c R08: 0000000000000000 R09: 00007ffd999e96f7 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000004757a R14: 000000000004754c R15: 000000000000000f --- 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