From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f71.google.com (mail-ot1-f71.google.com [209.85.210.71]) (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 2567C1E0B86 for ; Mon, 8 Dec 2025 05:31:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765171865; cv=none; b=CzmKkh+dl1tVopr7rTd7UbNmLOUIRW7geIXy6tZpX77CzYAOyYbjFEs6xSi5XfzKXz+6gfCN4+TXMQ+fRq0LtNd4rJU+5WajrcaXWsRVtNVe46WEcxJ4REdG7TWdDdpGgyrN+HfjRv7z9le/NqWxz8PyUN9I4O7o58O8eep8soI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765171865; c=relaxed/simple; bh=srO4BqumbGEuIG7X54QcOUwpSXz7LKWPLZI8j5J/SVs=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=RjVgBcdCv5e64ZF87MjD8yPRWLtr6fti5Xn7squ4xANuj3U0bse1LToN+skCLTTm4qIwVysHfLNqEX5gOb30+hKXzP/iSn/wUZf0LukUmmVJIuy1xLuNKBVUjzulUR2lfqMv7oxiijTrYLuMTmn8VaFokywYrjpoMytroMSsfFc= 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.71 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-f71.google.com with SMTP id 46e09a7af769-7c673f5f4b6so10463321a34.1 for ; Sun, 07 Dec 2025 21:31:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765171862; x=1765776662; 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=f2ibh9FX4K9ZGFqGkl3HzjTRklYUSWTi13cMkXAKgpw=; b=HI7kALQyQfSt5zJxHmhH/tUhLEFyAAZpHWvV5Khw0Ubk5LwHoK8iwyTm1LCiQ7cPke wGffjkdbSUpN625vN5pOXKxsV9kSe0FXhPztHvKtTeMUnvlEmLUXGusH+huio+fYTIKh wYYgF4q7CjBngnQ5Eb2gYqBiB3ESSNMUyEZss8oJEwYUSZR+aOCI3BLGzHpOfiWomwtj 3mnp+FtFXnV1k4x0xOKMDCS2CteY2LCeRCbgDPPxWSnaxB+DqA9/Rn5rfQTsEctjCT7S Vmuf2Xn9Bwt6TSw59Ej2DTqqBSMdLAcg0tvNZrQExrW+NGi5zOljj9jiiHXAxhwomMRB cVoQ== X-Forwarded-Encrypted: i=1; AJvYcCW1tr/2P4K6pLY+f1XLw+QRCsRnzw2MoiHApAp1ruGnexQN7dI53Ci/ahsU1p/qeTj7u/Qh5Wj9UZcY9dI=@vger.kernel.org X-Gm-Message-State: AOJu0Yz0HrbEaaUWwustAuxEejge5eGQJC6HwBth5vYEfmFUUozlskJl Cye1TgoR8NBmIZsgl2Uzr45nIV5QXjKQ8CosiCqOVDxigfrxdPqRUCVBEwBx8wuMQIfnw/k9Xqz VHX8kni2U1eiqKxUe+QWswt5Z5eFL+RtWG0fcs44UhsSgyaKr8TWE4IVAxl0= X-Google-Smtp-Source: AGHT+IHCtObW0DSRFgYVF+8VoZKu0GHea68Q3PRTQ55HTfQP60778M1x7mj3kinYyYtyXDr/KvzAvtID4SPY6Dg7ysv9Kg3y+zY0 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:1791:b0:659:9a49:8eae with SMTP id 006d021491bc7-6599a93ee3cmr2866181eaf.50.1765171862249; Sun, 07 Dec 2025 21:31:02 -0800 (PST) Date: Sun, 07 Dec 2025 21:31:02 -0800 In-Reply-To: <20251208051440.2931546-1-kartikey406@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69366296.a70a0220.38f243.0087.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, syzbot@syzkaller.appspot.com, 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: BUG: unable to handle kernel NULL pointer dereference in filemap_read_folio lru_gen_test_recent: Detected corrupted shadow (NULL pgdat), setting lruvec=NULL lru_gen_refault: Skipping corrupted entry (lruvec=NULL) BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 58fec067 P4D 58fec067 PUD 0 Oops: Oops: 0010 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 6433 Comm: syz.0.26 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:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc900038af988 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81f7e52e RDX: ffff88802978c980 RSI: ffffea00010f92c0 RDI: ffff8880374eddc0 RBP: ffffea00010f92c0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff92000715f32 R13: ffff8880374eddc0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f1fc2e686c0(0000) GS:ffff8880d6a09000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000026060000 CR4: 0000000000352ef0 Call Trace: filemap_read_folio+0xc8/0x2a0 mm/filemap.c:2496 do_read_cache_folio+0x266/0x5c0 mm/filemap.c:4096 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:0x7f1fc1f8f7c9 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:00007f1fc2e68038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1fc21e5fa0 RCX: 00007f1fc1f8f7c9 RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000003 RBP: 00007f1fc2013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1fc21e6038 R14: 00007f1fc21e5fa0 R15: 00007fff8a945218 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc900038af988 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81f7e52e RDX: ffff88802978c980 RSI: ffffea00010f92c0 RDI: ffff8880374eddc0 RBP: ffffea00010f92c0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff92000715f32 R13: ffff8880374eddc0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f1fc2e686c0(0000) GS:ffff8880d6a09000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000026060000 CR4: 0000000000352ef0 Tested on: commit: c2f2b01b Merge tag 'i3c/for-6.19' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=179aaeb4580000 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=1188321a580000