syzbot


kernel BUG in z3fold_page_migrate

Status: upstream: reported syz repro on 2024/09/04 00:31
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+63f9ce7427394b75d9a3@syzkaller.appspotmail.com
First crash: 45d, last: 1d14h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel BUG in z3fold_page_migrate 0 (2) 2024/09/15 10:56

Sample crash report:
 try_to_shrink_lruvec+0x9ab/0xbb0 mm/vmscan.c:4755
 shrink_one+0x3b9/0x850 mm/vmscan.c:4793
 shrink_many mm/vmscan.c:4856 [inline]
 lru_gen_shrink_node mm/vmscan.c:4934 [inline]
 shrink_node+0x3799/0x3de0 mm/vmscan.c:5914
 kswapd_shrink_node mm/vmscan.c:6742 [inline]
 balance_pgdat mm/vmscan.c:6934 [inline]
 kswapd+0x1cbc/0x3720 mm/vmscan.c:7203
------------[ cut here ]------------
kernel BUG at mm/z3fold.c:1293!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 29 Comm: kcompactd1 Not tainted 6.11.0-rc7-syzkaller-00149-g0babf683783d #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:z3fold_page_migrate+0xafd/0xf50 mm/z3fold.c:1293
Code: ff 4c 89 f7 48 c7 c6 40 36 18 8c e8 9d 17 d7 ff 90 0f 0b e8 25 ba 8c ff 48 8b 7c 24 08 48 c7 c6 a0 36 18 8c e8 84 17 d7 ff 90 <0f> 0b f3 0f 1e fa 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 dc be 8c
RSP: 0018:ffffc900004fed98 EFLAGS: 00010246
RAX: 2ac19587b3dc5700 RBX: 0000000000000000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: 0000000000000001
RBP: ffffea00012a6f80 R08: ffffffff9018766f R09: 1ffffffff2030ecd
R10: dffffc0000000000 R11: fffffbfff2030ece R12: dffffc0000000000
R13: ffffffff8c1834a8 R14: ffffea0001157580 R15: 1ffffd400022aeb0
FS:  0000000000000000(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000003793000 CR3: 0000000011e16000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 move_to_new_folio+0x99e/0x12e0 mm/migrate.c:999
 migrate_folio_move mm/migrate.c:1288 [inline]
 migrate_pages_batch+0x2527/0x3560 mm/migrate.c:1818
 migrate_pages_sync mm/migrate.c:1911 [inline]
 migrate_pages+0x262b/0x3460 mm/migrate.c:1993
 compact_zone+0x3404/0x4af0 mm/compaction.c:2671
 compact_node+0x2de/0x460 mm/compaction.c:2935
 kcompactd+0x788/0x1530 mm/compaction.c:3233
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:z3fold_page_migrate+0xafd/0xf50 mm/z3fold.c:1293
Code: ff 4c 89 f7 48 c7 c6 40 36 18 8c e8 9d 17 d7 ff 90 0f 0b e8 25 ba 8c ff 48 8b 7c 24 08 48 c7 c6 a0 36 18 8c e8 84 17 d7 ff 90 <0f> 0b f3 0f 1e fa 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 dc be 8c
RSP: 0018:ffffc900004fed98 EFLAGS: 00010246
RAX: 2ac19587b3dc5700 RBX: 0000000000000000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: 0000000000000001
RBP: ffffea00012a6f80 R08: ffffffff9018766f R09: 1ffffffff2030ecd
R10: dffffc0000000000 R11: fffffbfff2030ece R12: dffffc0000000000
R13: ffffffff8c1834a8 R14: ffffea0001157580 R15: 1ffffd400022aeb0
FS:  0000000000000000(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000003cf5010 CR3: 000000001f032000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (99):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/15 10:55 upstream 0babf683783d 08d8a733 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/13 03:20 upstream 7234e2ea0edd 084d8178 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/09 20:36 upstream 75b607fab38d 56fb2cb7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/09 16:05 upstream 75b607fab38d 56fb2cb7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/05 02:46 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/05 01:11 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/05 00:10 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 23:26 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 21:58 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 20:36 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 19:32 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 18:13 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 16:54 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 14:49 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 13:10 upstream 3840cbe24cf0 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 13:01 upstream 3840cbe24cf0 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 11:12 upstream 3840cbe24cf0 d7906eff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in z3fold_page_migrate
2024/10/04 07:07 upstream 3840cbe24cf0 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/04 04:32 upstream 3840cbe24cf0 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/01 16:32 upstream e32cde8d2bd7 e9f6e118 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in z3fold_page_migrate
2024/10/01 05:50 upstream e32cde8d2bd7 bbd4e0a4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/30 19:45 upstream 9852d85ec9d4 179f4029 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/29 03:45 upstream 3efc57369a0c ba29ff75 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in z3fold_page_migrate
2024/09/28 08:35 upstream e477dba5442c 440b26ec .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/21 13:56 upstream 1868f9d0260e 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/20 21:19 upstream baeb9a7d8b60 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/19 14:58 upstream 932d2d1fcb2b 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/19 08:37 upstream 932d2d1fcb2b c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/19 06:42 upstream 932d2d1fcb2b c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/19 02:29 upstream 4a39ac5b7d62 c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/18 21:51 upstream 4a39ac5b7d62 c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/18 15:00 upstream 2f27fce67173 c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/18 07:03 upstream 2f27fce67173 c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/17 04:16 upstream a430d95c5efa c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/13 12:39 upstream 196145c606d0 73e8a465 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/12 16:56 upstream 77f587896757 60e1a995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/09/02 15:06 upstream 67784a74e258 1eda0d14 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/08/31 00:22 upstream fb24560f31f9 1eda0d14 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in z3fold_page_migrate
2024/10/13 23:58 upstream 36c254515dc6 084d8178 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/13 12:49 upstream 7234e2ea0edd 084d8178 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/13 06:27 upstream 7234e2ea0edd 084d8178 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/11 01:00 upstream 1d227fcc7222 cd942402 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/08 08:00 upstream 87d6aab2389e 402f1df0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/08 04:57 upstream 87d6aab2389e 402f1df0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/05 14:03 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/05 11:10 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/10/02 10:04 upstream e32cde8d2bd7 ea2b66a6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/29 09:27 upstream 3efc57369a0c ba29ff75 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/28 20:21 upstream ad46e8f95e93 ba29ff75 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/28 11:40 upstream ad46e8f95e93 ba29ff75 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/27 01:24 upstream 075dbe9f6e3c 9314348a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/25 14:22 upstream 684a64bf32b6 0d19f247 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/16 06:04 upstream 114143a59589 08d8a733 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/15 04:02 upstream 0babf683783d 08d8a733 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
2024/09/13 10:09 upstream 196145c606d0 73e8a465 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in z3fold_page_migrate
* Struck through repros no longer work on HEAD.