syzbot


BUG: unable to handle kernel paging request in workingset_age_nonresident

Status: closed as invalid on 2021/03/18 10:50
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+a59e7ceb87a83c5233df@syzkaller.appspotmail.com
First crash: 1204d, last: 1203d
Cause bisection: introduced by (bisect log) :
commit 76761ffa9ea1ddca78e817bf7eec5fcb0378a00c
Author: Alex Shi <alex.shi@linux.alibaba.com>
Date: Sun Nov 29 23:58:06 2020 +0000

  mm/memcg: bail out early when !memcg in mem_cgroup_lruvec

Crash: BUG: unable to handle kernel paging request in workingset_age_nonresident (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
BUG: unable to handle kernel paging request in workingset_age_nonresident 1 (2) 2021/03/18 10:50
Last patch testing requests (1)
Created Duration User Patch Repo Result
2021/03/13 13:44 15m ducheng2@gmail.com linux-next OK

Sample crash report:
BUG: unable to handle page fault for address: ffffffff81417c79
#PF: supervisor write access in kernel mode
#PF: error_code(0x0003) - permissions violation
PGD b08f067 P4D b08f067 PUD b090063 PMD 14001e1 
Oops: 0003 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8503 Comm: syz-executor118 Not tainted 5.10.0-rc5-next-20201130-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:630 [inline]
RIP: 0010:parent_lruvec include/linux/memcontrol.h:1560 [inline]
RIP: 0010:workingset_age_nonresident+0x179/0x1c0 mm/workingset.c:242
Code: 85 db 0f 85 c8 fe ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f e9 6a 67 cf ff e8 65 67 cf ff 49 8d 9d 18 4d 00 00 eb b3 e8 57 67 cf ff <4c> 89 ab c0 00 00 00 eb c7 e8 69 35 12 00 e9 d3 fe ff ff e8 5f 35
RSP: 0018:ffffc9000112f4c0 EFLAGS: 00010093
RAX: 0000000000000000 RBX: ffffffff81417bb9 RCX: 0000000000000000
RDX: ffff88801eee5040 RSI: ffffffff81a159f9 RDI: ffffffff81417c79
RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff88813ffffdbf
R10: ffffed1027ffffb7 R11: 0000000000000000 R12: ffffffff8e7911d0
R13: ffff88813fffb000 R14: 0000000000000001 R15: ffffffff8e7910b0
FS:  0000000002581880(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff81417c79 CR3: 0000000013a2f000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 workingset_eviction+0x452/0x9b0 mm/workingset.c:266
 __remove_mapping+0x867/0xd20 mm/vmscan.c:927
 shrink_page_list+0x246a/0x5e80 mm/vmscan.c:1431
 reclaim_pages+0x3e2/0xcd0 mm/vmscan.c:2148
 madvise_cold_or_pageout_pte_range+0x1615/0x2880 mm/madvise.c:473
 walk_pmd_range mm/pagewalk.c:89 [inline]
 walk_pud_range mm/pagewalk.c:160 [inline]
 walk_p4d_range mm/pagewalk.c:193 [inline]
 walk_pgd_range mm/pagewalk.c:229 [inline]
 __walk_page_range+0xda4/0x1e20 mm/pagewalk.c:331
 walk_page_range+0x1be/0x450 mm/pagewalk.c:427
 madvise_pageout_page_range mm/madvise.c:526 [inline]
 madvise_pageout+0x21b/0x390 mm/madvise.c:562
 madvise_vma mm/madvise.c:943 [inline]
 do_madvise.part.0+0x9f2/0x1ed0 mm/madvise.c:1142
 do_madvise mm/madvise.c:1168 [inline]
 __do_sys_madvise mm/madvise.c:1168 [inline]
 __se_sys_madvise mm/madvise.c:1166 [inline]
 __x64_sys_madvise+0x113/0x150 mm/madvise.c:1166
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x440279
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 7b 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe7c1ab298 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440279
RDX: 0000000000000015 RSI: 0000000000600003 RDI: 0000000020000000
RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000401a80
R13: 0000000000401b10 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffffffff81417c79
---[ end trace 89bcebda47215cf6 ]---
RIP: 0010:mem_cgroup_lruvec include/linux/memcontrol.h:630 [inline]
RIP: 0010:parent_lruvec include/linux/memcontrol.h:1560 [inline]
RIP: 0010:workingset_age_nonresident+0x179/0x1c0 mm/workingset.c:242
Code: 85 db 0f 85 c8 fe ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f e9 6a 67 cf ff e8 65 67 cf ff 49 8d 9d 18 4d 00 00 eb b3 e8 57 67 cf ff <4c> 89 ab c0 00 00 00 eb c7 e8 69 35 12 00 e9 d3 fe ff ff e8 5f 35
RSP: 0018:ffffc9000112f4c0 EFLAGS: 00010093
RAX: 0000000000000000 RBX: ffffffff81417bb9 RCX: 0000000000000000
RDX: ffff88801eee5040 RSI: ffffffff81a159f9 RDI: ffffffff81417c79
RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff88813ffffdbf
R10: ffffed1027ffffb7 R11: 0000000000000000 R12: ffffffff8e7911d0
R13: ffff88813fffb000 R14: 0000000000000001 R15: ffffffff8e7910b0
FS:  0000000002581880(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff81417c79 CR3: 0000000013a2f000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (111):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/30 13:08 linux-next c6b11acc5f85 a0092f9d .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/12/01 08:53 linux-next c6b11acc5f85 b3a34598 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/01 07:33 linux-next c6b11acc5f85 b3a34598 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/01 05:59 linux-next c6b11acc5f85 b3a34598 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/01 04:42 linux-next c6b11acc5f85 b3a34598 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/01 04:41 linux-next c6b11acc5f85 b3a34598 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/01 03:37 linux-next c6b11acc5f85 b3a34598 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 22:49 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 21:47 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 19:53 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 19:21 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 18:21 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 17:47 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 16:37 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 15:10 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 15:10 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 15:08 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 15:02 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 15:01 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 14:42 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 14:36 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 14:00 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:59 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:55 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:54 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:47 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:45 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:33 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:25 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 13:24 linux-next c6b11acc5f85 78d50c1d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 12:38 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 12:30 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 12:13 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 12:00 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:50 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:50 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:48 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:44 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:36 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:32 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:22 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 11:07 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 10:45 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 10:44 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 10:36 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/30 09:14 linux-next c6b11acc5f85 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.