From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f80.google.com (mail-ot1-f80.google.com [209.85.210.80]) (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 112431A23B9 for ; Sun, 7 Dec 2025 08:55:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765097728; cv=none; b=MwY7GaNUcSZlQj+5cdNQZKP2Zmu874BKiw8XJsCQ9W+O+mxtlrPQRTDv5xUs8mz+V1voODT35fK1K8Cu8PTWO46XtrHSpsp6r+tSjappAv9jnz3Sml/aM8Q0OIT93lCZXXWGdbAwNi2oKROOjTh7653k7aOg/oZFUjFWYyCZ59g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765097728; c=relaxed/simple; bh=PAz1bJgFNbwLKMimdAjSHQH3gvJ9z2e5ktL2Fmocamc=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Mr8b1qQDnviWm1jGWn9fU6ERIJ6MWI31lIsWvC71TlDDDitqTBRJW3A4bfaIkYo1sWaTFwohpjB2waenEhHKUP+epnIiHsKXjZ2xR4K/Z4g652Zecl8n9a369L3JFUboSqJlAXJamxaNdQ+BsgLPikqqCHJhHjyIMmmJElA9QIM= 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.210.80 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-ot1-f80.google.com with SMTP id 46e09a7af769-7c75290862cso7366851a34.2 for ; Sun, 07 Dec 2025 00:55:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765097726; x=1765702526; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Rg3NpO2qsBNiFF6xlTcbeS7yfrEriXZCD0JTQIYZjKQ=; b=VW+199WowZELlMiGGFTwQwhOKikh+1ldz7QrUXYbjameTTNtaBn6J96FJCIZQ3Rxic DNTVsOHeeJKGNL7CuVS7sRxxy9ajp3nXnvWcf6Jz9TQIt58Yu1pWGkj+83LCWfrr7T7v 3Lkih5mVQ2UUnqONsOqrBtwy1lKB2zwlOl4Yw5vuIh4AAWDKu1a4of4tcFiV9TTY8mqV PrNAhagOV3Rj8Pb3vEb+adbCIZbxJveT7YXbsmcx1PC+9hwY+aLEPUu5+l5QxeN+87rY nir7CCulWmOD8/vhowG/nd0k18/6J1yB3mbAV6usYuMKAVdVrhWrveAEDya6/dBnbCLb aO8A== X-Forwarded-Encrypted: i=1; AJvYcCW0mi1VfsMuLVytJ1WGkjJgT8kGgnzPKVRpnuK4qaUJIU2guvOnS+6aodqI6PX54Yt8BdL0zPsM0am9DXo=@vger.kernel.org X-Gm-Message-State: AOJu0YzuY3hOk6+TySLG/rcV06x6V+s+U8sTabteBC9LZsi6wsm4bbWJ /HxF6aJ31bxJeMnU6XjCbLl7enTUxLuLcmeWkMdsGAR+Aej1au5bL7GT4IhtaTc7V5WZ0QR1VBv 8/CPCpi/eMG/p6iubIM1e9g7TZsSqWMNkWYgPxKYmTXatEkoIRE1sUL/mZS0= X-Google-Smtp-Source: AGHT+IHVK+oaWYxHEadC5NNhsPw1HdmPhptHVRCyjazvlI4ChZAHNuTSFIdFwEwt0ocKs9fANO0NecW0qePdhCSwhKjQtkORS1y7 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:6820:160b:b0:659:9a49:8ec5 with SMTP id 006d021491bc7-6599a9792ccmr2050790eaf.73.1765097726197; Sun, 07 Dec 2025 00:55:26 -0800 (PST) Date: Sun, 07 Dec 2025 00:55:26 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <693540fe.a70a0220.38f243.004c.GAE@google.com> Subject: [syzbot] [mm?] general protection fault in lru_gen_test_recent (2) From: syzbot To: akpm@linux-foundation.org, axelrasmussen@google.com, david@kernel.org, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, lorenzo.stoakes@oracle.com, mhocko@kernel.org, shakeel.butt@linux.dev, syzkaller-bugs@googlegroups.com, weixugc@google.com, yuanchu@google.com, zhengqi.arch@bytedance.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: c06c303832ec ocfs2: fix xattr array entry __counted_by error git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14cbfc1a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=5aef7d5187304591 dashboard link: https://syzkaller.appspot.com/bug?extid=e008db2ac01e282550ee compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=127f2992580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15cf4eb4580000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-c06c3038.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/1a5115eeda38/vmlinux-c06c3038.xz kernel image: https://storage.googleapis.com/syzbot-assets/98eb17e54bb8/bzImage-c06c3038.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+e008db2ac01e282550ee@syzkaller.appspotmail.com Oops: general protection fault, probably for non-canonical address 0xdffffc00000009c0: 0000 [#1] SMP KASAN NOPTI KASAN: probably user-memory-access in range [0x0000000000004e00-0x0000000000004e07] CPU: 2 UID: 0 PID: 6121 Comm: syz.0.27 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:720 [inline] RIP: 0010:lru_gen_test_recent+0xee/0x320 mm/workingset.c:275 Code: 38 80 b5 ff 48 85 db 0f 84 79 01 00 00 e8 2a 80 b5 ff 49 8d bd 00 4e 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 a3 01 00 00 4d 63 b5 00 4e 00 RSP: 0018:ffffc90003e17828 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888100068000 RCX: ffffc90003e1772c RDX: 00000000000009c0 RSI: ffffffff82096446 RDI: 0000000000004e00 RBP: ffffc90003e178c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff888028282ff0 R12: ffffc90003e178e0 R13: 0000000000000000 R14: ffffc90003e178b0 R15: 0000000000000000 FS: 00007f6361dfa6c0(0000) GS:ffff8880d6b0d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000409000000 CR3: 0000000039516000 CR4: 0000000000352ef0 Call Trace: lru_gen_refault mm/workingset.c:296 [inline] workingset_refault+0x251/0xca0 mm/workingset.c:546 filemap_add_folio+0x23d/0x610 mm/filemap.c:981 do_read_cache_folio+0x23c/0x5c0 mm/filemap.c:4063 freader_get_folio+0x33a/0x930 lib/buildid.c:58 freader_fetch+0xbd/0x740 lib/buildid.c:101 __build_id_parse.isra.0+0xdd/0x6c0 lib/buildid.c:289 do_procmap_query+0xb0e/0x1080 fs/proc/task_mmu.c:733 procfs_procmap_ioctl+0x9d/0xe0 fs/proc/task_mmu.c:813 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6360f8f7c9 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:00007f6361dfa038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f63611e5fa0 RCX: 00007f6360f8f7c9 RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000003 RBP: 00007f6361013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f63611e6038 R14: 00007f63611e5fa0 R15: 00007ffe36ff8138 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:720 [inline] RIP: 0010:lru_gen_test_recent+0xee/0x320 mm/workingset.c:275 Code: 38 80 b5 ff 48 85 db 0f 84 79 01 00 00 e8 2a 80 b5 ff 49 8d bd 00 4e 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 a3 01 00 00 4d 63 b5 00 4e 00 RSP: 0018:ffffc90003e17828 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888100068000 RCX: ffffc90003e1772c RDX: 00000000000009c0 RSI: ffffffff82096446 RDI: 0000000000004e00 RBP: ffffc90003e178c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff888028282ff0 R12: ffffc90003e178e0 R13: 0000000000000000 R14: ffffc90003e178b0 R15: 0000000000000000 FS: 00007f6361dfa6c0(0000) GS:ffff8880d6b0d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000409000000 CR3: 0000000039516000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 38 80 b5 ff 48 85 cmp %al,-0x7ab7004b(%rax) 6: db 0f fisttpl (%rdi) 8: 84 79 01 test %bh,0x1(%rcx) b: 00 00 add %al,(%rax) d: e8 2a 80 b5 ff call 0xffb5803c 12: 49 8d bd 00 4e 00 00 lea 0x4e00(%r13),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e a3 01 00 00 jle 0x1dd 3a: 4d rex.WRB 3b: 63 .byte 0x63 3c: b5 00 mov $0x0,%ch 3e: 4e rex.WRX --- 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 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