syzbot


BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath

Status: upstream: reported C repro on 2023/03/28 13:59
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+21cf083b42cddd4c2382@syzkaller.appspotmail.com
First crash: 620d, last: 60d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/15 linux-5.15.y (ToT) b0ece631f84a C [report] BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/05/15 upstream (ToT) f1fcbaa18b28 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath cgroups mm C 19 747d 827d 0/28 auto-obsoleted due to no activity on 2023/03/21 07:46
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/10/08 16:53 20m retest repro linux-5.15.y report log
2024/10/08 16:53 12m retest repro linux-5.15.y report log
2024/10/08 16:53 11m retest repro linux-5.15.y report log
2024/10/08 16:53 10m retest repro linux-5.15.y report log
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2024/11/03 02:24 2m fix candidate upstream error job log
2024/09/22 12:22 1m fix candidate upstream error job log
2024/07/14 17:07 1m fix candidate upstream error job log
2024/04/22 14:43 7m fix candidate upstream error job log
2024/03/22 03:55 6m fix candidate upstream error job log
2024/01/07 11:46 16m fix candidate upstream error job log
2023/12/08 01:24 0m fix candidate upstream error job log
2023/10/29 14:06 0m fix candidate upstream error job log
2023/06/28 05:29 1m bisect fix linux-5.15.y error job log
2023/04/27 16:22 50m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
Unable to handle kernel paging request at virtual address dfff80000000023d
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff80000000023d] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 5772 Comm: syz-executor908 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : mem_cgroup_track_foreign_dirty_slowpath+0xe0/0x9f0 mm/memcontrol.c:4617
lr : trace_track_foreign_dirty include/trace/events/writeback.h:237 [inline]
lr : mem_cgroup_track_foreign_dirty_slowpath+0xd0/0x9f0 mm/memcontrol.c:4608
sp : ffff8000235e6e20
x29: ffff8000235e6e30 x28: 00000000ffffa082 x27: 0000000000000000
x26: dfff800000000000 x25: dfff800000000000 x24: 05ffc0000042210f
x23: ffff0000ccd645e0 x22: 0000000000000000 x21: 00000000000011e8
x20: ffff0000ccd64060 x19: 0000000000000000 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800011ac23e0 x15: 0000000000000004
x14: 1ffff0000295806a x13: dfff800000000000 x12: 00000000a6e8df53
x11: 0000000000000002 x10: 0000000000000003 x9 : 0000000000000000
x8 : 000000000000023d x7 : ffff800008923530 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : 0000000000000002
x2 : 0000000000000010 x1 : ffff8000120c8040 x0 : 0000000000000001
Call trace:
 mem_cgroup_track_foreign_dirty_slowpath+0xe0/0x9f0 mm/memcontrol.c:4617
 mem_cgroup_track_foreign_dirty include/linux/memcontrol.h:1593 [inline]
 account_page_dirtied mm/page-writeback.c:2485 [inline]
 __set_page_dirty+0x8c0/0xc7c mm/page-writeback.c:2522
 mark_buffer_dirty+0x27c/0x574 fs/buffer.c:1108
 __block_commit_write+0x1f8/0x358 fs/buffer.c:2085
 block_write_end+0x60/0x114 fs/buffer.c:2164
 blkdev_write_end+0x64/0x274 block/fops.c:378
 generic_perform_write+0x354/0x520 mm/filemap.c:3796
 __generic_file_write_iter+0x230/0x454 mm/filemap.c:3912
 blkdev_write_iter+0x30c/0x470 block/fops.c:534
 do_iter_readv_writev+0x420/0x5f8
 do_iter_write+0x1b8/0x66c fs/read_write.c:855
 vfs_iter_write+0x88/0xac fs/read_write.c:896
 iter_file_splice_write+0x618/0xc48 fs/splice.c:689
 do_splice_from fs/splice.c:767 [inline]
 direct_splice_actor+0xe4/0x1c0 fs/splice.c:936
 splice_direct_to_actor+0x408/0x9a0 fs/splice.c:891
 do_splice_direct+0x1f4/0x334 fs/splice.c:979
 do_sendfile+0x4c0/0xcb0 fs/read_write.c:1249
 __do_sys_sendfile64 fs/read_write.c:1317 [inline]
 __se_sys_sendfile64 fs/read_write.c:1303 [inline]
 __arm64_sys_sendfile64+0x160/0x408 fs/read_write.c:1303
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 36002f20 52823d08 8b080275 d343fea8 (38796908) 
---[ end trace 1b371800688f5e89 ]---
----------------
Code disassembly (best guess):
   0:	36002f20 	tbz	w0, #0, 0x5e4
   4:	52823d08 	mov	w8, #0x11e8                	// #4584
   8:	8b080275 	add	x21, x19, x8
   c:	d343fea8 	lsr	x8, x21, #3
* 10:	38796908 	ldrb	w8, [x8, x25] <-- trapping instruction

Crashes (38):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/22 18:13 linux-5.15.y 3a5928702e71 6f888b75 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/06/10 00:00 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/12/05 01:23 linux-5.15.y 9b91d36ba301 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/03/28 16:22 linux-5.15.y 115472395b0a 47f3aaf1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/09/24 12:26 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/09/22 15:37 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/09/08 13:15 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/08/26 00:37 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/08/09 12:35 linux-5.15.y 7e89efd3ae1c a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/08/09 12:33 linux-5.15.y 7e89efd3ae1c a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/08/08 16:27 linux-5.15.y 7e89efd3ae1c 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/07/13 12:36 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/06/10 11:16 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/05/24 14:00 linux-5.15.y 83655231580b 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/05/24 13:58 linux-5.15.y 83655231580b 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/05/10 10:29 linux-5.15.y 284087d4f7d5 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/05/09 16:55 linux-5.15.y 284087d4f7d5 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/05/07 17:00 linux-5.15.y 284087d4f7d5 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/05/07 16:49 linux-5.15.y 284087d4f7d5 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/05/07 16:38 linux-5.15.y 284087d4f7d5 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/04/28 14:05 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/04/15 16:55 linux-5.15.y fa3df276cd36 b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/04/13 09:13 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/04/09 23:37 linux-5.15.y 9465fef4ae35 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/04/06 20:58 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/04/04 19:41 linux-5.15.y 9465fef4ae35 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/03/11 07:39 linux-5.15.y 574362648507 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/03/06 21:45 linux-5.15.y 574362648507 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/03/05 12:33 linux-5.15.y 80efc6265290 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/02/08 10:12 linux-5.15.y 6139f2a02fe0 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/01/20 19:20 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/01/11 11:06 linux-5.15.y 26c690eff0a5 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2024/01/09 21:16 linux-5.15.y 26c690eff0a5 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/12/26 17:32 linux-5.15.y d93fa2c78854 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/12/08 19:28 linux-5.15.y 8a1d809b0545 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/12/04 09:56 linux-5.15.y 9b91d36ba301 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/05/28 10:42 linux-5.15.y 1fe619a7d252 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
2023/03/28 13:59 linux-5.15.y 115472395b0a 47f3aaf1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in mem_cgroup_track_foreign_dirty_slowpath
* Struck through repros no longer work on HEAD.