Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1200977lqe; Mon, 8 Apr 2024 01:31:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWesZmQOfZv9CA652sVkvhxrm26cMdo4FytgxhpxlNiC9hj2+pnxBY1kELWxKdtNOC62ZEhL/rTbATczfWAFnaRKZSjDe7GLIGcWQymVg== X-Google-Smtp-Source: AGHT+IEmmvC/A4QdBYq6PcDt603ubgBMSaoLJnS3IzHrbkBSrE1WNHyHlJy26lW2nGIB4E7sF2WE X-Received: by 2002:a05:6214:410:b0:699:1cff:c9e0 with SMTP id z16-20020a056214041000b006991cffc9e0mr9958624qvx.49.1712565089159; Mon, 08 Apr 2024 01:31:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712565089; cv=pass; d=google.com; s=arc-20160816; b=jxpec5wVycuSFlCYkwjjfXwLAh4/q4+rRFXmGAJ4LbUmR+4zUONor15foeZNV0XB4T swg6P+ujkW5evAjwh54wakbc0ugKfWNKCLP1osMS8DwkFfXv8xjKaG+kWNHuKA/4G70z dlSZ2DuCC3W1+lQNe2k8MAKEn9HHJpxuw7lC52ioa/DVLGyF2Ssx7Ke6hFBTZPrLL6D4 KtGxsYzrIpzWzqozxgB5yT6O4ZD92d3owpvDlKMMNORS6jECCHWtb7sIQWXo7FK5xpuF kVk/0n3jBN++72jjELwpd1Jba9qVF0EzXMTnIBcHo9ULyjwMvpHLv186Fd7a3HPZcJ1A fMCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=UDk6EV9RQ3C/hMHWveNrOdMW8xuEVmJIEBJEd1bIoI8=; fh=JR4GCikvil56xBCy6GzYaufdsM+MP8lJ09a17xo2LKU=; b=eQSCjFAB3k0UIb1B26E4I69RnMQ25s5clEx2IozkJgGXjSjEXuID0M7f95XHBo5aFi IBveVV3qQAgkTNqvqTru34ntqETpY6v7Cto+Et+XqknYcSBnhlgeD16oYkdJH+nmYXCD NjmtmJW6jUWMMP8qZ9t7KhR0I6Wa5Gw7704sVYho5lMsfLI7so6y85siBoDE2PfU8Ki2 M6JrZIjqlPHD6ZHfln5Q9Ev9W4YIFS02HZ8SYF/tWnsNmNh05SFZEQAiek7ICYSVC81p gQwxxEYCUC44jaQxjMqix0QPQneL9xvNDQEoGxJPYWnTJ4I+630rEdnaDB/RCPCflDn+ aeew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-nfs+bounces-2712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k9-20020ad44209000000b0069937d16fa1si7516914qvp.329.2024.04.08.01.31.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 01:31:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-nfs+bounces-2712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DE4761C21CFF for ; Mon, 8 Apr 2024 08:31:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF94A39AC7; Mon, 8 Apr 2024 08:31:24 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38B2A34CDE for ; Mon, 8 Apr 2024 08:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712565084; cv=none; b=Zlg4lBBc7dgmmj38cMlsZgtvzqT2RweHcXbzzHvK0H3+ansRLdjU0tpTic3iisuoOSgOuul7uLZel7nwzYslGkHVEjow65P3z02Tdf1gGOHxf/pmLJD640dGVK5YbjxAifoxopYAs91jIIZGQUmHecA50HrIl3/QvcV4t8ncwWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712565084; c=relaxed/simple; bh=cGaM4ocapeoZbCgp17qum1GDq8465V9dqZbuMY8HVL4=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Ph92oopCUrwUOr4hJiiWzP28MgxSXncaQAF3mr1/ltLEbGiLFpBPtolc35PnLZry6DvknUzbV/DW7YgllqyIz2799dZHh6PbKUzC9PE75ZtHGirru7kVicnTaOSql46ThpbgEVfLF61E9xA0TH/VB97Vxr0XhmsqfD0Vd4+iLHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f71.google.com with SMTP id ca18e2360f4ac-7d5dbc0e4b3so124718239f.1 for ; Mon, 08 Apr 2024 01:31:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712565082; x=1713169882; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UDk6EV9RQ3C/hMHWveNrOdMW8xuEVmJIEBJEd1bIoI8=; b=EXBtzBScnfvgRqDK1vWx4n5VSo4w8ufTztc4OloD0JLN1oCTdCOPjYCVe94OLuFkTW sZ1Vt0qRhoGSgfllcQx31j5n5zsKwcdX3EADWWayI0q2i5q6cf83/xGv9LXtwqPKjCbv Ki5nSZGV9XbMt1WXXPu6hGMNPP+cpOFpq9Y6ZV1KdADb/CJ8eWlhWpOlHfjtcb3pG/zT kZSce9EVag1+efRaF1PR1CLiYZZGlH1Z95e0NtvFGblbJVbX9swrElGvywGb5L5RFubK fqT9WLqkU6QY+2WxHjCFU+3Hxz5+cteO5ATWRNuquommxljtSH6fCb4Ys72EkhqwaRqK 4puQ== X-Forwarded-Encrypted: i=1; AJvYcCXo5wNvYT/+6G9MRQAm1SXppvwlzXxMu4aGJT7GxQ7GnPmmcFqOUcqaS6eosJoXCi8VoP+cDHc7L7QKxV759UV6fuEi8IsiHqIM X-Gm-Message-State: AOJu0YynlRybK6nPL4zzPMYSj6OSr+nQbMuTfLFImHI+RRQTrnjUwHCi TiVFRaUjwKnWD+q7DPB6LkpifSx8YpH+0ncgWbokA65TzLEa5Zc8mjJ3r/LHWiJfeKuW7n2QrGW hGphMV/U5k3ZZptkmBvWF8TNxi91KphURBHFd3Rj5Ek5GNdIbqi8V1m8= Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6638:2612:b0:47f:2af:7c32 with SMTP id m18-20020a056638261200b0047f02af7c32mr187870jat.3.1712565082512; Mon, 08 Apr 2024 01:31:22 -0700 (PDT) Date: Mon, 08 Apr 2024 01:31:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000065ed60061591a173@google.com> Subject: [syzbot] [nfs?] KFENCE: memory corruption in do_handle_open From: syzbot To: amir73il@gmail.com, brauner@kernel.org, chuck.lever@oracle.com, jack@suse.cz, jlayton@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 727900b675b7 Add linux-next specific files for 20240403 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=15bf53c5180000 kernel config: https://syzkaller.appspot.com/x/.config?x=afcaf46d374cec8c dashboard link: https://syzkaller.appspot.com/bug?extid=454fe737909d37a0e5fe compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/f8fb4daa7a83/disk-727900b6.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/d2a6994aee53/vmlinux-727900b6.xz kernel image: https://storage.googleapis.com/syzbot-assets/6759e5411c39/bzImage-727900b6.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+454fe737909d37a0e5fe@syzkaller.appspotmail.com ================================================================== BUG: KFENCE: memory corruption in handle_to_path fs/fhandle.c:213 [inline] BUG: KFENCE: memory corruption in do_handle_open+0x4be/0x660 fs/fhandle.c:226 Corrupted memory at 0xffff88823bdccff8 [ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ] (in kfence-#229): handle_to_path fs/fhandle.c:213 [inline] do_handle_open+0x4be/0x660 fs/fhandle.c:226 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a kfence-#229: 0xffff88823bdccfe0-0xffff88823bdccff7, size=24, cache=kmalloc-32 allocated by task 5382 on cpu 1 at 75.554801s: kmalloc_noprof include/linux/slab.h:664 [inline] handle_to_path fs/fhandle.c:195 [inline] do_handle_open+0x162/0x660 fs/fhandle.c:226 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a freed by task 5382 on cpu 1 at 75.554827s: handle_to_path fs/fhandle.c:213 [inline] do_handle_open+0x4be/0x660 fs/fhandle.c:226 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a CPU: 1 PID: 5382 Comm: syz-executor.0 Not tainted 6.9.0-rc2-next-20240403-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ================================================================== --- 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 report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup