From patchwork Wed Feb 28 22:24:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bethany Jamison X-Patchwork-Id: 1906027 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TlTRs2xQKz23qX for ; Thu, 29 Feb 2024 09:24:40 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1rfSLf-0001mM-A2; Wed, 28 Feb 2024 22:24:23 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rfSLW-0001lz-1d for kernel-team@lists.ubuntu.com; Wed, 28 Feb 2024 22:24:14 +0000 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id A56253F6B0 for ; Wed, 28 Feb 2024 22:24:13 +0000 (UTC) Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-365bde344ebso3853865ab.0 for ; Wed, 28 Feb 2024 14:24:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709159052; x=1709763852; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N/QWO6p2J06SqyMRqN+xcfD6NSF5R6phUpEGJzXtbvI=; b=fAHXh0bS1glgQ7a7QF3QCniT84UR015wb/UsCzNqyhPiEV4YyC1oLja59e8Tru8Yyo HP7C+Jxv0xdlE/qcKHgnAblhuXxKpFdidld/3kyklG+JLTuvJgom8OArO26qVPDU/aEb z/v6sthzK9NVMi6iAewTrKQk3dtDrpS4aKm9mhqN/ICuenZYp5z1o/B68U5xP0EEqH0a ZptadNg2rKZ4NwEt2tbpYwXexcS7CDGea0JKBl5Ss/6Wnk32PSK3N+AhoyuwfS3khyNY jPQChF9fa+YaG8X1b8Qd8zPYM5IlrSEjuQJwLL9qZyN0R9Y90XjRcRpGRltboWAst+2r vDkA== X-Gm-Message-State: AOJu0YzrI/HW0EuKifdMnTIpoZL1IXT8XdndMuKuEznACg3nxHBtNRmW D92CRtK3H7ZO49eQ+xQUPwOXVCD4nkS+2OU+6udxt/yt8gtJoZvof29z/CiQEPvxo7DRxCMMr2f tDOi1OzdPn3tOu8m7cToPykmavV0LrZHDI87I6vkYuGtAhhvPZLty6t24ijMSi+Tv28XosnMALU Ta5mP7SFK/KA== X-Received: by 2002:a05:6e02:104c:b0:365:13c0:1bc3 with SMTP id p12-20020a056e02104c00b0036513c01bc3mr558899ilj.20.1709159052328; Wed, 28 Feb 2024 14:24:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfHchfLRjWKtzoezuaFlzb8PBlDNDYsVG5Rh1MmDcXCUDLaIavUI1S/PSJXK0oQpdZ2UB/mg== X-Received: by 2002:a05:6e02:104c:b0:365:13c0:1bc3 with SMTP id p12-20020a056e02104c00b0036513c01bc3mr558892ilj.20.1709159052057; Wed, 28 Feb 2024 14:24:12 -0800 (PST) Received: from smtp.gmail.com (104-218-69-129.dynamic.lnk.ne.allofiber.net. [104.218.69.129]) by smtp.gmail.com with ESMTPSA id t7-20020a92c0c7000000b0036576c9ea6esm4452ilf.42.2024.02.28.14.24.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 14:24:11 -0800 (PST) From: Bethany Jamison To: kernel-team@lists.ubuntu.com Subject: [SRU][Mantic][Jammy][PATCH 0/1] CVE-2024-23850 Date: Wed, 28 Feb 2024 16:24:09 -0600 Message-Id: <20240228222410.43705-1-bethany.jamison@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" [Impact] In btrfs_get_root_ref in fs/btrfs/disk-io.c in the Linux kernel through 6.7.1, there can be an assertion failure and crash because a subvolume can be read out too soon after its root item is inserted upon subvolume creation. [Fix] Mantic: Clean cherry-pick. Jammy: Mantic patch applied cleanly. [Test Case] Compile and boot tested. [Where problems could occur] This affects those who use a kernel 6.7.1 and older and make subvolumes for btrfs. Qu Wenruo (1): btrfs: do not ASSERT() if the newly created subvolume already got read fs/btrfs/disk-io.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) Acked-by: Andrei Gherzan Acked-by: Tim Gardner