Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3005460rwb; Fri, 20 Jan 2023 09:58:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXthYxz03E4T1IvnWSghqemBUQyOEGoSNoRQFkFVSBF5wIwIDdqPHrusiKriOm+SaPMRw+I+ X-Received: by 2002:a17:902:d918:b0:194:8c5c:5c2f with SMTP id c24-20020a170902d91800b001948c5c5c2fmr16262059plz.1.1674237486700; Fri, 20 Jan 2023 09:58:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674237486; cv=none; d=google.com; s=arc-20160816; b=wHtEwvb6/HAhn/J/OiK9vWQcuEicaRZw0GyA41mjv9kAaRDP7HI5JAV9kTMfiZ/AlD aSLtwSEOmAz5J4J2DQ8kEkO4fY4uUdmIEHuQb1VNvV8P3hJ7b0QyG+v8VPIBxXuezC79 79tNi68hizjio7IqeRFY/mpI/ND0Z6eqGipz4Z3zj0Izz/GK1n+bk0gDw6jUsz6vsx0h dVafd+zwgOzw+oOjx00I4anPoty+4tu3xAcU5bNETz1PGYFwxG5rBr4SlfMzQd6d7XNW RSW+DABfaVP5mavaESg/tKZo9qHtE5TO9/59KiFE8nCwrEHRXcJ3TnY6gfGT1n55L+6C uaGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MFJCoGeSrihfzrkCuQjN/qpy9mLOBCjJnrpNLhgD4Lg=; b=rA5DYy4YZumJ0yBRwZYg9+/jgvXKO22/gKjri/ttLV1CBwM3sXksDhJcF8M1JQaMIc hBEOElQSX67clUCWYtWDRsx96Gv/o+ybUxidUzhLe6BxBbG2Uma84hgdA5EE4BvMaHMu KBivYwueI6AiNV5eohooCD0W5FjOEsVBvjk2WfKmUmUfOXvNWtvZOJ7hr7AeNVZT+FvX ao+nYJADgw7K6OETaaSzXkdJCFIvU0IFH+Upetywaovap+X+B2OHmpQYFNwttXZEVOs8 masOVeMuWEySA4SKTOP8foHfjqGW2wm3Qd//9z+QCA1dLihAv1d8wpBO8mhUFX/TeWJR pW7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=jxbLdOZd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s18-20020a17090302d200b00189d63396c2si43036618plk.35.2023.01.20.09.57.59; Fri, 20 Jan 2023 09:58:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=jxbLdOZd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229843AbjATRP0 (ORCPT + 50 others); Fri, 20 Jan 2023 12:15:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbjATRPW (ORCPT ); Fri, 20 Jan 2023 12:15:22 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9595028D1C; Fri, 20 Jan 2023 09:15:17 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 3A76122C64; Fri, 20 Jan 2023 17:15:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1674234916; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=MFJCoGeSrihfzrkCuQjN/qpy9mLOBCjJnrpNLhgD4Lg=; b=jxbLdOZdQCnhWstLnBGQQX60A7hITEXelnnm24CPb+MYHl+MrG3vxfuHOn1q654eduLQBG 2TcAfNdw2Ri5qKiqJfFWMXB9kXw8F7TvVPQirxRbFhN/DjlGP6RBsJVKULvXPiE8TNKNdn kxhL5fKkdfP5/1g6JCnW0hjuEN8NvRU= Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id 313282C141; Fri, 20 Jan 2023 17:15:16 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 9E4A8DA7DE; Fri, 20 Jan 2023 18:09:37 +0100 (CET) From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 6.2-rc5, part 2 Date: Fri, 20 Jan 2023 18:09:36 +0100 Message-Id: X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, there are two more fixes and an update that's not a fix but replaces use of write_one_page which is going to be removed (similar updates to other filesystems go via other trees). Please pull, thanks. - fix potential out-of-bounds access to leaf data when seeking in an inline file - fix potential crash in quota when rescan races with disable - reimplement super block signature scratching by marking page/folio dirty and syncing block device, allow removing write_one_page ---------------------------------------------------------------- The following changes since commit 09e44868f1e03c7825ca4283256abedc95e249a3: btrfs: do not abort transaction on failure to update log root (2023-01-12 15:43:31 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-6.2-rc4-tag for you to fetch changes up to b7adbf9ada3513d2092362c8eac5cddc5b651f5c: btrfs: fix race between quota rescan and disable leading to NULL pointer deref (2023-01-16 19:46:54 +0100) ---------------------------------------------------------------- Christoph Hellwig (2): btrfs: factor out scratching of one regular super block btrfs: stop using write_one_page in btrfs_scratch_superblock Filipe Manana (2): btrfs: fix invalid leaf access due to inline extent during lseek btrfs: fix race between quota rescan and disable leading to NULL pointer deref fs/btrfs/file.c | 13 ++++++++++--- fs/btrfs/qgroup.c | 25 +++++++++++++++++-------- fs/btrfs/volumes.c | 50 +++++++++++++++++++++++++------------------------- 3 files changed, 52 insertions(+), 36 deletions(-)