Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6864351rwl; Thu, 29 Dec 2022 22:55:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1khrKGP7PeNKcdzhXcYl/NKln7IVCb9tZashHY2atC7BF8CAl/gpolp7yib6ey6M0PczG X-Received: by 2002:a05:6a20:8e10:b0:a4:a73e:d1e2 with SMTP id y16-20020a056a208e1000b000a4a73ed1e2mr46718479pzj.57.1672383317720; Thu, 29 Dec 2022 22:55:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672383317; cv=none; d=google.com; s=arc-20160816; b=msefwfBk3oXcSuevu9TMtuzHkPIxehfVo2jK5U3QRcShixDantRfDjS55L3FY4aLuN GDNIDMHj7M9bsCaav3BCW33CNfdkx/tSJkmRC9P+GHAADms5IrnfpLaodTVxR5+/hPTl Xw1CJa3qE24fuwahHwyrr+Ypvyi2nKz/HI8jk7RIkYKknskhe/ffTs5l0F4pN9n+IRWu O2T4goY84JR1G7wDuM/F+gwi4NP7bRP1m9ZgbpG0TFIfXms4pgSGdrUMvTTgYuaSXVki q3mLhESZQmnY2LaMplyJivskyHAalruqAOzqE98P56ri+P1SyFUo5KY5MqRjsmXqkH2/ c/Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id; bh=zsOELNM5V0hXrCyVAzPwCLseabEvRU3IqLZ9qn+jT9Y=; b=GXJ3CH9pAI7xk5bjK+yHtEsFG91Kf4m084aafbJEuhlLB3xojanbpNnYrxBsUsleyb QM4zemuQ96+zj9c7A+JzWXoVAM1TaboazuNt0r2gbootK2IehDA1//M2/roT3HUb1fmo LeRAhUYv0CIuUmBEGgDW0uwI6BCOhAVEhMKttpCRN4DUB6xabUGJ69qMBheBXSHGPZXk JWxPtX6gwvuc52ZfBGcV0G7t3yIZcqcltGJ8ngPRNUGoveojwZC6uN2AyU6E9Vuw6vJL 63taSPjqrTJ4Quec+hwhdgNqcmAkagHnLlGdeEmZFHhTrnLeV/02AYGqtDwJ+GjiKTjk IvGw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u190-20020a6385c7000000b00478d2acc977si21973228pgd.662.2022.12.29.22.55.09; Thu, 29 Dec 2022 22:55:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234455AbiL3F60 (ORCPT + 64 others); Fri, 30 Dec 2022 00:58:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234673AbiL3F6I (ORCPT ); Fri, 30 Dec 2022 00:58:08 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11975193E8 for ; Thu, 29 Dec 2022 21:57:42 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pB8Nh-0007GX-DP; Fri, 30 Dec 2022 06:56:37 +0100 Message-ID: Date: Fri, 30 Dec 2022 06:56:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: Fwd: f2fs write error Linux v6.2 Content-Language: en-US, de-DE To: Jeff Chua , lkml , Linus Torvalds , Bagas Sanjaya , Jaegeuk Kim , Chao Yu , F2FS Development , Linux Regressions References: <0c70ba66-ef00-7242-d198-844f803662fa@gmail.com> From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1672379863;344b7bcf; X-HE-SMSGID: 1pB8Nh-0007GX-DP X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 On 30.12.22 05:04, Jeff Chua wrote: > On 12/24/22 19:43, Bagas Sanjaya wrote: >> On Sat, Dec 24, 2022 at 01:48:55PM +0800, Jeff Chua wrote: >>> Got the following error in latest linux-6.2-git with just vim (:w >>> file1). No problem with linux-6.1.1 > > What happened to the f2fs developers? No response from anyone yet. Well, that indeed is unfortunate and ideally shouldn't happen, but the simple reality is: that can happen this time of the year due to this thing called "festive season". > Am > I the only one facing this? Linux-6.2 is unusable until this is fixed. > What can I do to help? The usual: bisect the issue, as then (a) we know exactly which developer caused it, (b) which subsystem/maintainer is responsible (issues in a fs might be caused by the VFS, block layer, mm, ...), and (c) might be able to quickly revert that culprit, even if the people normally responsible are MIA for some reason. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight. >>> 2022-12-22T14:09:51.419409+08:00 [localhost] kernel: BUG: kernel NULL >>> pointer dereference, address: 0000000000000024 >>> 2022-12-22T14:09:51.419422+08:00 [localhost] kernel: #PF: supervisor >>> write access in kernel mode >>> 2022-12-22T14:09:51.419423+08:00 [localhost] kernel: #PF: >>> error_code(0x0002) - not-present page >>> 2022-12-22T14:09:51.419424+08:00 [localhost] kernel: PGD 147b63067 P4D >>> 147b63067 PUD 177d5c067 PMD 0 >>> 2022-12-22T14:09:51.419424+08:00 [localhost] kernel: Oops: 0002 [#7] PREEMPT SMP >>> 2022-12-22T14:09:51.419428+08:00 [localhost] kernel: CPU: 6 PID: 22891 >>> Comm: vi Tainted: G UD 6.1.0 #11 >>> 2022-12-22T14:09:51.419428+08:00 [localhost] kernel: Hardware name: >>> LENOVO 21CCS1GL00/21CCS1GL00, BIOS N3AET69W (1.34 ) 12/05/2022 >>> 2022-12-22T14:09:51.419428+08:00 [localhost] kernel: RIP: >>> 0010:f2fs_issue_flush+0x10e/0x180 >>> 2022-12-22T14:09:51.419429+08:00 [localhost] kernel: Code: ba 01 00 00 >>> 00 be 03 00 00 00 e8 ad e8 d5 ff 48 83 3b 00 74 1e 48 89 e7 e8 7f c1 >>> 84 00 f0 ff 4b 24 8b 44 24 2c e9 66 ff ff ff ff 43 24 e9 4a ff ff >>> ff 45 31 ff 4c 87 7b 28 4d 85 ff 74 d6 44 >>> 2022-12-22T14:09:51.419429+08:00 [localhost] kernel: RSP: >>> 0018:ffffc90000b13df0 EFLAGS: 00010246 >>> 2022-12-22T14:09:51.419430+08:00 [localhost] kernel: RAX: >>> ffff888101caccc0 RBX: 0000000000000000 RCX: 0000000000000000 >>> 2022-12-22T14:09:51.419430+08:00 [localhost] kernel: RDX: >>> 0000000010000088 RSI: 000000000005a844 RDI: ffff8881027bf000 >>> 2022-12-22T14:09:51.419431+08:00 [localhost] kernel: RBP: >>> ffff8881027bf000 R08: 0000000000000000 R09: ffff8881027bf2a8 >>> 2022-12-22T14:09:51.419431+08:00 [localhost] kernel: R10: >>> 0000000000000000 R11: 0000000000000000 R12: 0000000000000024 >>> 2022-12-22T14:09:51.419432+08:00 [localhost] kernel: R13: >>> 000000000005a844 R14: 000000000005a844 R15: 0000000000000000 >>> 2022-12-22T14:09:51.419432+08:00 [localhost] kernel: FS: >>> 00007ff03fdf0b80(0000) GS:ffff88883f380000(0000) >>> knlGS:0000000000000000 >>> 2022-12-22T14:09:51.419432+08:00 [localhost] kernel: CS: 0010 DS: >>> 0000 ES: 0000 CR0: 0000000080050033 >>> 2022-12-22T14:09:51.419433+08:00 [localhost] kernel: CR2: >>> 0000000000000024 CR3: 000000013d64e006 CR4: 0000000000770ee0 >>> 2022-12-22T14:09:51.419433+08:00 [localhost] kernel: PKRU: 55555554 >>> 2022-12-22T14:09:51.419434+08:00 [localhost] kernel: Call Trace: >>> 2022-12-22T14:09:51.419434+08:00 [localhost] kernel: >>> 2022-12-22T14:09:51.419435+08:00 [localhost] kernel: ? >>> preempt_count_add+0x63/0x90 >>> 2022-12-22T14:09:51.419435+08:00 [localhost] kernel: ? >>> preempt_count_add+0x63/0x90 >>> 2022-12-22T14:09:51.419435+08:00 [localhost] kernel: ? >>> preempt_count_add+0x63/0x90 >>> 2022-12-22T14:09:51.419436+08:00 [localhost] kernel: >>> f2fs_do_sync_file+0x489/0x650 >>> 2022-12-22T14:09:51.419436+08:00 [localhost] kernel: __x64_sys_fsync+0x2f/0x60 >>> 2022-12-22T14:09:51.419437+08:00 [localhost] kernel: do_syscall_64+0x35/0x80 >>> 2022-12-22T14:09:51.419437+08:00 [localhost] kernel: >>> entry_SYSCALL_64_after_hwframe+0x46/0xb0 >>> 2022-12-22T14:09:51.419438+08:00 [localhost] kernel: RIP: 0033:0x7ff03feef20b >>> 2022-12-22T14:09:51.419438+08:00 [localhost] kernel: Code: 3d 00 f0 ff >>> ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 a3 a2 f8 >>> ff 8b 7c 24 0c 41 89 c0 b8 4a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 >>> 44 89 c7 89 44 24 0c e8 01 a3 f8 ff 8b 44 >>> 2022-12-22T14:09:51.419438+08:00 [localhost] kernel: RSP: >>> 002b:00007ffe6ecca530 EFLAGS: 00000293 ORIG_RAX: 000000000000004a >>> 2022-12-22T14:09:51.419439+08:00 [localhost] kernel: RAX: >>> ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff03feef20b >>> 2022-12-22T14:09:51.419439+08:00 [localhost] kernel: RDX: >>> 0000000000000002 RSI: 0000000000000002 RDI: 0000000000000003 >>> 2022-12-22T14:09:51.419440+08:00 [localhost] kernel: RBP: >>> 0000000000002000 R08: 0000000000000000 R09: 00000000024bcfb0 >>> 2022-12-22T14:09:51.419440+08:00 [localhost] kernel: R10: >>> fffffffffffff4bf R11: 0000000000000293 R12: 00000000000006b7 >>> 2022-12-22T14:09:51.419440+08:00 [localhost] kernel: R13: >>> 000000000000003d R14: 0000000000000000 R15: 00000000024a1680 >>> 2022-12-22T14:09:51.419441+08:00 [localhost] kernel: >>> 2022-12-22T14:09:51.419441+08:00 [localhost] kernel: Modules linked >>> in: [last unloaded: ecc] >>> 2022-12-22T14:09:51.419442+08:00 [localhost] kernel: CR2: 0000000000000024 >>> 2022-12-22T14:09:51.419442+08:00 [localhost] kernel: ---[ end trace >>> 0000000000000000 ]--- >>> 2022-12-22T14:09:51.419443+08:00 [localhost] kernel: RIP: >>> 0010:f2fs_issue_flush+0x10e/0x180 >>> 2022-12-22T14:09:51.419443+08:00 [localhost] kernel: Code: ba 01 00 00 >>> 00 be 03 00 00 00 e8 ad e8 d5 ff 48 83 3b 00 74 1e 48 89 e7 e8 7f c1 >>> 84 00 f0 ff 4b 24 8b 44 24 2c e9 66 ff ff ff ff 43 24 e9 4a ff ff >>> ff 45 31 ff 4c 87 7b 28 4d 85 ff 74 d6 44 >>> 2022-12-22T14:09:51.419443+08:00 [localhost] kernel: RSP: >>> 0018:ffffc90003903df0 EFLAGS: 00010246 >>> 2022-12-22T14:09:51.419444+08:00 [localhost] kernel: RAX: >>> ffff888100106d80 RBX: 0000000000000000 RCX: 0000000000000000 >>> 2022-12-22T14:09:51.419444+08:00 [localhost] kernel: RDX: >>> 0000000010000088 RSI: 0000000000b0e2ba RDI: ffff888116227000 >>> 2022-12-22T14:09:51.419445+08:00 [localhost] kernel: RBP: >>> ffff888116227000 R08: 0000000000000000 R09: ffff8881162272a8 >>> 2022-12-22T14:09:51.419445+08:00 [localhost] kernel: R10: >>> 0000000000000000 R11: 0000000000000000 R12: 0000000000000024 >>> 2022-12-22T14:09:51.419445+08:00 [localhost] kernel: R13: >>> 0000000000b0e2ba R14: 0000000000b0e2ba R15: 0000000000000000 >>> 2022-12-22T14:09:51.419446+08:00 [localhost] kernel: FS: >>> 00007ff03fdf0b80(0000) GS:ffff88883f380000(0000) >>> knlGS:0000000000000000 >>> 2022-12-22T14:09:51.419446+08:00 [localhost] kernel: CS: 0010 DS: >>> 0000 ES: 0000 CR0: 0000000080050033 >>> 2022-12-22T14:09:51.419446+08:00 [localhost] kernel: CR2: >>> 0000000000000024 CR3: 000000013d64e006 CR4: 0000000000770ee0 >>> 2022-12-22T14:09:51.419447+08:00 [localhost] kernel: PKRU: 55555554 >> >> Thanks for the report! I'm adding this to regzbot: >> >> #regzbot ^introduced v6.1.1..v6.2 >> #regzbot title f2fs: kernel NULL pointer dereference when writing file >> > > Oops, I mean: > > #regzbot introduced v6.1.1..72a85e2b0a1e1e > > Also, Cc'ed other F2FS maintainers and relevant lists. > > Thanks. > > -- > An old man doll... just what I always wanted! - Clara > >