Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp127261lqo; Wed, 15 May 2024 09:23:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCHvjlWBxOgA/M4Z0X92ilhhwzeG8xu+1/kRJeUKged6TxQIagTJncYzwYhu9UmMkEdNTkJWDY6rPYO2RgBHYmnlkEtrzH0E0eR9M8rw== X-Google-Smtp-Source: AGHT+IFtgMzBkLS7YSSGDQt2WML2JZX/kewP2HYzEXDNtFjjra3OUxpD04MIyCOfd+g4rgCwOj2A X-Received: by 2002:a05:6a00:4b4c:b0:6f3:c10a:7bdd with SMTP id d2e1a72fcca58-6f4e02d36a4mr24357231b3a.18.1715790225102; Wed, 15 May 2024 09:23:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715790225; cv=pass; d=google.com; s=arc-20160816; b=ZTwCVI1z+cqIjlO1fKNTgFXvu9LFz19Y2RHZWsXyIygr3p/7yLeXW+n/Aqp2l8Cbjj Xtzbh7nXRCYNg3P2BusujwTi6RBi9BnepTTCXhxcxSFrRiptFslOUEJhf6saR5LZ/C8c JurdSvGfmcOGsyshYlTUHekKwoEeFQnqTtHFvR81P3XO1FhVzcSTSwGIvCpaxllJNH1R Yp+0xcq84PeD0O1CN5Vg4pabzttaWsNf2ahpKP88De4UKa/1tak0VDXVwv3dPn6equKW IGm3KN2cqocx5+9pbWHeNnMedlC9yCq+TzlSkW2walMR3fDWhwt8LCL9BpTzkvJ1yOrE 5Q9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :reply-to:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature:dkim-signature:dkim-signature; bh=H8tleQ6Q2fB1v8wfKi3LmYiVSkhChrLrR1OmwIuZqv8=; fh=B2HRYw4IACBVtC5Oo2mnPkuZlTQnjTWleFxFskzIggs=; b=paSyMcRhIOYUX6ipgtYlmHXnSqmrVeR0yhLPOzSsKlVIgTOnF5rbS+0ovzSnzladxt hSiVS30p+qq32cU5Fv5QrtbJdoBm3RPaGRk1TetkPO3PfoJ/5qZuFRR18atqZ7dInRVN I5ecljw5TeZ/N05GWd0XsOMk5hlt/+JNlY55z1IxYei2cOTmCSpTrp3/pY+REPhVx84x LmNGGY6sGjbrwycqjIT4SWgnZfXdnkpw6kiiBafPZnsyKehYxo2rEuoA3IKTjfnl9OZP /MnQ6FOuACPTw1FFj4gKW0TbzdeTIMJMlOxLKj0VGBgyWXhqjpltg+zmorVnUcSe/LRY lJDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FGGsKCDb; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FGGsKCDb; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-180119-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180119-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-634103f6840si14022492a12.303.2024.05.15.09.23.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 09:23:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180119-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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FGGsKCDb; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FGGsKCDb; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-180119-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180119-linux.lists.archive=gmail.com@vger.kernel.org" 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 98AE8B24BD1 for ; Wed, 15 May 2024 16:13:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96BA9156654; Wed, 15 May 2024 16:13:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="FGGsKCDb"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="Ncl0nM74"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="FGGsKCDb"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="Ncl0nM74" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 ED7A415624D; Wed, 15 May 2024 16:13:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715789599; cv=none; b=sd/645/3/aaLavY0D95rbpymcMLRwMYu6LAZJRuMnXf7VLKMQpb5y3v1x5fvfa43b7vqsz4yfShS5eWijATN2oK93CGEmQrvdY+Jp6D94p5u/OPfPuuU+j8JZAsaxdQ9EBN+ceSQvGrfCIc7H8aZ31B7R9QNkc5/uPnILirB6Qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715789599; c=relaxed/simple; bh=6KFAktHlckvn9kXUIg/2ZeqLAvcGfH7sutdSydTSF6U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ArlPS2bxMp2a1xcsUqW88lJvD7VesgI9AFbiwKLtOyowTmrfpsnBjgYczaRiSoqPcwVKbxDXwtlTa1eDrolmAhw5HNHlN+RGLGyrNCnF73SKw5tzKNixpgYzspuzBX+c/+//RvV7GT77HGd4j+aPHY4Ury9RFdAE3OKn2RVrhP8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=FGGsKCDb; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=Ncl0nM74; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=FGGsKCDb; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=Ncl0nM74; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0B7E3208BC; Wed, 15 May 2024 16:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1715789596; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H8tleQ6Q2fB1v8wfKi3LmYiVSkhChrLrR1OmwIuZqv8=; b=FGGsKCDbOS9BJosidUDNjOxDakuyDPMjryv4W3hwVuurVuyoiN17DHofVKJCYwa0ajbw+U tAOP3fIwBmRY+Xd7cJMWc8NrAWc4KDqXCdmK8k4py3shX8D1j/o5nb2SqQ8kvVB0oKSzeL y/hM6HmdxkHXBYq9/aMQerUJhXt7UuE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1715789596; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H8tleQ6Q2fB1v8wfKi3LmYiVSkhChrLrR1OmwIuZqv8=; b=Ncl0nM74+blaLrlxw2NscfvXk8B0E2wJf0i7tHWi4oH7BBCe9QHOCYA5PGb2gkubJQiMYK wuqEINAZ9tkeAwDQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=FGGsKCDb; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=Ncl0nM74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1715789596; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H8tleQ6Q2fB1v8wfKi3LmYiVSkhChrLrR1OmwIuZqv8=; b=FGGsKCDbOS9BJosidUDNjOxDakuyDPMjryv4W3hwVuurVuyoiN17DHofVKJCYwa0ajbw+U tAOP3fIwBmRY+Xd7cJMWc8NrAWc4KDqXCdmK8k4py3shX8D1j/o5nb2SqQ8kvVB0oKSzeL y/hM6HmdxkHXBYq9/aMQerUJhXt7UuE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1715789596; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H8tleQ6Q2fB1v8wfKi3LmYiVSkhChrLrR1OmwIuZqv8=; b=Ncl0nM74+blaLrlxw2NscfvXk8B0E2wJf0i7tHWi4oH7BBCe9QHOCYA5PGb2gkubJQiMYK wuqEINAZ9tkeAwDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id EB07F1372E; Wed, 15 May 2024 16:13:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id +7PzOBvfRGYTZgAAD6G6ig (envelope-from ); Wed, 15 May 2024 16:13:15 +0000 Date: Wed, 15 May 2024 18:13:14 +0200 From: David Sterba To: syzbot Cc: axboe@kernel.dk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org, oleg@redhat.com, peterz@infradead.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Subject: Re: kernel BUG at fs/inode.c:LINE! (2) Message-ID: <20240515161314.GO4449@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <000000000000c8fcd905adefe24b@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000000000000c8fcd905adefe24b@google.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Rspamd-Action: no action X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Level: X-Spamd-Result: default: False [0.56 / 50.00]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; URI_HIDDEN_PATH(1.00)[https://syzkaller.appspot.com/x/.config?x=891ca5711a9f1650]; BAYES_HAM(-0.73)[83.78%]; HAS_REPLYTO(0.30)[dsterba@suse.cz]; NEURAL_HAM_SHORT(-0.20)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; SUBJECT_HAS_EXCLAIM(0.00)[]; TO_DN_SOME(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_SEVEN(0.00)[9]; TAGGED_RCPT(0.00)[c92c93d1f1aaaacdb9db]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; DKIM_TRACE(0.00)[suse.cz:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:dkim,suse.cz:replyto,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns] X-Rspamd-Queue-Id: 0B7E3208BC X-Spam-Flag: NO X-Spam-Score: 0.56 X-Spamd-Bar: / On Fri, Aug 28, 2020 at 06:18:17AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: d012a719 Linux 5.9-rc2 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15aa650e900000 > kernel config: https://syzkaller.appspot.com/x/.config?x=891ca5711a9f1650 > dashboard link: https://syzkaller.appspot.com/bug?extid=c92c93d1f1aaaacdb9db > compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12ecb939900000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=140a19a9900000 > > The issue was bisected to: > > commit a9ed4a6560b8562b7e2e2bed9527e88001f7b682 > Author: Marc Zyngier > Date: Wed Aug 19 16:12:17 2020 +0000 > > epoll: Keep a reference on files added to the check list > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16a50519900000 > final oops: https://syzkaller.appspot.com/x/report.txt?x=15a50519900000 > console output: https://syzkaller.appspot.com/x/log.txt?x=11a50519900000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+c92c93d1f1aaaacdb9db@syzkaller.appspotmail.com > Fixes: a9ed4a6560b8 ("epoll: Keep a reference on files added to the check list") > > ------------[ cut here ]------------ > kernel BUG at fs/inode.c:1668! #syz set subsystem: fs This has been among btrfs bugs but this is is 'fs' and probably with a fix but I was not able to identify it among all the changes in eventpoll.c