syzbot


general protection fault in workingset_refault (2)

Status: moderation: reported on 2025/04/08 09:54
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+2623633c2ac4a8356d26@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in workingset_refault mm 8 111d 113d 0/28 auto-obsoleted due to no activity on 2025/04/03 11:39

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc00000009c0: 0000 [#1] SMP KASAN PTI
KASAN: probably user-memory-access in range [0x0000000000004e00-0x0000000000004e07]
CPU: 1 UID: 0 PID: 15163 Comm: syz.3.2583 Not tainted 6.14.0-syzkaller-12966-ga2cc6ff5ec8f #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:699 [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+0x48f/0x1b80 mm/workingset.c:546
Code: c7 c7 48 fa 5f 90 e8 f0 06 1e 00 4c 8b 35 31 85 50 0e 49 8d 9f 00 4e 00 00 48 89 d8 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df <42> 0f b6 04 20 84 c0 0f 85 bb 0a 00 00 48 63 03 49 8d 1c c6 48 81
RSP: 0018:ffffc9000d507600 EFLAGS: 00010206
RAX: 00000000000009c0 RBX: 0000000000004e00 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8e4fc666 RDI: ffffffff8ca1b140
RBP: ffffc9000d507890 R08: ffffffff8c2e746c R09: ffffffff8c2e742a
R10: 0000000000000002 R11: ffff88805d951e00 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88814049c000 R15: 0000000000000000
FS:  00007f6696db46c0(0000) GS:ffff888125099000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c11fffc CR3: 0000000057cd6000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 filemap_add_folio+0x23a/0x380 mm/filemap.c:984
 do_read_cache_folio+0x349/0x5b0 mm/filemap.c:3851
 freader_get_folio+0x54d/0x880 lib/buildid.c:77
 freader_fetch+0x9d/0x5b0 lib/buildid.c:120
 __build_id_parse+0x185/0x8e0 lib/buildid.c:305
 do_procmap_query fs/proc/task_mmu.c:534 [inline]
 procfs_procmap_ioctl+0xcf6/0x1670 fs/proc/task_mmu.c:613
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6698f8d169
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:00007f6696db4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f66991a6160 RCX: 00007f6698f8d169
RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000003
RBP: 00007f669900e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f66991a6160 R15: 00007f66992cfa28
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:699 [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+0x48f/0x1b80 mm/workingset.c:546
Code: c7 c7 48 fa 5f 90 e8 f0 06 1e 00 4c 8b 35 31 85 50 0e 49 8d 9f 00 4e 00 00 48 89 d8 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df <42> 0f b6 04 20 84 c0 0f 85 bb 0a 00 00 48 63 03 49 8d 1c c6 48 81
RSP: 0018:ffffc9000d507600 EFLAGS: 00010206
RAX: 00000000000009c0 RBX: 0000000000004e00 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8e4fc666 RDI: ffffffff8ca1b140
RBP: ffffc9000d507890 R08: ffffffff8c2e746c R09: ffffffff8c2e742a
R10: 0000000000000002 R11: ffff88805d951e00 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88814049c000 R15: 0000000000000000
FS:  00007f6696db46c0(0000) GS:ffff888125099000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000001c4 CR3: 0000000057cd6000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c7 c7 48 fa 5f 90    	mov    $0x905ffa48,%edi
   6:	e8 f0 06 1e 00       	call   0x1e06fb
   b:	4c 8b 35 31 85 50 0e 	mov    0xe508531(%rip),%r14        # 0xe508543
  12:	49 8d 9f 00 4e 00 00 	lea    0x4e00(%r15),%rbx
  19:	48 89 d8             	mov    %rbx,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	49 bc 00 00 00 00 00 	movabs $0xdffffc0000000000,%r12
  27:	fc ff df
* 2a:	42 0f b6 04 20       	movzbl (%rax,%r12,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 bb 0a 00 00    	jne    0xaf2
  37:	48 63 03             	movslq (%rbx),%rax
  3a:	49 8d 1c c6          	lea    (%r14,%rax,8),%rbx
  3e:	48                   	rex.W
  3f:	81                   	.byte 0x81

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/04 09:46 upstream a2cc6ff5ec8f d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in workingset_refault
* Struck through repros no longer work on HEAD.