From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (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 0E90926ED44 for ; Sun, 7 Dec 2025 16:00:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765123208; cv=none; b=nH/cp5N/CAduvsyJ74w/ZND6ul0tE0n/xk1bNByGpoAMpAvqrshIkkLbrtw37FJDy0DPPJJwGg5KwN7kLmgV5Lj3A6BtiyRdMrC2vZEsIBDFULDgHoPcBDvGM0cLiOK4lx7VU522A+hxFwo5U6xeK2+/2720BvKtJYS46Km7d2s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765123208; c=relaxed/simple; bh=2h5+ZS3ESDJGA4yeyf9UzMcs8AOg3mt69Iiz65Hs+tE=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=Mq0sO+JkfigaPPi42aH8OGGXIozauwltyU8c92XTzJYmT9p8YKFQbHh9MKXg14MOtzU2sFbvZ9fX/sYJ2AJujYILwkbPmMwcuMqpZuJl9e21SkOuCUy9p1BUWylimEQEvWTgGlHrHAdZM3ye47YANYmuF6EA/hNT+IZ+7BdfJW0= 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.167.197 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-oi1-f197.google.com with SMTP id 5614622812f47-450aff06525so3230722b6e.0 for ; Sun, 07 Dec 2025 08:00:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765123205; x=1765728005; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5T7rQotwT95z/XzG7IckJSLOpj896jHKUYg9LzKfRvE=; b=ALWQTO1GEy+3xTRSPipn9L6USCaHT9vu8/+72FArYIQssLYOlYxyVvEJjhcidXq0uo pKmO1yWTeb2o8Bwi5QNH0qz5u49/i5I11xYffpMnDylaqv4o5AmeQScoqmgJCJM2I8RN STyebTwHn9t2TgHyUZwTREWzNBuAHEjH2g1LHTO2dcOL4VjEvrt6Yb7IUpWyKFPrgcy3 ufdYN6CsVw+bR8qDUcMSwwV2d9FOcLMxb6p7ligYdZJ0tG46BG96mEsHB4ZEy07fVABy kAteWaPTT3U+vzAToMMb4TvsyU1cFNaBO757BWXiCakpkG0Zxu3sIuozD8iIxPmXKDYz n5/w== X-Forwarded-Encrypted: i=1; AJvYcCVOJUhPDjakxnrPEI6HK2lBgoXOm+Hqo/YGLbcIv6yxXPStTvIcX1xGHQtwlafVe5Hlp6KzrZisreBH6TA=@vger.kernel.org X-Gm-Message-State: AOJu0Yw6LKEcj7h/3YDQ+A94srFhi8a5abZJpSPNHdwJ7F+89w1YqFtr 5/4KgBcaAED/IPQMf6BYGo+yz3MmaUtuIC+uHDacBJWJ2mKTjSlv/zGWsemci+5Y1IaUHgLpWNu ioI1SqY/9lieYeOoCr0Y6acePU48cS+KOL+CdNb2nO1LUDbY6HLtI+wdIWZs= X-Google-Smtp-Source: AGHT+IFl/sHcio52KNEFr1yzOUr+7EonV8Ip0qKIACtT7aUJT1Qdvo+9eV705BT1g2AGEFaviPl+aSZ1c5FDfG4j7KMdzJ3w7Lst 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:150a:b0:659:9a49:8de2 with SMTP id 006d021491bc7-6599a910be3mr2136299eaf.36.1765123204893; Sun, 07 Dec 2025 08:00:04 -0800 (PST) Date: Sun, 07 Dec 2025 08:00:04 -0800 In-Reply-To: <20251207153807.2801160-1-kartikey406@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6935a484.a70a0220.38f243.0061.GAE@google.com> Subject: Re: [syzbot] [mm?] general protection fault in lru_gen_test_recent (2) From: syzbot To: kartikey406@gmail.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: general protection fault in lru_gen_test_recent Oops: general protection fault, probably for non-canonical address 0xdffffc0000000a4f: 0000 [#1] SMP KASAN NOPTI KASAN: probably user-memory-access in range [0x0000000000005278-0x000000000000527f] CPU: 2 UID: 0 PID: 6563 Comm: syz.0.66 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:lru_gen_test_recent+0x1a4/0x2f0 mm/workingset.c:281 Code: 48 c1 ea 03 80 3c 02 00 0f 85 17 01 00 00 48 8d bb c0 00 00 00 49 89 1c 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 21 01 00 00 48 8b 9b c0 00 00 00 48 89 ea 48 b8 RSP: 0018:ffffc900027ef828 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 00000000000051b8 RCX: ffffc900027ef72c RDX: 0000000000000a4f RSI: ffffffff820964dd RDI: 0000000000005278 RBP: ffffc900027ef8c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff88802c77aff0 R12: ffffc900027ef8e0 R13: 0000000000000000 R14: ffffc900027ef8b0 R15: 0000000000000000 FS: 00007ff4529496c0(0000) GS:ffff8880d6b09000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000409000000 CR3: 0000000055b8f000 CR4: 0000000000352ef0 Call Trace: lru_gen_refault mm/workingset.c:300 [inline] workingset_refault+0x251/0xca0 mm/workingset.c:550 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:0x7ff451b8f7c9 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:00007ff452949038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff451de5fa0 RCX: 00007ff451b8f7c9 RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000003 RBP: 00007ff451c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff451de6038 R14: 00007ff451de5fa0 R15: 00007ffda7f04458 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lru_gen_test_recent+0x1a4/0x2f0 mm/workingset.c:281 Code: 48 c1 ea 03 80 3c 02 00 0f 85 17 01 00 00 48 8d bb c0 00 00 00 49 89 1c 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 21 01 00 00 48 8b 9b c0 00 00 00 48 89 ea 48 b8 RSP: 0018:ffffc900027ef828 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 00000000000051b8 RCX: ffffc900027ef72c RDX: 0000000000000a4f RSI: ffffffff820964dd RDI: 0000000000005278 RBP: ffffc900027ef8c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff88802c77aff0 R12: ffffc900027ef8e0 R13: 0000000000000000 R14: ffffc900027ef8b0 R15: 0000000000000000 FS: 00007ff4529496c0(0000) GS:ffff8880d6a09000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff451b73460 CR3: 0000000055b8f000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 17 01 00 00 jne 0x125 e: 48 8d bb c0 00 00 00 lea 0xc0(%rbx),%rdi 15: 49 89 1c 24 mov %rbx,(%r12) 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: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 21 01 00 00 jne 0x155 34: 48 8b 9b c0 00 00 00 mov 0xc0(%rbx),%rbx 3b: 48 89 ea mov %rbp,%rdx 3e: 48 rex.W 3f: b8 .byte 0xb8 Tested on: commit: 9e906a9d Merge tag 'perf-tools-for-v6.19-2025-12-06' o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1363ceb4580000 kernel config: https://syzkaller.appspot.com/x/.config?x=dbcb767d1e1208ac 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 patch: https://syzkaller.appspot.com/x/patch.diff?x=168666c2580000