Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2453280rdb; Mon, 12 Feb 2024 05:37:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVULy6YLBJK6RIVgdnktF7QxvKZA6vCvnv6zEHpJyvc2lHPr01brwVk6YcTEvPj3Ok6puyBPE4pF5dDihHUo5fVg5tNeB93YH+X44fmzA== X-Google-Smtp-Source: AGHT+IGuD1toUh5RFwqWUlDepe9u2qtTBMiFTndIwDXighDQqvefwz6KI1S9c/55ZWmyuYF7VaYg X-Received: by 2002:a92:905:0:b0:363:cb23:ad95 with SMTP id y5-20020a920905000000b00363cb23ad95mr6708039ilg.10.1707745041685; Mon, 12 Feb 2024 05:37:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707745041; cv=pass; d=google.com; s=arc-20160816; b=LWLQFrWtqMrfe98d81WfIRCFRxObm1tUcd4PcBxF2JE+QxA9IC6p1gNX52YGDOMJ8s VlUGynxQNl/+PpmeyRutNSWN7vwQFX7xnjqNDvjwiSYuhsitXCk9g/3B2dToKvRm2sUj d4IvR9s9HCP/ZoWOWspAEmkpxESPyU/AwooUWy66xuQ4KCRWaibkdCbhSwDAdH0Agksd NbyGLRAFHwKmj4IDS0JaXST/rvVe54sx/+7eaWaQV09J64ALLFHljMdCw5x1h3onTwI8 apK5oadZV0c5wckwGFrkaS5hbuHPMH8oueflqD4mabpbMVD7NHp6igr/Ic8M2AcYeCoV ogjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=6JkVcVZxZODTrdG1g0ooZoXOZDuPkKduhykZYkAPZq0=; fh=9azHq1CQsS/Sc8ta3v+NM/7ZOrt7IFw7SgzshlcyU5s=; b=i0E8+pojvqP3fFy6gSbb1fvgI9n9CMFgkw2GIFYHc9NunGrvASqOrP1OtH6nsxVd6g n9C7hpo9WZGs6gpB7sV9qGYQLcpH9+fOI8Q8ecpQM7a/OGqJSKzbV97xn6FWOPAvtise /1H7/wbAnuG3niSU404Gb4qoPM2vGLIX/i7NpMWxNejXOgUB36lMz1YuzOtImMzdKqRx chKmZawcVFZ+FTTIngmQn6q0tkgJgkFfihLrx7ej7vv8yA6OVmZxfg3HwC1XX3AVXkgz AHBDHGD+Sin15E6RIDI64eWHP/P0FWidp8pFW8HqCD0D62YIPUVPjP+T2ER5Qj3xIRfx wWow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=rqVzJaxC; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=QenqSsS6; 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-ext4+bounces-1198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1198-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUOeoakLTfkmpUz4MSGI3j98TcLjQaEIVCsWpC6o5u7o306UmIxGBk24jG6MVNBMZ7RNCfPTTKKIc9gxW4GFaeqTGW4fU+MfGSWYecMNA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w7-20020a636207000000b005dc4c1f8c5dsi262655pgb.579.2024.02.12.05.37.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:37:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-1198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=rqVzJaxC; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=QenqSsS6; 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-ext4+bounces-1198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1198-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9F3FB285080 for ; Mon, 12 Feb 2024 13:34:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB0803FB1F; Mon, 12 Feb 2024 13:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="rqVzJaxC"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="LAWNKNui"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="QenqSsS6"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="Z2CxIUZW" X-Original-To: linux-ext4@vger.kernel.org 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 9B23A3EA6C; Mon, 12 Feb 2024 13:23:52 +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=1707744234; cv=none; b=mHJC2Y4Rjhp+G8df3NxKr2uPHTlc2z1agubHzp50+5pEWaddm0soC4OXkb/ePLNnaOYwqs/ea2zgfDhRi942yMTyulbMKsFUTa6gawJysklVIuxEHQdT1pBAKG50yTyA+4dcTaYH+78sN0ssGzKFUnMk4HH1yEgczQfidkOxDVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707744234; c=relaxed/simple; bh=wSQR6gsLt3mG1V9dqLVK5pFi2KxJsal8RGKoLPtALr0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jn12mqPRbA1SLU/N7hp2YzQBolq70qrerdX+4jaWusaYB/x98AAS7FvvsdVruaydP5ykM04IDuO5jhrYRhJO/hAOctov5ZGetpR0Ug8fw2/5xYck2VGZKL/56tIomdSCR5f8TAuaqADu14+JazHkkegwf6RKAPS2/5QnM5xtAj4= 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=rqVzJaxC; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=LAWNKNui; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=QenqSsS6; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=Z2CxIUZW; 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 imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (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 D65AC1F769; Mon, 12 Feb 2024 13:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1707744231; h=from:from: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=6JkVcVZxZODTrdG1g0ooZoXOZDuPkKduhykZYkAPZq0=; b=rqVzJaxCdss1LH04Ym0CSvcK1bTB8gJFNIk2lAhgvX5fjUFzj7Dg3DdLLCCOg0V4lYdLWs CgkoAWZdqii+TPi8rkGW/iyTNDtzCagSFSYUzFL9aza2gPvsnBLkGbbagpydFIpmdgP7B5 xcAYcxkNug71WtwxO/W5QaYO2p757e8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1707744231; h=from:from: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=6JkVcVZxZODTrdG1g0ooZoXOZDuPkKduhykZYkAPZq0=; b=LAWNKNuiVW4v0he9H+338pFeDaR3AkSJbgtJM4XXJN4C7PNo0dRI+DqZTaVNile5q4A09o m9fcthPQed1LZlCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1707744230; h=from:from: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=6JkVcVZxZODTrdG1g0ooZoXOZDuPkKduhykZYkAPZq0=; b=QenqSsS6WZz7R2n1edat8BSuvZw7dvJwhuZ12pO0+w9nLYSI81tVqJFvo6R4qT/RV34PrQ pnVoCp8yq9M5m0//ZOn2aFY9hbTpcDgNZMESiR7YACmh4F/Qn/tjq3LKO3UbQVvpTPEpOx vk5/M9VPy/x2M+FRFp8FmUCwTwwjt84= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1707744230; h=from:from: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=6JkVcVZxZODTrdG1g0ooZoXOZDuPkKduhykZYkAPZq0=; b=Z2CxIUZWdkji8Ocyn1ByKhfdkz5/yPGJBn/RAhpLA4pnQldJ1LqF9DLBe3a4SRqEvN6j5D /jKnZ7TshS67a2Dg== Received: from imap2.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 imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id C5C0213212; Mon, 12 Feb 2024 13:23:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id vdoEMOYbymUtMwAAn2gu4w (envelope-from ); Mon, 12 Feb 2024 13:23:50 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 56EA3A0809; Mon, 12 Feb 2024 14:23:50 +0100 (CET) Date: Mon, 12 Feb 2024 14:23:50 +0100 From: Jan Kara To: syzbot Cc: adilger.kernel@dilger.ca, axboe@kernel.dk, brauner@kernel.org, jack@suse.cz, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, nathan@kernel.org, ndesaulniers@google.com, syzkaller-bugs@googlegroups.com, trix@redhat.com, tytso@mit.edu Subject: Re: [syzbot] [ext4?] kernel BUG in ext4_enable_quotas Message-ID: <20240212132350.ipdht3ttxyivl33p@quack3> References: <0000000000000126ec05ffd5a528@google.com> <0000000000002903a406110849e9@google.com> Precedence: bulk X-Mailing-List: linux-ext4@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: <0000000000002903a406110849e9@google.com> Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: * X-Spam-Score: 1.69 X-Spamd-Result: default: False [1.69 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; BAYES_HAM(-0.01)[51.36%]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; URI_HIDDEN_PATH(1.00)[https://syzkaller.appspot.com/x/.config?x=1b32f62c755c3a9c]; TAGGED_RCPT(0.00)[693985588d7a5e439483]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_RATELIMIT(0.00)[to_ip_from(RL9mptuuj8f371ag1nhgyt86ac)]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_TWELVE(0.00)[14]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email,syzkaller.appspot.com:url]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; SUBJECT_HAS_QUESTION(0.00)[] X-Spam-Flag: NO On Sat 10-02-24 06:59:05, syzbot wrote: > syzbot suspects this issue was fixed by commit: > > commit 6f861765464f43a71462d52026fbddfc858239a5 > Author: Jan Kara > Date: Wed Nov 1 17:43:10 2023 +0000 > > fs: Block writes to mounted block devices > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=147e5b20180000 > start commit: 89bf6209cad6 Merge tag 'devicetree-fixes-for-6.5-2' of git.. > git tree: upstream > kernel config: https://syzkaller.appspot.com/x/.config?x=1b32f62c755c3a9c > dashboard link: https://syzkaller.appspot.com/bug?extid=693985588d7a5e439483 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11ba1fefa80000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1636640fa80000 > > If the result looks correct, please mark the issue as fixed by replying with: The syzbot reproducer seems to mess with multiple ext4 mounts stacked on one another and the loop device as well. Quite likely it managed to corrupt the mounted filesystem. So: #syz fix: fs: Block writes to mounted block devices Honza -- Jan Kara SUSE Labs, CR