Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5766471rwr; Mon, 1 May 2023 10:23:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/jqppnhRLEqrj6ouDLetTPgoK9Y/J28r3W8fUrwG5dZW2mPK5/8BR+Tmxyckoq1ns3UQb X-Received: by 2002:a05:6a00:1a0a:b0:63b:7119:64a9 with SMTP id g10-20020a056a001a0a00b0063b711964a9mr20580661pfv.16.1682961831071; Mon, 01 May 2023 10:23:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682961831; cv=none; d=google.com; s=arc-20160816; b=VnWh3+OvOEhH97t4bSYxanBeVRz2we9Njr/kvchtnr4N24aFtHeNhY2+lXLufjUqxf 77Rxl7ZhsNhlbL+sml8WvcN4CSP7K3NZnaNH2dGfTjqBbs4EY4C/r/ulWvMRLz/C/GRL a//CLtTSmWwTf1cYUrnFKgdF97DwpGHYVXQc+zsKE9nqpobaMkRt3ro4YC4LZOvqIhBO 5VqbOMQ4xmQwUOeI7a8mJqLv2CyiQyITJT9DfDte2DSO6q/RhAhpU3QPXR3nm+BAc93z jwDj1puGCRlV9o17IvK54+TCvNFCnzNwmHhR/K3YNVFX+GvaRe6UYeLRmKeEh1kDJ3ff pQ/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=c7hKOKbJMl2YcfkxcJZJbcJ0r0WbQba+Lj4vLNvcKOE=; b=QcazLsAqQFynjiw6eApj6CPbCa1P1i0JA07215NSutKz+uo3trps3SoPpvdOAfMvpL /zITi2crf1KIhE/DJhtPhznsPaQd/k49T2VK0IT/6vVALMfHdOpvH6Suup+9C5qxGp2O xE9ImKJs1Ta+ZnS/hHFmOWp01kiZeh0zhhzP00S5nU4SMwpg07lSH7X35VJBdxi27pw/ Vikgr5HPpvYHJKY1pi6xyKta2NVCfZ7WBmNdOJM/fz2H47+lCBovVSCYusoveyQwZgKZ sXEO7emjj3WhFPlHdjnsOQOHoijjQUBjMq1Ge3KNhzonzhgB5KKcVV+PQMBfyR1ZgzMo HQUw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020aa78ec7000000b0063b56b7ba82si28231680pfr.189.2023.05.01.10.23.37; Mon, 01 May 2023 10:23:51 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231735AbjEARQA (ORCPT + 99 others); Mon, 1 May 2023 13:16:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233783AbjEARMg (ORCPT ); Mon, 1 May 2023 13:12:36 -0400 Received: from mail-io1-xd4d.google.com (mail-io1-xd4d.google.com [IPv6:2607:f8b0:4864:20::d4d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36AEA3ABC for ; Mon, 1 May 2023 10:10:55 -0700 (PDT) Received: by mail-io1-xd4d.google.com with SMTP id ca18e2360f4ac-76659fe1ac7so363877839f.1 for ; Mon, 01 May 2023 10:10:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682960705; x=1685552705; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=c7hKOKbJMl2YcfkxcJZJbcJ0r0WbQba+Lj4vLNvcKOE=; b=YW7dFXLkDTVdBGP4VbDUK9tWsC07bfsJ+DmUwTrZ0FAVYWuRsA9SOJBStWvERJhRCw YhxBmda3v6Fs93ZYUbHXGdpkxSUq8ORQUuzUfROL7K6oIqvRSdYVDf6rRTe5hmI+ThUt xHO/J8/Xl/FLnWLehFaanDMVmf6Xo6snrnnPofYdrUWgUCeK7hfMwpDciC/mjZwcYZvu Jon9EVWlKw2OdAZEMVhRIil+uUnAcTnkkD0a6zgbwW/NYEjugh7MlQ/qplr4KJjyebKA YvdNe4ZUGz2c/CjH9gHFONn2NQCmTxGqmN+vwQiMQt/h4ZyTfv5gS3zSrHqZJarWgCvc jZZg== X-Gm-Message-State: AC+VfDw+kYS/0EmeW7ty6HicR35+WfHgNVGYc/3sEM8TBC3qdItc3ltm bLYWbadMVts/EUMSqfbBfPCjKte6/uM1ec/0IFUS9b5iMvm9 MIME-Version: 1.0 X-Received: by 2002:a02:6207:0:b0:40f:9262:b588 with SMTP id d7-20020a026207000000b0040f9262b588mr5871886jac.6.1682960705456; Mon, 01 May 2023 10:05:05 -0700 (PDT) Date: Mon, 01 May 2023 10:05:05 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000000534da05faa4d3d4@google.com> Subject: [syzbot] [f2fs?] WARNING: lock held when returning to user space in f2fs_write_single_data_page From: syzbot To: chao@kernel.org, jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hello, syzbot found the following issue on: HEAD commit: 58390c8ce1bd Merge tag 'iommu-updates-v6.4' of git://git.k.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=136e6ef8280000 kernel config: https://syzkaller.appspot.com/x/.config?x=5eadbf0d3c2ece89 dashboard link: https://syzkaller.appspot.com/bug?extid=eb6201248f684e99b9f8 compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16bbb03c280000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=140d36f8280000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/60130779f509/disk-58390c8c.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/d7f0cdd29b71/vmlinux-58390c8c.xz kernel image: https://storage.googleapis.com/syzbot-assets/de415ad52ae4/bzImage-58390c8c.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/dc89d01cd6e9/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+eb6201248f684e99b9f8@syzkaller.appspotmail.com syz-executor768: attempt to access beyond end of device loop0: rw=2049, sector=77824, nr_sectors = 2048 limit=63271 syz-executor768: attempt to access beyond end of device loop0: rw=2049, sector=79872, nr_sectors = 2048 limit=63271 ================================================ WARNING: lock held when returning to user space! 6.3.0-syzkaller-12049-g58390c8ce1bd #0 Not tainted ------------------------------------------------ syz-executor768/4998 is leaving the kernel with locks still held! 1 lock held by syz-executor768/4998: #0: ffff88807e800448 (&sbi->node_write){++++}-{3:3}, at: f2fs_down_read fs/f2fs/f2fs.h:2087 [inline] #0: ffff88807e800448 (&sbi->node_write){++++}-{3:3}, at: f2fs_write_single_data_page+0xa10/0x1d50 fs/f2fs/data.c:2842 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to change bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup