syzbot


general protection fault in workingset_refault (3)

Status: moderation: reported on 2025/11/02 10:10
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+fb38f8db21c40e2c1eb7@syzkaller.appspotmail.com
First crash: 8d16h, last: 8d16h
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in workingset_refault mm 2 8 317d 319d 0/29 auto-obsoleted due to no activity on 2025/04/03 11:39
upstream general protection fault in workingset_refault (2) mm 2 1 216d 212d 0/29 auto-obsoleted due to no activity on 2025/07/03 09:47

Sample crash report:
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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/29 10:07 upstream 8eefed8f65cc fd2207e7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in workingset_refault
* Struck through repros no longer work on HEAD.