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 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96903C433E0 for ; Tue, 30 Jun 2020 13:03:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64D8F2068F for ; Tue, 30 Jun 2020 13:03:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="I5aQSMC5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64D8F2068F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EEQRus9tHDTE9rYUs5UAs2/nsP+6U/HWF0PvH5kne94=; b=I5aQSMC5D5fVFdpFI9zs3iRCl XmjYlEB8YnrrSixk4XABbH4R/TH79/KPwvdR2c0+ZBb/wzgISo3gdRamaNGDlUZQjWApLMHG1iu4z rVmPos4Th+7+C7bB3MUy1kL1Xqr+wiAQG6Rofnf1eenaEZf6sWk+1XN5SCca4HX+Kd6vS809jDp1a d7gPUqg2Jbd9ELLwmlOa4AKdqHpZGIQ2EvLyDvtc0fx2pRZv1/xcjkllkbWT56h5FLxkfp+gcUmqh PTVvnmrWcyYWy+x44vW7WPjErAltgyj2bkxdQOwWB5A88QPiwX+r1xLrUUlhAeV9tav6FmZp5yivt dQFOi0C/Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqFvS-0000zF-1Z; Tue, 30 Jun 2020 13:03:50 +0000 Received: from mx2.suse.de ([195.135.220.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqFvP-0000yk-Tq for linux-riscv@lists.infradead.org; Tue, 30 Jun 2020 13:03:48 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 08DD7AC50; Tue, 30 Jun 2020 13:03:47 +0000 (UTC) From: Andreas Schwab To: Dmitry Vyukov Subject: Re: syzkaller on risc-v References: X-Yow: ...Just enough time to do my LIBERACE impression... Date: Tue, 30 Jun 2020 15:03:46 +0200 In-Reply-To: (Dmitry Vyukov's message of "Tue, 30 Jun 2020 14:48:31 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Albert Ou , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , syzkaller , Palmer Dabbelt , Paul Walmsley , Tobias Klauser , linux-riscv@lists.infradead.org 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 On Jun 30 2020, Dmitry Vyukov wrote: > I would assume some stack overflows can happen without KCOV as well. Yes, I see stack overflows quite a lot, like this: [62192.908680] Kernel panic - not syncing: corrupted stack end detected inside scheduler [62192.915752] CPU: 0 PID: 12347 Comm: ld Not tainted 5.7.5-221-default #1 openSUSE Tumbleweed (unreleased) [62192.925204] Call Trace: [62192.927646] [] walk_stackframe+0x0/0xaa [62192.933030] [] show_stack+0x2a/0x34 [62192.938066] [] dump_stack+0x6e/0x88 [62192.943098] [] panic+0xe8/0x26a [62192.947785] [] schedule+0x0/0xb2 [62192.952561] [] _cond_resched+0x32/0x44 [62192.957859] [] invalidate_mapping_pages+0xe0/0x1ce [62192.964193] [] inode_lru_isolate+0x238/0x298 [62192.970012] [] __list_lru_walk_one+0x5e/0xf6 [62192.975826] [] list_lru_walk_one+0x42/0x98 [62192.981470] [] prune_icache_sb+0x32/0x72 [62192.986941] [] super_cache_scan+0xe4/0x13e [62192.992586] [] do_shrink_slab+0x10e/0x17e [62192.998142] [] shrink_slab_memcg+0x10a/0x1de [62193.003957] [] shrink_node_memcgs+0x12e/0x1a4 [62193.009861] [] shrink_node+0xfa/0x43c [62193.015067] [] shrink_zones+0x78/0x18c [62193.020365] [] do_try_to_free_pages+0x9e/0x23e [62193.026352] [] try_to_free_pages+0xb2/0xf4 [62193.031991] [] __alloc_pages_slowpath.constprop.0+0x2d0/0x6c2 [62193.039284] [] __alloc_pages_nodemask+0x156/0x1b2 [62193.045535] [] do_anonymous_page+0x58/0x41c [62193.051266] [] handle_pte_fault+0x12e/0x156 [62193.056994] [] __handle_mm_fault+0xca/0x118 [62193.062725] [] handle_mm_fault+0xa0/0x152 [62193.068278] [] do_page_fault+0xd6/0x370 [62193.073666] [] ret_from_exception+0x0/0xc [62193.079222] [] copy_page_to_iter_iovec+0x4c/0x154 or this: [200460.114397] Kernel panic - not syncing: corrupted stack end detected inside scheduler [200460.121553] CPU: 0 PID: 32619 Comm: sh Not tainted 5.7.5-221-default #1 openSUSE Tumbleweed (unreleased) [200460.131090] Call Trace: [200460.133623] [] walk_stackframe+0x0/0xaa [200460.139091] [] show_stack+0x2a/0x34 [200460.144212] [] dump_stack+0x6e/0x88 [200460.149335] [] panic+0xe8/0x26a [200460.154109] [] schedule+0x0/0xb2 [200460.158969] [] _cond_resched+0x32/0x44 [200460.164348] [] aa_sk_perm+0x38/0x138 [200460.169559] [] apparmor_socket_sendmsg+0x18/0x20 [200460.175817] [] security_socket_sendmsg+0x2a/0x42 [200460.182061] [] sock_sendmsg+0x1a/0x40 [200460.195979] [] xprt_sock_sendmsg+0xb2/0x2b6 [sunrpc] [200460.210450] [] xs_tcp_send_request+0xc6/0x206 [sunrpc] [200460.224930] [] xprt_request_transmit.constprop.0+0x88/0x218 [sunrpc] [200460.240731] [] xprt_transmit+0x9a/0x182 [sunrpc] [200460.254858] [] call_transmit+0x68/0xb8 [sunrpc] [200460.268817] [] __rpc_execute+0x84/0x222 [sunrpc] [200460.282787] [] rpc_execute+0xac/0xb8 [sunrpc] [200460.296493] [] rpc_run_task+0x122/0x178 [sunrpc] [200460.314422] [] nfs4_do_call_sync+0x64/0x84 [nfsv4] [200460.332514] [] _nfs4_proc_getattr+0xc2/0xd4 [nfsv4] [200460.350813] [] nfs4_proc_getattr+0x48/0x72 [nfsv4] [200460.363307] [] __nfs_revalidate_inode+0x104/0x2c8 [nfs] [200460.376204] [] nfs_access_get_cached+0x104/0x212 [nfs] [200460.389112] [] nfs_do_access+0xfa/0x178 [nfs] [200460.401176] [] nfs_permission+0x8e/0x184 [nfs] [200460.406497] [] inode_permission.part.0+0x78/0x118 [200460.412838] [] link_path_walk.part.0+0x1bc/0x212 [200460.419086] [] path_lookupat+0x34/0x172 [200460.424559] [] filename_lookup+0x5c/0xf4 [200460.430114] [] user_path_at_empty+0x3a/0x5e [200460.435931] [] vfs_statx+0x62/0xbc [200460.440966] [] __do_sys_newfstatat+0x24/0x3a [200460.446870] [] sys_newfstatat+0x10/0x18 [200460.452339] [] ret_from_syscall+0x0/0x2 Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv