Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2595012rdb; Wed, 15 Nov 2023 05:32:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoj5PyRg4r+LfjWz4hvqRXZUiWzPtAyzVDtcxqYFyylj5Hi6whE9tPuVwAGO5X7Bk8mTuR X-Received: by 2002:a05:6a20:2323:b0:187:652d:95c3 with SMTP id n35-20020a056a20232300b00187652d95c3mr1264979pzc.56.1700055167050; Wed, 15 Nov 2023 05:32:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700055167; cv=none; d=google.com; s=arc-20160816; b=zUN89mosKbQNVt4yECp1ICleSN6k0Plb4UIiE/kw9PH4PbbJc/ebqJUzUQ+LiM3QyO FdNzwS1LP8F9nh9f2L7nHSNvr39+LhMudzFBZurJ9fq8lMW9cQ4Jyi/3n05bPWk/XF5c LF3AS1bOw2t/Ho+BIvOP26QySubWGKYSyk4RoJF1OflbM5LZbkKq9slVN0uVp8hAyvG+ tppFqWBoFTDwNcuJL1aKPl14iWi6hQp3fB0T6mdK3i2iRYthwpQlo9+SPB7f2MplNRUP QzK/d8Z1YeEISXVP/IJbARnGLSi5ZOm5oJ2PwscyJp12bCmGkVuPXBHn1TXBodBaekmr p55g== 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=eiUWWAK8hFsU91ktuG0aBOn9mRyPVX1KZ66LKphaOsM=; fh=EeXIjZuE71KdtNNJAEPVGnawNIIv42tPAUzLYWN6+DM=; b=tCDfwiA85zt2l5+zgAAZYjSA9rhJ8B3gIBMa+YvmvZ1QVJRNiPFkiyMJaNpEY6NeM6 pPY3YbLtZ85Q2rdjOhfp2YPbba/tGRQnEBSbvbwY3txsAa6H8sOe5zlTbSB/i1/9YU0m 4nMun6tlbqAnjYq0zw53kimyHL/FEMor3z1u8cBpvSLqL9fkqErDvw/rq3Ly+2Rc25ry cINJkpsI/Ox0HC8Lxrg2x4ykHLYctXsypeGW75RyUGT3yq3sHBkposd2giOPrXgqgXsS M7ckdHcwdUgdvHO5YbAmbP8P+SBhIfHFLehNV84XYrmK80uxsAoqS6cOwRGdfd0FA9Yp 7mDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x26-20020a056a000bda00b006c3182d2a84si9524164pfu.322.2023.11.15.05.32.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 05:32:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0FCC48027F6A; Wed, 15 Nov 2023 05:32:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343935AbjKONcZ (ORCPT + 99 others); Wed, 15 Nov 2023 08:32:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343722AbjKONcX (ORCPT ); Wed, 15 Nov 2023 08:32:23 -0500 Received: from mail-pj1-f78.google.com (mail-pj1-f78.google.com [209.85.216.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 028BF9B for ; Wed, 15 Nov 2023 05:32:20 -0800 (PST) Received: by mail-pj1-f78.google.com with SMTP id 98e67ed59e1d1-2802c0b610dso712372a91.1 for ; Wed, 15 Nov 2023 05:32:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700055139; x=1700659939; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eiUWWAK8hFsU91ktuG0aBOn9mRyPVX1KZ66LKphaOsM=; b=ZRT33YUNT3ZPOCJh1ijk6LhEtHuOC/gH8dKRISLnfTZDAACVINQDoey21f328OZvic xA0hPsh+v1VBgsTumDk5VPJZAr/Ns+Lz7xYEV8YRjR83f0Az+jMznE27o40kvE7Gl+a3 vjStYISKauzmMgEhoj3GCB1R4sHqJtTYaN65vbd8Jgv/R2PiuaM5Qk7cMKOz7svp/NzM iMKXVWsRPsxYVr2YdgTbNZvB4gnHU3kJevctrcQO0zHBUDGJQH7rHugziq4aKzHik2Hc 5Rb+zr6e65iY1Lr+dz82w7QCV5NSzXV2Dyz11rFFsMdNSmIiiMc4aOjf8UxwntIuDK/V bEUw== X-Gm-Message-State: AOJu0YwlYq8TzvbkfCm7fmKmrWBQok02XnZli/4wLynztn74mUvzbqGq 5XOfvEY5Qm8SocbT0AeKFvPRJ+wM75/F9OVAkQJazLsgmei7 MIME-Version: 1.0 X-Received: by 2002:a17:90a:d803:b0:27d:a0b:bff with SMTP id a3-20020a17090ad80300b0027d0a0b0bffmr3748368pjv.2.1700055139538; Wed, 15 Nov 2023 05:32:19 -0800 (PST) Date: Wed, 15 Nov 2023 05:32:19 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000b0e576060a30ee3b@google.com> Subject: [syzbot] [mm?] WARNING in unmap_page_range (2) From: syzbot To: akpm@linux-foundation.org, david@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, usama.anjum@collabora.com, wangkefeng.wang@huawei.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=3.3 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_BL_SPAMCOP_NET,SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 05:32:35 -0800 (PST) Hello, syzbot found the following issue on: HEAD commit: ac347a0655db Merge tag 'arm64-fixes' of git://git.kernel.o.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=15ff3057680000 kernel config: https://syzkaller.appspot.com/x/.config?x=287570229f5c0a7c dashboard link: https://syzkaller.appspot.com/bug?extid=7ca4b2719dc742b8d0a4 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=162a25ff680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13d62338e80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/00e30e1a5133/disk-ac347a06.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/07c43bc37935/vmlinux-ac347a06.xz kernel image: https://storage.googleapis.com/syzbot-assets/c6690c715398/bzImage-ac347a06.xz The issue was bisected to: commit 12f6b01a0bcbeeab8cc9305673314adb3adf80f7 Author: Muhammad Usama Anjum Date: Mon Aug 21 14:15:15 2023 +0000 fs/proc/task_mmu: add fast paths to get/clear PAGE_IS_WRITTEN flag bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14e5591f680000 final oops: https://syzkaller.appspot.com/x/report.txt?x=16e5591f680000 console output: https://syzkaller.appspot.com/x/log.txt?x=12e5591f680000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+7ca4b2719dc742b8d0a4@syzkaller.appspotmail.com Fixes: 12f6b01a0bcb ("fs/proc/task_mmu: add fast paths to get/clear PAGE_IS_WRITTEN flag") ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5059 at mm/memory.c:1520 zap_pte_range mm/memory.c:1520 [inline] WARNING: CPU: 0 PID: 5059 at mm/memory.c:1520 zap_pmd_range mm/memory.c:1582 [inline] WARNING: CPU: 0 PID: 5059 at mm/memory.c:1520 zap_pud_range mm/memory.c:1611 [inline] WARNING: CPU: 0 PID: 5059 at mm/memory.c:1520 zap_p4d_range mm/memory.c:1632 [inline] WARNING: CPU: 0 PID: 5059 at mm/memory.c:1520 unmap_page_range+0x1711/0x2c00 mm/memory.c:1653 Modules linked in: CPU: 0 PID: 5059 Comm: syz-executor416 Not tainted 6.6.0-syzkaller-16039-gac347a0655db #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:zap_pte_range mm/memory.c:1520 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1582 [inline] RIP: 0010:zap_pud_range mm/memory.c:1611 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1632 [inline] RIP: 0010:unmap_page_range+0x1711/0x2c00 mm/memory.c:1653 Code: 0f 8e 4a 12 00 00 48 8b 44 24 30 31 ff 0f b6 58 08 89 de e8 d1 00 bf ff 84 db 0f 85 88 f3 ff ff e9 0a f4 ff ff e8 8f 05 bf ff <0f> 0b e9 77 f3 ff ff e8 83 05 bf ff 48 83 44 24 10 08 e9 9d f6 ff RSP: 0018:ffffc900034bf8f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000007 RCX: ffffffff81c894fd RDX: ffff88801ff66040 RSI: ffffffff81c89561 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888074017008 R14: dffffc0000000000 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70d28ca0d0 CR3: 000000001d5be000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unmap_single_vma+0x194/0x2b0 mm/memory.c:1699 unmap_vmas+0x229/0x470 mm/memory.c:1743 exit_mmap+0x1ad/0xa60 mm/mmap.c:3308 __mmput+0x12a/0x4d0 kernel/fork.c:1349 mmput+0x62/0x70 kernel/fork.c:1371 exit_mm kernel/exit.c:567 [inline] do_exit+0x9ad/0x2ae0 kernel/exit.c:858 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f70d284ef39 Code: Unable to access opcode bytes at 0x7f70d284ef0f. RSP: 002b:00007ffc9cfa2fb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f70d284ef39 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 00007f70d28c9270 R08: ffffffffffffffb8 R09: 65732f636f72702f R10: 0000000000000000 R11: 0000000000000246 R12: 00007f70d28c9270 R13: 0000000000000000 R14: 00007f70d28c9cc0 R15: 00007f70d2820ae0 --- 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection If the report is already addressed, 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 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