Message ID | 20241226093256.44361-1-d.privalov@omp.ru |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=Zoq4=TT=vger.kernel.org=linux-ext4+bounces-5853-patchwork-incoming=ozlabs.org@ozlabs.org> 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=ozlabs.org (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org; envelope-from=srs0=zoq4=tt=vger.kernel.org=linux-ext4+bounces-5853-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4YJk2p5QTRz1ySc for <incoming@patchwork.ozlabs.org>; Thu, 26 Dec 2024 20:33:38 +1100 (AEDT) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4YJk2j2XFNz4x3p for <incoming@patchwork.ozlabs.org>; Thu, 26 Dec 2024 20:33:33 +1100 (AEDT) Received: by gandalf.ozlabs.org (Postfix) id 4YJk2j2N3Cz4x3q; Thu, 26 Dec 2024 20:33:33 +1100 (AEDT) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2604:1380:4601:e00::3" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1735205613; cv=pass; b=lqnt1hTNeV+TbnEUEvNC3kYgUvoJe7bfi9yeJabtObpNdSVg/ePFeU0+epZSUe8dKiYmTmhGw3BvOPsqSRWrS/KUBHejgcPya7TLGm7tWK+LK4Ws78402ijv9kocrfLPqqW0Rd9coakeqCAaiZ9SDELtWUvUi1N5h2jlFHExwU3wVzqMSFZ9SV4fl9nwQoR93E85/4XEA0j5bO4SdtVU9kymsI4s2faLni36wpuFG2vogB25rDnkvA2d55l1g2wVuqXXar2R/rrmX3Ay/lUopdCZcNPVQQq2FCtpzS5LWvvVLsY3IOpG0HXL5cB+IdghYhbE+i3LEh8nNrJbNVsW4g== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1735205613; c=relaxed/relaxed; bh=1DBAucbrMBM3S7dJLjiQAvIrphX3+9tHQa/Sy6lSmQo=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Jyfyf+2T04KQFN5KYiY7+KzG+wajfPYIhxX6vibFRHtvyThiuL8ueexG8CG2rhoVrHnpOrbA4a3iqcuoiivyLr8H91bspTNxalYh0fh1VdUFfuKQvRsuhRMLrrvLqTKSizkAMk2YsRslBQJUcvTZULpW2JCjEDNXHVT6f4nd6bcWUKlR0XktakbMOhlNimF727D6Wz58HiCRyxALhB3BsES8cNeokSMDJ1X84VerX4fJVeGofY52y4gtRmR8QXbnQIS4mZAjjhUEHIKOJxTupnFk4PULie1yivtIayTlf7JP+71rERAdjsN9URqo/jw6Y9953xg8MObF1gArwAoffw== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=omp.ru; spf=pass (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=linux-ext4+bounces-5853-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=omp.ru Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=linux-ext4+bounces-5853-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (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 gandalf.ozlabs.org (Postfix) with ESMTPS id 4YJk2c5rG2z4x3p for <patchwork-incoming@ozlabs.org>; Thu, 26 Dec 2024 20:33:28 +1100 (AEDT) Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4557E1882FD4 for <patchwork-incoming@ozlabs.org>; Thu, 26 Dec 2024 09:33:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E89651537A8; Thu, 26 Dec 2024 09:33:24 +0000 (UTC) X-Original-To: linux-ext4@vger.kernel.org Received: from mx01.omp.ru (mx01.omp.ru [90.154.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83AB714F108; Thu, 26 Dec 2024 09:33:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.154.21.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735205604; cv=none; b=sublEnnWhE/xAyMgSX5BZk193QGo/ws5dsi005gNyb0wo+3115kRh/mN1n+jmZEi0S8+llwBf0x1IWvMnqwodRkyZjeOV+PV36q1sBdX4XtPGJ089aHfVyx+0R6PFeIBybBR7IBjdNXaSA5BHbwzNlQzCYCS+FwdjmTO985nWWc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735205604; c=relaxed/simple; bh=YxAIiIMg+sYXQfGh7GZCY1RhHn7isSVWy/WvrkyhWdE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=f+kaPjmVZO/4YYuBVdMS3UYS7+w4oyP/uGhphbtGTWzF11OplsvhAlBBMysEswte+4SYFJE00GdQ/wf98SJpV/a723YdY1mjw7v56CCx3amr9KGxG0BkJ55getWGLIvznIKUGZUclnu9rgwZL4eMO2lfwSzdAnvwNEXVICmx4RA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=omp.ru; spf=pass smtp.mailfrom=omp.ru; arc=none smtp.client-ip=90.154.21.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=omp.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=omp.ru Received: from localhost.localdomain (188.234.32.57) by msexch01.omp.ru (10.188.4.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Thu, 26 Dec 2024 12:33:13 +0300 From: d.privalov <d.privalov@omp.ru> To: Theodore Ts'o <tytso@mit.edu> CC: Andreas Dilger <adilger.kernel@dilger.ca>, <linux-ext4@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <lvc-project@linuxtesting.org>, Xiaxi Shen <shenxiaxi26@gmail.com>, <syzbot+59e0101c430934bc9a36@syzkaller.appspotmail.com>, <stable@kernel.org>, Dmitriy Privalov <d.privalov@omp.ru> Subject: [PATCH 5.10/5.15 1/1] ext4: fix timer use-after-free on failed mount Date: Thu, 26 Dec 2024 12:32:56 +0300 Message-ID: <20241226093256.44361-1-d.privalov@omp.ru> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: <linux-ext4.vger.kernel.org> List-Subscribe: <mailto:linux-ext4+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-ext4+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: msexch01.omp.ru (10.188.4.12) To msexch01.omp.ru (10.188.4.12) X-KSE-ServerInfo: msexch01.omp.ru, 9 X-KSE-AntiSpam-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 6.1.1, Database issued on: 12/26/2024 08:49:16 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 19 X-KSE-AntiSpam-Info: Lua profiles 190069 [Dec 26 2024] X-KSE-AntiSpam-Info: Version: 6.1.1.7 X-KSE-AntiSpam-Info: Envelope from: d.privalov@omp.ru X-KSE-AntiSpam-Info: LuaCore: 49 0.3.49 28b3b64a43732373258a371bd1554adb2caa23cb X-KSE-AntiSpam-Info: {rep_avail} X-KSE-AntiSpam-Info: {Tracking_uf_ne_domains} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: {SMTP from is not routable} X-KSE-AntiSpam-Info: {Found in DNSBL: 188.234.32.57 in (user) b.barracudacentral.org} X-KSE-AntiSpam-Info: syzkaller.appspot.com:7.1.1,5.0.1;patch.msgid.link:7.1.1;127.0.0.199:7.1.2;omp.ru:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1 X-KSE-AntiSpam-Info: FromAlignment: s X-KSE-AntiSpam-Info: ApMailHostAddress: 188.234.32.57 X-KSE-AntiSpam-Info: {DNS response errors} X-KSE-AntiSpam-Info: Rate: 19 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dmarc=temperror header.from=omp.ru;spf=temperror smtp.mailfrom=omp.ru;dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 12/26/2024 08:52:00 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 12/26/2024 7:26:00 AM X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-Spam-Status: No, score=-3.1 required=5.0 tests=ARC_SIGNED,ARC_VALID, DMARC_MISSING,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on gandalf.ozlabs.org |
Series |
[5.10/5.15,1/1] ext4: fix timer use-after-free on failed mount
|
expand
|
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 9d7800d66200..522a5d85fbf5 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -5185,8 +5185,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) failed_mount3a: ext4_es_unregister_shrinker(sbi); failed_mount3: - del_timer_sync(&sbi->s_err_report); ext4_stop_mmpd(sbi); + del_timer_sync(&sbi->s_err_report); failed_mount2: rcu_read_lock(); group_desc = rcu_dereference(sbi->s_group_desc);