syzbot


WARNING in split_huge_page_to_list

Status: fixed on 2023/05/30 15:47
Reported-by: syzbot+8b6a8c605f81c2f60cad@syzkaller.appspotmail.com
Fix commit: e8a7bdb6f76c mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO
First crash: 490d, last: 445d
Fix bisection: fixed by (bisect log) :
commit e8a7bdb6f76cdaef4183669554ad76e5ed197d92
Author: Naoya Horiguchi <naoya.horiguchi@nec.com>
Date: Thu Apr 6 08:20:04 2023 +0000

  mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO

  
Bug presence (1)
Date Name Commit Repro Result
2023/05/02 upstream (ToT) d7b3ffe2d7e4 C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in split_huge_page_to_list origin:lts-only C error 1133 1d06h 490d 0/3 upstream: reported C repro on 2023/03/12 08:31
upstream WARNING in split_huge_page_to_list (2) mm C error 2334 426d 690d 22/27 fixed on 2023/06/08 14:41
upstream WARNING in split_huge_page_to_list kernel 13 1031d 1059d 0/27 auto-closed as invalid on 2022/01/15 05:12

Sample crash report:
raw: 05ffc00000410001 0000000000000000 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000002ffffffff 0000000000000000
page dumped because: VM_WARN_ON_ONCE_FOLIO(is_hzp)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4307 at mm/huge_memory.c:2648 split_huge_page_to_list+0x820/0x3280 mm/huge_memory.c:2648
Modules linked in:
CPU: 1 PID: 4307 Comm: syz-executor228 Not tainted 6.1.18-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : split_huge_page_to_list+0x820/0x3280 mm/huge_memory.c:2648
lr : split_huge_page_to_list+0x814/0x3280 mm/huge_memory.c:2648
sp : ffff80001db373e0
x29: ffff80001db375b0 x28: fffffc0003798018 x27: ffff80001db37518
x26: ffff80001db37560 x25: 1fffff80006f3001 x24: dfff800000000000
x23: 00000000fffffff0 x22: fffffc0003798008 x21: fffffc0003798000
x20: 05ffc00000410001 x19: ffff800018053000 x18: ffff80001db36a60
x17: 0000000000000000 x16: ffff800012253e5c x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001
x11: ff8080000883ee50 x10: 0000000000000000 x9 : ffff80000883ee50
x8 : 0000000000000001 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001db36c58 x4 : ffff800015813880 x3 : ffff800008590318
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000032
Call trace:
 split_huge_page_to_list+0x820/0x3280 mm/huge_memory.c:2648
 split_huge_page include/linux/huge_mm.h:188 [inline]
 try_to_split_thp_page+0x110/0x19c mm/memory-failure.c:1537
 memory_failure+0x490/0x2190 mm/memory-failure.c:2087
 madvise_inject_error mm/madvise.c:1132 [inline]
 do_madvise+0x51c/0x2fa8 mm/madvise.c:1417
 __do_sys_madvise mm/madvise.c:1442 [inline]
 __se_sys_madvise mm/madvise.c:1440 [inline]
 __arm64_sys_madvise+0xa4/0xc0 mm/madvise.c:1440
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
irq event stamp: 15914
hardirqs last  enabled at (15913): [<ffff80000834aa64>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (15914): [<ffff80001224fb14>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (15864): [<ffff800008020ee8>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (15864): [<ffff800008020ee8>] __do_softirq+0xd88/0xff4 kernel/softirq.c:600
softirqs last disabled at (15855): [<ffff80000802b598>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79
---[ end trace 0000000000000000 ]---
Memory failure: 0x11e600: recovery action for unsplit thp: Ignored

Crashes (140):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/12 14:07 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/26 14:44 linux-6.1.y f17b0ab65d17 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/26 13:29 linux-6.1.y f17b0ab65d17 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/26 09:32 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/26 07:05 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/26 05:29 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/25 16:45 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/25 12:34 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/25 04:59 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/25 03:15 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/24 17:46 linux-6.1.y f17b0ab65d17 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/24 16:29 linux-6.1.y f17b0ab65d17 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/24 09:25 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/24 07:01 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/24 00:21 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/23 22:53 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/23 18:09 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/23 14:24 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/23 11:39 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/23 11:09 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/23 05:05 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/23 01:35 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/22 23:46 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/22 22:11 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/22 15:49 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/22 14:40 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/22 12:40 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/22 10:34 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/22 06:32 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/21 16:33 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/21 11:09 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/21 06:36 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/21 04:48 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/21 00:44 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/20 20:48 linux-6.1.y f17b0ab65d17 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/20 18:02 linux-6.1.y f17b0ab65d17 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/20 11:40 linux-6.1.y 0102425ac76b a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/20 07:30 linux-6.1.y 0102425ac76b a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/20 03:43 linux-6.1.y 0102425ac76b a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/20 00:05 linux-6.1.y 0102425ac76b a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/19 19:17 linux-6.1.y 0102425ac76b a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/19 12:07 linux-6.1.y 0102425ac76b 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/19 08:20 linux-6.1.y 0102425ac76b 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/18 20:30 linux-6.1.y 0102425ac76b d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/18 17:10 linux-6.1.y 0102425ac76b d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/18 08:15 linux-6.1.y 0102425ac76b 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/18 01:09 linux-6.1.y 0102425ac76b 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/18 00:07 linux-6.1.y 0102425ac76b 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/17 11:58 linux-6.1.y 0102425ac76b c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
2023/04/17 05:17 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in split_huge_page_to_list
* Struck through repros no longer work on HEAD.