Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1531893rdb; Sat, 3 Feb 2024 10:02:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsqTaHWasl3RtEHCeham/m0sv8/h56f/3yLK2BdfQtL780hNgs5HAah86dw/mgMcSOB1Eg X-Received: by 2002:a05:6214:b67:b0:68c:689d:92c3 with SMTP id ey7-20020a0562140b6700b0068c689d92c3mr2650794qvb.9.1706983354344; Sat, 03 Feb 2024 10:02:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706983354; cv=pass; d=google.com; s=arc-20160816; b=rrZLFpq38bpCQ0j815ayp6f5xFkCphq/GnVPXTP0aOEi3qXzov5BH1eCFe+SFbp4/Q 0bXzUGAlF0Z1Yl9OCj6+8UylSpHdvQh4oqLxDs4prwM2in9jZTPg7RbYs/F8vhO7P6Nc LdaDXPWvZ9fDZXdrj5G+bEtiZxGaK7g1Tkom7oCH8d4D6pGlNNP7nM+mhnJ6KFHzrzZv YkG/NkXBqdqyJvWTQScsWIVkVOXcueAaTUBbSwndvpKuLVlVHtsH2RK5tvwo1pW8f1D6 6yjYdK9vcfcE4QYFYFZfPMDJ7+RqdJv0cETMoBQE6oci0kUxg/6XdgxnMQjMnviYUfyH a1aw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=c8BIMaJkzTu28fgRsqkRky1lvWyIrpmgdUG1PvF/ySk=; fh=n0yizuBlIqrb/T+JQg7AvycfBM7Z835OFbEQlkqFcqo=; b=ynm9Pil4V6KlXZ1nWAc0RCymrux7fHXsnFCrRUbMJ+jrA0qVqCNZdxDRMQKx9yHv4u 0K3NdO/EtahlgpO+TsSPQKjSv1iReFFEgqMNoSmaPSJ62v7tBDGkhGr+NxzTQq0fTQOC QVkLKXuzccu0Mx30Hq7Lnm4T1aZYi87HdhdqxLBlKiFvAQKoGisi225qqMHWis/XCLz1 yfoqby6jJe9b0X+ulEP2gREXloRzxKZOgu/vJYV5VzWwGnDeqZ31kxdyUr/PDtr0hrtb cW8hARB1f8HRQjcbvpbmQWElwyrKi1itRrqqFASzjRu8rIZqMnhr+h0k0OIk+D2c66Cr iTew==; 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-51232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com X-Forwarded-Encrypted: i=1; AJvYcCUptEpmLrhLU+eU6m27ufhkA7VrBh0ISFzJxECwmB+2KUO6nv9+66Omd/rl64H6ThmtRDw01yQBjp859NDX5nihBYoipGlL721HnmZZlQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ct13-20020a056214178d00b0068c65ca8e3esi4899387qvb.143.2024.02.03.10.02.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 10:02:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51232-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-51232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51232-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 C62651C21BDA for ; Sat, 3 Feb 2024 18:02:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4F445F878; Sat, 3 Feb 2024 18:02:27 +0000 (UTC) Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (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 E9E2F5F46B for ; Sat, 3 Feb 2024 18:02:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706983347; cv=none; b=ZtPd1Sk8yaLaEYzVJ+gfUtqB9yYF0il8V33IG07OEQTqdwLzcUBCOKpBBwjaZaDhEzUDIChxTzXFiAqcCJMY906kMDqljxHwrINaZU0U18uN9eeRrxuVpZkzZq0vL3j5s6WuyFiDF1h2xLJtGFnvobWMkGTVBAC5hqM3gIdMghU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706983347; c=relaxed/simple; bh=OpCzJScOy0ans3iiys9Fl96fMziZDxp4Vey98NXQChM=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=kgx2M1gvH9eRJbRGiH9W+abjiS7sEQ3BynBsyBuQF+T1dI2v0Rx2TNfrSQeoQqlhJKBbK5aes8WkvYPr9jfn3N1HGUVmQ4eKmdeA+NSNG2ASHuUyAZ8usqEQVnOPCEk4MGarZ+vEzNSr8Kr0jj0nwGJHkCgFBfj8+8t0QuwVEEI= 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.199 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-il1-f199.google.com with SMTP id e9e14a558f8ab-363930ba977so23100285ab.0 for ; Sat, 03 Feb 2024 10:02:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706983345; x=1707588145; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c8BIMaJkzTu28fgRsqkRky1lvWyIrpmgdUG1PvF/ySk=; b=HiBelQTgE/x4WsN8phCuiVkykFjegMjlxmW7fUbLqFfKNGshJgZ49qt5JGH9gw1x0t uYz/K0Qtdv+iNVML5YTGJkr+fx3HV/0PGavXnkyr3N1YMTJsvpPAiWL8Pj7qPvz93OZX zScv2Ih96SH8LiihAjtiB1Uzao4+GT1Y3StzWSrgWSvlRQG4Kw+ll/gxVGEDpllypyr0 RGoBIWOiYYAlyCyv9tHphogdxhfWvzYh5S/R3HNt5rqdTM4ss4qQqOyFSsMXlvfKuDP/ vSEC7x6YZztEl6cvuvXLKOb+j8D8rGaAE3GTIEKaAECzDUJad/+QBwkwPhEqyA0n47/t JI6g== X-Gm-Message-State: AOJu0Yweoz4gS9/KAEp0qAulSsSbOszAiauU71GTnUlYjpqQqw9gNJxO fU+etvSYRiMpRuQc/Zle0Ji5Q3a5M93c+iQ+nKrSGlGhcyR7LYPr2Bg62zESlgf8q4HnE439iT7 odIDWRa+f80yTPn1Ud5xpwFA5aU9/4KupY6w9Y1D/coOt1s0xUbEqAdU= 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:12e7:b0:363:9ffd:beca with SMTP id l7-20020a056e0212e700b003639ffdbecamr493499iln.5.1706983345171; Sat, 03 Feb 2024 10:02:25 -0800 (PST) Date: Sat, 03 Feb 2024 10:02:25 -0800 In-Reply-To: <000000000000cb54de060d2cc266@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000ed365206107e0783@google.com> Subject: Re: [syzbot] [riscv?] kernel panic: Kernel stack overflow (2) From: syzbot To: aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" syzbot has found a reproducer for the following issue on: HEAD commit: 6613476e225e Linux 6.8-rc1 git tree: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes console output: https://syzkaller.appspot.com/x/log.txt?x=144ac160180000 kernel config: https://syzkaller.appspot.com/x/.config?x=877e61347079aad5 dashboard link: https://syzkaller.appspot.com/bug?extid=5c1ebfe49c5e8e998e75 compiler: riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: riscv64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10c57b90180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15d369ffe80000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-6613476e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/33ea806d02dd/vmlinux-6613476e.xz kernel image: https://storage.googleapis.com/syzbot-assets/33195f72f823/Image-6613476e.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+5c1ebfe49c5e8e998e75@syzkaller.appspotmail.com s11: ff60000011241a00 t3 : 0000000000000004 t4 : 1fec00000224849b t5 : 0000000000000002 t6 : 1fec0000022484c6 status: 0000000200000100 badaddr: ff2000000493ffc0 cause: 000000000000000f Kernel panic - not syncing: Kernel stack overflow CPU: 1 PID: 3859 Comm: kworker/1:3 Not tainted 6.8.0-rc1-syzkaller #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: usb_hub_wq hub_event Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106 [] dump_stack+0x1c/0x24 lib/dump_stack.c:113 [] panic+0x33c/0x77a kernel/panic.c:344 [] handle_bad_stack+0xe0/0xf4 arch/riscv/kernel/traps.c:412 [] mark_usage kernel/locking/lockdep.c:4599 [inline] [] __lock_acquire+0xaa8/0x784c kernel/locking/lockdep.c:5091 SMP: stopping secondary CPUs Rebooting in 86400 seconds.. --- 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.