From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DA77FA375A for ; Fri, 13 Sep 2024 15:09:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:Subject:Message-ID:Date: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=2U2AR92YHaFF9c94L6oZsBcLCuwzbDrrt4SbiQ/XhGo=; b=Q3S f+V0RLYXzLdNT8VyF1IeBQisqPuZj4923kYlA1KSO7d8M8dXUrtcTcuo6kqSF/neYSSgGqpJ+HyFq 9NHu3YntaJhCbgt23gRgf3ZCbMWCGpOrhZeOzY0/zbeucYBlo8UDjHsiEYiKljN3cMNLwxlPhLVn+ TExhkJ9tQohM6VlFwpn7wtgC0o5MOmFtPWNjQo9uVZIOW08r/qbhkoFz0V5ho/5wD5YeZA51TGTkE BtsgKLEE+EOsgw10XTABr8MWIcLKu2vacyKNiZLPZrV5WEDGGmC1nV2ctPZhTO2lLE6jPVfRFGE7T gMD/om7bd4EyN8qeScwYWrTYvDREomA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sp7vR-0000000GIqX-0Sv2; Fri, 13 Sep 2024 15:09:33 +0000 Received: from mail-io1-f69.google.com ([209.85.166.69]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sp7vN-0000000GIpN-2pJl for linux-riscv@lists.infradead.org; Fri, 13 Sep 2024 15:09:31 +0000 Received: by mail-io1-f69.google.com with SMTP id ca18e2360f4ac-82aa83ff294so43952839f.2 for ; Fri, 13 Sep 2024 08:09:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726240167; x=1726844967; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uwZk2Mnqq2cweJX6bDDtcGnk53Z7SnCzW4WXDuHomAE=; b=ukd67jHNrfn32GMjEMfLzXHVJgy5hqKTYwZY2EtMvyePm9dQM1Jo7k0bINdcDjr9yT +sKcgB3yRk+XIsm8wrOWvXfG8LKyacjHVcw+3A58lo8gYzoplIWpWSZjuPR9dBhfS1iS 1SK3FnjFtg1465NltSx3IbJrX5elYbvRelCjLH84kWzUjOyJBisgKKyBMRj9i8q4hKwJ vF6ADl770UqqcCE9xLonTsNkuOATirM5WLIKuLzQ8cRDkpMD7VEGg2hkpC0470zUfbGA Q0/xLOOSxu6LeAiAwjemYCKeWCYMjt0CXK6Z1vbDbZ51CHPQGQL725j9uaaGmMA9edmn VStA== X-Forwarded-Encrypted: i=1; AJvYcCX3DY58C0W4KtByY/Rz6TA0/C+bB1A50EgheDYOOGhF6DVSgWhXl7iwZ9SOk7/LsWeqFBOt5js/3y8WJw==@lists.infradead.org X-Gm-Message-State: AOJu0YzeOipKoReRsaTUiHh8TvRB15ejLss22wepJ+ub+RNfas7afLzh tiSpMvAxj2WVkIyGT4FR+ylGfQ5a5MbPai++eqYaD4mL8qJkuHRHGDelaIoxPCipntwSLfmzkgu A0YZODfu7grLqZt+A763FLpQK/QUpb89mbCgzFSB+5eyDVewZ5grZn4w= X-Google-Smtp-Source: AGHT+IEQoJRcIrzGUkN4aBBAUJBtrxkYArlv+beaDll8QIp9cBUcHhnYeXB1rLxxTrg7K/KJ8rD2bB4D+8ClBawnxtz5KWwC9PT7 MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1383:b0:3a0:57b5:6e08 with SMTP id e9e14a558f8ab-3a08497522cmr17636745ab.7.1726240167434; Fri, 13 Sep 2024 08:09:27 -0700 (PDT) Date: Fri, 13 Sep 2024 08:09:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000fa38f30622019b6e@google.com> Subject: [syzbot] [riscv?] kernel panic: corrupted stack end in handle_page_fault (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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240913_080929_739567_765C8E1C X-CRM114-Status: UNSURE ( 7.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hello, syzbot found the following issue on: HEAD commit: 1ff95eb2bebd riscv: Fix RISCV_ALTERNATIVE_EARLY 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=119b27c7980000 kernel config: https://syzkaller.appspot.com/x/.config?x=c79e90d7b2f5b364 dashboard link: https://syzkaller.appspot.com/bug?extid=5a364b90a40e8fe8ab78 compiler: riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: riscv64 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-1ff95eb2.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/1491182abe4e/vmlinux-1ff95eb2.xz kernel image: https://storage.googleapis.com/syzbot-assets/926302c5c645/Image-1ff95eb2.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+5a364b90a40e8fe8ab78@syzkaller.appspotmail.com Registered RDS/tcp transport NET: Registered PF_SMC protocol family 9pnet: Installing 9P2000 support Key type dns_resolver registered Key type ceph registered libceph: loaded (mon/osd proto 15/24) NET: Registered PF_VSOCK protocol family registered taskstats version 1 Loading compiled-in X.509 certificates Loaded X.509 cert 'Build time autogenerated kernel key: f2a59455c4296818b28c73c1d87b1152c8ec3b9d' zswap: loaded using pool 842/z3fold Demotion targets for Node 0: null debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers Key type .fscrypt registered Key type fscrypt-provisioning registered Key type big_key registered Key type encrypted registered AppArmor: AppArmor sha256 policy hashing enabled ima: No TPM chip found, activating TPM-bypass! Loading compiled-in module X.509 certificates Loaded X.509 cert 'Build time autogenerated kernel key: f2a59455c4296818b28c73c1d87b1152c8ec3b9d' ima: Allocated hash algorithm: sha256 ima: No architecture policies found evm: Initialising EVM extended attributes: evm: security.selinux (disabled) evm: security.SMACK64 (disabled) evm: security.SMACK64EXEC (disabled) evm: security.SMACK64TRANSMUTE (disabled) evm: security.SMACK64MMAP (disabled) evm: security.apparmor evm: security.ima evm: security.capability evm: HMAC attrs: 0x1 printk: legacy console [netcon0] enabled netconsole: network logging started gtp: GTP module loaded (pdp ctx size 128 bytes) rdma_rxe: loaded clk: Disabling unused clocks PM: genpd: Disabling unused power domains ALSA device list: #0: Dummy 1 #1: Loopback 1 #2: Virtual MIDI Card 1 md: Skipping autodetection of RAID arrays. (raid=autodetect will force) EXT4-fs (vda): mounted filesystem 34b94c48-234b-4869-b990-1f782e29954a ro with ordered data mode. Quota mode: none. VFS: Mounted root (ext4 filesystem) readonly on device 253:0. devtmpfs: mounted Freeing unused kernel image (initmem) memory: 2532K Failed to set sysctl parameter 'max_rcu_stall_to_panic=1': parameter not found Run /sbin/init as init process Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 1 UID: 0 PID: 1 Comm: init Not tainted 6.11.0-rc2-syzkaller-g1ff95eb2bebd #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:93 [inline] [] dump_stack_lvl+0x108/0x196 lib/dump_stack.c:119 [] dump_stack+0x1c/0x24 lib/dump_stack.c:128 [] panic+0x388/0x806 kernel/panic.c:348 [] schedule_debug kernel/sched/core.c:5745 [inline] [] __schedule+0x3230/0x3288 kernel/sched/core.c:6411 [] preempt_schedule_common kernel/sched/core.c:6708 [inline] [] preempt_schedule+0xd2/0x1e2 kernel/sched/core.c:6732 [] __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] [] _raw_spin_unlock+0x88/0xa8 kernel/locking/spinlock.c:186 [] spin_unlock include/linux/spinlock.h:391 [inline] [] filemap_map_pages+0xa4a/0xf70 mm/filemap.c:3655 [] do_fault_around mm/memory.c:5019 [inline] [] do_read_fault mm/memory.c:5052 [inline] [] do_fault mm/memory.c:5191 [inline] [] do_pte_missing mm/memory.c:3947 [inline] [] handle_pte_fault mm/memory.c:5522 [inline] [] __handle_mm_fault+0x1cbe/0x3998 mm/memory.c:5665 [] handle_mm_fault+0x5b2/0xb36 mm/memory.c:5833 [] handle_page_fault+0x2ba/0x1588 arch/riscv/mm/fault.c:302 [] do_page_fault+0x20/0x56 arch/riscv/kernel/traps.c:362 [] handle_exception+0xca/0xd6 arch/riscv/kernel/entry.S:110 SMP: stopping secondary CPUs Rebooting in 86400 seconds.. --- 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv