From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f205.google.com (mail-il1-f205.google.com [209.85.166.205]) (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 7E727188736 for ; Sun, 22 Dec 2024 10:44:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734864265; cv=none; b=QP7ZwlYO/nDLqkzA50LjK5b6TXYBlh+koHMxK3EIyOw+SObX79YSocEWhQ0C+cDfdLjFeP5aDn1J3Ws9hIIdxwmCEr100QB8VqDlv49nlgWZw/Vs3eclJt0OxNAM0MHme6tKY73AiD27muUPAkTIKG5DKaU/uZlT5Q9Kw0qu/pQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734864265; c=relaxed/simple; bh=ypQRYPXHoDYj+UxDdK8W8nNG0dSvwb1Avs2QVqHVJKM=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Oxe3JVZxxNipI98rv+72CGpZYpvIhbRxw4q/oHlIYPuOQtY+ugK5iOdsFrCShmB2j2VInC6RDvgwkj6NzF0in/eaaRpL4Bo5TCHTk1qaojrWNesFV83RhbSVRlAmJpYr6XDCp7nUxeeBxgT0WEk/+YtdIOYOqPtI3wbStu8jrTk= 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.205 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-il1-f205.google.com with SMTP id e9e14a558f8ab-3a81570ea43so30303255ab.0 for ; Sun, 22 Dec 2024 02:44:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734864262; x=1735469062; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=29PidddaE6+emILzxwtpN/Xl8XqCqQgcf/nUI0khtGw=; b=jGSabCeWDxjcjzVTgFjFQhyxN0Q1B6e3uINdWGF3yv0gd+3yklLLVEEMqRev4+9/OG fpIq2rjyqSyky0BvKLMdRQ0cY0BPvNlih3y/4Ap/RcIlrbWAQuOe3uchpWnzrK8WIAsx 8b+ZAtIWoY9pNKvJt5z2NiMIjsDxoMFeM6Ffmig4K3X62sQjNJkEFZ/AreNGYRwc1Sv+ 9m/VZJIO98tDDkeOZifSbMMzgsZGH1GPUbO4pMDYI5QSE6Dv9+YsV6CK/Oy+ByAOhXt1 6+kOGivC7lojtYMpufF3BqEAd/YKXLrli0HIauy5TPSbHkTemsf2ugYF8wbUf0+matFR BIFg== X-Forwarded-Encrypted: i=1; AJvYcCWaTM1/eOREdznB7kSMDPbRnmbkyHyc+y62p72ei2eJSd42WUZz3jT1ct4leZF7roUNIqYDxE/9T1aayeA=@vger.kernel.org X-Gm-Message-State: AOJu0YzyzVAxkFSssetdOPsHuyt3rRTXNHmFl93me0tXRHd0bMipvaX+ IbLo5SIV3ezaE4MVTfioACkZkWge5USVXDBlsvjOqn2Ur1FZtk//bgSBcNzyxl1bDnKgef6ac9U SOIFw3KMdyjh4q75zfwV7iLV5NM/ErEaDqSugoXjRwP83EDkeJFRezDY= X-Google-Smtp-Source: AGHT+IGbcOI/fI7NVHCzPPD/1bN7Zq65NhnBPMeln4gBDl9A0LGr1AhU8rdaTC67xUHfUtcatv+X40Th/thXFQCKN5QLxatZVkgs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:2199:b0:3a7:8040:595b with SMTP id e9e14a558f8ab-3c2d2568da9mr54393175ab.9.1734864262479; Sun, 22 Dec 2024 02:44:22 -0800 (PST) Date: Sun, 22 Dec 2024 02:44:22 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6767ed86.050a0220.25abdd.013f.GAE@google.com> Subject: [syzbot] [mm?] general protection fault in workingset_refault From: syzbot To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 8faabc041a00 Merge tag 'net-6.13-rc4' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10f39cf8580000 kernel config: https://syzkaller.appspot.com/x/.config?x=c22efbd20f8da769 dashboard link: https://syzkaller.appspot.com/bug?extid=d21d8cd32443d6fbded1 compiler: gcc (Debian 12.2.0-14) 12.2.0, 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/0bdb6cecaf61/disk-8faabc04.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/98b22dfadac0/vmlinux-8faabc04.xz kernel image: https://storage.googleapis.com/syzbot-assets/65a511d3ba7f/bzImage-8faabc04.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+d21d8cd32443d6fbded1@syzkaller.appspotmail.com Oops: general protection fault, probably for non-canonical address 0xdffffc0000000998: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: probably user-memory-access in range [0x0000000000004cc0-0x0000000000004cc7] CPU: 1 UID: 0 PID: 6298 Comm: syz.0.89 Not tainted 6.13.0-rc3-syzkaller-00136-g8faabc041a00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:707 [inline] RIP: 0010:lru_gen_test_recent mm/workingset.c:274 [inline] RIP: 0010:lru_gen_refault mm/workingset.c:293 [inline] RIP: 0010:workingset_refault+0x234/0x1390 mm/workingset.c:548 Code: d2 6f b9 ff 4d 85 f6 0f 84 80 07 00 00 e8 c4 6f b9 ff 49 8d bf c0 4c 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e ac 0d 00 00 49 63 87 c0 4c 00 RSP: 0018:ffffc9000b1e78f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffea000153d240 RCX: ffffc9000b429000 RDX: 0000000000000998 RSI: ffffffff81dfdf2c RDI: 0000000000004cc0 RBP: 1ffff9200163cf24 R08: 0000000000000000 R09: fffffbfff2039c42 R10: ffffffff901ce217 R11: 0000000000000003 R12: 00fff00000000001 R13: 0000000000000dff R14: ffff888140adc000 R15: 0000000000000000 FS: 00007efe392656c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000788be000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: filemap_add_folio+0x1b0/0x220 mm/filemap.c:986 do_read_cache_folio+0x239/0x5c0 mm/filemap.c:3793 freader_get_folio+0x337/0x8e0 lib/buildid.c:77 freader_fetch+0xc2/0x5b0 lib/buildid.c:120 __build_id_parse.isra.0+0xef/0x770 lib/buildid.c:305 do_procmap_query+0xdb2/0xfe0 fs/proc/task_mmu.c:534 procfs_procmap_ioctl+0x7d/0xb0 fs/proc/task_mmu.c:613 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efe38385d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efe39265038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efe38575fa0 RCX: 00007efe38385d29 RDX: 0000000020000180 RSI: 00000000c0686611 RDI: 0000000000000003 RBP: 00007efe38401aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efe38575fa0 R15: 00007ffc63357c18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:707 [inline] RIP: 0010:lru_gen_test_recent mm/workingset.c:274 [inline] RIP: 0010:lru_gen_refault mm/workingset.c:293 [inline] RIP: 0010:workingset_refault+0x234/0x1390 mm/workingset.c:548 Code: d2 6f b9 ff 4d 85 f6 0f 84 80 07 00 00 e8 c4 6f b9 ff 49 8d bf c0 4c 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e ac 0d 00 00 49 63 87 c0 4c 00 RSP: 0018:ffffc9000b1e78f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffea000153d240 RCX: ffffc9000b429000 RDX: 0000000000000998 RSI: ffffffff81dfdf2c RDI: 0000000000004cc0 RBP: 1ffff9200163cf24 R08: 0000000000000000 R09: fffffbfff2039c42 R10: ffffffff901ce217 R11: 0000000000000003 R12: 00fff00000000001 R13: 0000000000000dff R14: ffff888140adc000 R15: 0000000000000000 FS: 00007efe392656c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3073d1 CR3: 00000000788be000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 6f outsl %ds:(%rsi),(%dx) 1: b9 ff 4d 85 f6 mov $0xf6854dff,%ecx 6: 0f 84 80 07 00 00 je 0x78c c: e8 c4 6f b9 ff call 0xffb96fd5 11: 49 8d bf c0 4c 00 00 lea 0x4cc0(%r15),%rdi 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 48 89 fa mov %rdi,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 74 08 je 0x39 31: 3c 03 cmp $0x3,%al 33: 0f 8e ac 0d 00 00 jle 0xde5 39: 49 rex.WB 3a: 63 .byte 0x63 3b: 87 c0 xchg %eax,%eax 3d: 4c rex.WR --- 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