[moderation] [mm?] general protection fault in workingset_refault (3)

0 views
Skip to first unread message

syzbot

unread,
Nov 2, 2025, 5:10:31 AM (22 hours ago) Nov 2
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8eefed8f65cc Merge tag 'nfsd-6.18-2' of git://git.kernel.o..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15e44bcd980000
kernel config: https://syzkaller.appspot.com/x/.config?x=929790bc044e87d7
dashboard link: https://syzkaller.appspot.com/bug?extid=fb38f8db21c40e2c1eb7
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
CC: [ak...@linux-foundation.org axelra...@google.com da...@redhat.com han...@cmpxchg.org linux-...@vger.kernel.org linu...@kvack.org lorenzo...@oracle.com mho...@kernel.org shakee...@linux.dev wei...@google.com yua...@google.com zhengq...@bytedance.com]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-8eefed8f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7150075fb3c0/vmlinux-8eefed8f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/643f0e3d9b7d/bzImage-8eefed8f.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fb38f8...@syzkaller.appspotmail.com

MINIX-fs: unable to read superblock
loop0: detected capacity change from 0 to 32768
=======================================================
WARNING: The mand mount option has been deprecated and
and is ignored by this kernel. Remove the mand
option from the mount to silence this warning.
=======================================================
XFS (loop0): Mounting V5 Filesystem bfdc47fc-10d8-4eed-a562-11a831b3f791
XFS (loop0): Ending clean mount
XFS (loop0): Quotacheck needed: Please wait.
XFS (loop0): Quotacheck: Done.
XFS (loop0): Unmounting Filesystem bfdc47fc-10d8-4eed-a562-11a831b3f791
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: 0 UID: 0 PID: 5324 Comm: syz.0.0 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:719 [inline]
RIP: 0010:lru_gen_test_recent mm/workingset.c:275 [inline]
RIP: 0010:lru_gen_refault mm/workingset.c:296 [inline]
RIP: 0010:workingset_refault+0x428/0x1660 mm/workingset.c:546
Code: 74 0c 48 c7 c7 d0 1e 7d 8f e8 b4 e5 1c 00 4c 8b 35 8d b1 72 0d 49 81 c6 38 0c 00 00 4d 8d bd 00 4e 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 6b 08 00 00 49 63 07 4d 8d 34 c6 4c 89
RSP: 0018:ffffc9000d34f740 EFLAGS: 00010206
RAX: 00000000000009c0 RBX: 0000000000000727 RCX: 0000000000100000
RDX: ffffc9000dc7a000 RSI: 000000000000046e RDI: 000000000000046f
RBP: ffffc9000d34f9b0 R08: ffff888000e90000 R09: 0000000000000002
R10: 0000000000000406 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff888030ad8c38 R15: 0000000000004e00
FS: 00007f1bd65f56c0(0000) GS:ffff88808d733000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000001c0 CR3: 00000000424f6000 CR4: 0000000000352ef0
Call Trace:
<TASK>
filemap_add_folio+0x33f/0x540 mm/filemap.c:993
do_read_cache_folio+0x326/0x590 mm/filemap.c:3991
freader_get_folio+0x3c4/0x830 lib/buildid.c:77
freader_fetch+0xa3/0x5d0 lib/buildid.c:120
__build_id_parse+0x133/0x7d0 lib/buildid.c:305
do_procmap_query fs/proc/task_mmu.c:733 [inline]
procfs_procmap_ioctl+0x76f/0xce0 fs/proc/task_mmu.c:813
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1bda18efc9
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:00007f1bd65f5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1bda3e5fa0 RCX: 00007f1bda18efc9
RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000006
RBP: 00007f1bda211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1bda3e6038 R14: 00007f1bda3e5fa0 R15: 00007ffe6e7e5438
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:719 [inline]
RIP: 0010:lru_gen_test_recent mm/workingset.c:275 [inline]
RIP: 0010:lru_gen_refault mm/workingset.c:296 [inline]
RIP: 0010:workingset_refault+0x428/0x1660 mm/workingset.c:546
Code: 74 0c 48 c7 c7 d0 1e 7d 8f e8 b4 e5 1c 00 4c 8b 35 8d b1 72 0d 49 81 c6 38 0c 00 00 4d 8d bd 00 4e 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 6b 08 00 00 49 63 07 4d 8d 34 c6 4c 89
RSP: 0018:ffffc9000d34f740 EFLAGS: 00010206
RAX: 00000000000009c0 RBX: 0000000000000727 RCX: 0000000000100000
RDX: ffffc9000dc7a000 RSI: 000000000000046e RDI: 000000000000046f
RBP: ffffc9000d34f9b0 R08: ffff888000e90000 R09: 0000000000000002
R10: 0000000000000406 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff888030ad8c38 R15: 0000000000004e00
FS: 00007f1bd65f56c0(0000) GS:ffff88808d733000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000001c0 CR3: 00000000424f6000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: 74 0c je 0xe
2: 48 c7 c7 d0 1e 7d 8f mov $0xffffffff8f7d1ed0,%rdi
9: e8 b4 e5 1c 00 call 0x1ce5c2
e: 4c 8b 35 8d b1 72 0d mov 0xd72b18d(%rip),%r14 # 0xd72b1a2
15: 49 81 c6 38 0c 00 00 add $0xc38,%r14
1c: 4d 8d bd 00 4e 00 00 lea 0x4e00(%r13),%r15
23: 4c 89 f8 mov %r15,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 6b 08 00 00 jne 0x8a2
37: 49 63 07 movslq (%r15),%rax
3a: 4d 8d 34 c6 lea (%r14,%rax,8),%r14
3e: 4c rex.WR
3f: 89 .byte 0x89


---
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 syzk...@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
Reply all
Reply to author
Forward
0 new messages