Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2116717rwr; Fri, 28 Apr 2023 06:27:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5NI+iqRN3e4GTKq3pa1qGvsXA/TS+fW4dZiQ+ck+iLi2decvvXI8ipGYRe9XeEgRr4FUjN X-Received: by 2002:a17:903:5cd:b0:1a6:3799:ec2a with SMTP id kf13-20020a17090305cd00b001a63799ec2amr4952551plb.35.1682688466506; Fri, 28 Apr 2023 06:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682688466; cv=none; d=google.com; s=arc-20160816; b=WqPORUXKEq+2Sm3mzaJLJspGxUWAnQrDCY8mYfRGJ5VfOiRCGpA5zux6F2CDL12umC gYdZpN8gKI6vK4MhTdIuWvcM3FS+oXcSLEbM0pCI7LjX5X+0m0r4dy196Q5JVeHUQqeL I0f89DtshrVkUHH3OI0rHXEq2xgoUse7TStuFhwT2GzHv2atbeFDNunPi2I3MvKhF6eu 0EMZ/KYmFyMNN5z8DHL3opS4k85ALyyQ12FICdrhnOicnJyaE3wd2bTsn/XujitbRFn8 xhIWNEqDgBqZnIEzeJTCfFl5X9K2gWJCOnMTay2svHATp1W2yuhLiIIu25lGgO/7mK2/ G2/w== 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=3yq9rEjt6j/Grlqag7wuS/2mUAkFSJI6s+U6/7TuIJI=; b=uSuhbgEqGm7AnNTTCZ/eM+8KEHLxvEAgpf+ovDEKa4XXDl5GvFhZZ1sDnVKBenKjYH Gwl50ESEMr5oZghDryh8z8s0SqljzwBcP6jGgTHw/w3AeFQ2e1TYDQUWK4lyeVE4pLC5 HXvPBLDOJ5qvwuHfgfJcpiTKUzr0Y3hL/Olc5rLHFgirtIbL1RjiNuvL7FD7e6Xo4Q+R zM/IXIAmZA99Gh4PXLYoYVkGGWeTIWJhZCEXFy4Q2ArfU3IT+737/hQqo1iMuSf+J+Y1 Gp5BlIPF6WDpPn09mcEU6PCk6oPkJvjSv36sKrBDsakljJdhS/NMbvtagrPNgT17ypy9 sozg== 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 y9-20020a17090264c900b001a51ae9b71esi19888253pli.82.2023.04.28.06.27.32; Fri, 28 Apr 2023 06:27:46 -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 S1346254AbjD1NZ4 (ORCPT + 99 others); Fri, 28 Apr 2023 09:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjD1NZz (ORCPT ); Fri, 28 Apr 2023 09:25:55 -0400 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF09D1BE7 for ; Fri, 28 Apr 2023 06:25:53 -0700 (PDT) Received: by mail-io1-f72.google.com with SMTP id ca18e2360f4ac-763da06540aso741719239f.3 for ; Fri, 28 Apr 2023 06:25:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682688353; x=1685280353; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3yq9rEjt6j/Grlqag7wuS/2mUAkFSJI6s+U6/7TuIJI=; b=MCgfRTqHUFmYWdo2cxhlacUof1PA2qGFnzc9FXA2TaCz4i5kTHvFRmSP6dcSN24Ro2 GPKWS8VGsOgvSKXCsZn1QM75EJBNYnxMjvDI651kcmrbb2/0RgSM5fiFET9QP/c/w6w7 qaLoaNUIQjuyegPChbR9kcnpC2yoqXLWhaqsJR7cQmzIDWKsiy6tPpmI/hZHjP6nGEtc /gVzT7b8FNzjelJ9Qb13DDyEaGV15jKsm62CcbLCo23mGMFF5vKxge+JiaflC6vwCcMm zxpxAjS1DglAmMAR3w4uYztU8vg1eaqwQoBQRzeyjm4q9nvNX6QOUXLPU6NlG6LKbvQY 65dg== X-Gm-Message-State: AC+VfDw7UeSrVRR1W2rJ4b6HIkDB1OL/fCesQByGiuP8mNliMn339UWP WIn4Z8ZKvnzrhdLTtkqNsA06HTTwM/R6gML2Z0EZbkmgHxPKuyg= MIME-Version: 1.0 X-Received: by 2002:a02:b1d2:0:b0:40f:a8e9:96ab with SMTP id u18-20020a02b1d2000000b0040fa8e996abmr2540325jah.5.1682688353273; Fri, 28 Apr 2023 06:25:53 -0700 (PDT) Date: Fri, 28 Apr 2023 06:25:53 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000090900c05fa656913@google.com> Subject: [syzbot] [mm?] [net?] KASAN: null-ptr-deref Read in filemap_fault From: syzbot To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, netdev@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,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: 33afd4b76393 Merge tag 'mm-nonmm-stable-2023-04-27-16-01' .. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17bc1008280000 kernel config: https://syzkaller.appspot.com/x/.config?x=70288413d8a92398 dashboard link: https://syzkaller.appspot.com/bug?extid=48011b86c8ea329af1b9 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: i386 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+48011b86c8ea329af1b9@syzkaller.appspotmail.com ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:68 [inline] BUG: KASAN: null-ptr-deref in atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] BUG: KASAN: null-ptr-deref in page_ref_count include/linux/page_ref.h:67 [inline] BUG: KASAN: null-ptr-deref in put_page_testzero include/linux/mm.h:1007 [inline] BUG: KASAN: null-ptr-deref in folio_put_testzero include/linux/mm.h:1013 [inline] BUG: KASAN: null-ptr-deref in folio_put include/linux/mm.h:1440 [inline] BUG: KASAN: null-ptr-deref in filemap_fault+0x544/0x24a0 mm/filemap.c:3382 Read of size 4 at addr 0000000000000028 by task syz-executor.2/19418 CPU: 1 PID: 19418 Comm: syz-executor.2 Not tainted 6.3.0-syzkaller-10620-g33afd4b76393 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 print_report mm/kasan/report.c:465 [inline] kasan_report+0xec/0x130 mm/kasan/report.c:572 check_region_inline mm/kasan/generic.c:181 [inline] kasan_check_range+0x141/0x190 mm/kasan/generic.c:187 instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] page_ref_count include/linux/page_ref.h:67 [inline] put_page_testzero include/linux/mm.h:1007 [inline] folio_put_testzero include/linux/mm.h:1013 [inline] folio_put include/linux/mm.h:1440 [inline] filemap_fault+0x544/0x24a0 mm/filemap.c:3382 __do_fault+0x107/0x600 mm/memory.c:4176 do_read_fault mm/memory.c:4530 [inline] do_fault mm/memory.c:4659 [inline] do_pte_missing mm/memory.c:3647 [inline] handle_pte_fault mm/memory.c:4947 [inline] __handle_mm_fault+0x27f6/0x4170 mm/memory.c:5089 handle_mm_fault+0x2af/0x9f0 mm/memory.c:5243 do_user_addr_fault+0x51a/0x1210 arch/x86/mm/fault.c:1440 handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0023:0xf72255d0 Code: Unable to access opcode bytes at 0xf72255a6. RSP: 002b:00000000ffb4674c EFLAGS: 00010202 RAX: 00000000f734e000 RBX: 00000000f734e000 RCX: 00000000f737c038 RDX: 000000002e220000 RSI: 0000000000000004 RDI: 00000000000e257f RBP: 00000000f737c0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ================================================================== --- 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 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