syzbot


kernel panic: System is deadlocked on memory (2)

Status: upstream: reported on 2024/08/12 10:54
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+c61d6962d0b7e698439e@syzkaller.appspotmail.com
First crash: 187d, last: 9d22h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel panic: System is deadlocked on memory (2) 0 (1) 2024/08/12 10:54
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: System is deadlocked on memory mm C done 43 1645d 1643d 15/28 fixed on 2020/11/16 12:12

Sample crash report:
cred                     149KB        324KB
anon_vma_chain            98KB        145KB
anon_vma                 144KB        239KB
pid                      206KB        414KB
Acpi-Operand             215KB        328KB
Acpi-ParseExt             63KB         86KB
Acpi-Parse                67KB        102KB
Acpi-State                78KB        114KB
Acpi-Namespace            60KB         60KB
shared_policy_node          4KB          4KB
numa_policy               11KB         11KB
perf_event                61KB         61KB
trace_event_file         528KB        528KB
ftrace_event_field        972KB        972KB
pool_workqueue          1805KB       1872KB
maple_node               362KB       1040KB
task_group                61KB         61KB
mm_struct                477KB        538KB
vmap_area                292KB        788KB
debug_objects_cache       1899KB       2459KB
page->ptl                 53KB         90KB
kmalloc-cg-8k           3280KB       3520KB
kmalloc-cg-4k          10704KB      12128KB
kmalloc-cg-2k           7552KB       9024KB
kmalloc-cg-1k           1644KB       2240KB
kmalloc-cg-512           877KB       1280KB
kmalloc-cg-256           284KB        320KB
kmalloc-cg-128           215KB        248KB
kmalloc-cg-64             76KB         76KB
kmalloc-cg-32             52KB         76KB
kmalloc-cg-16             44KB         96KB
kmalloc-cg-8              20KB         40KB
kmalloc-cg-192           148KB        176KB
kmalloc-cg-96             36KB         36KB
kmalloc-8k              4304KB       4736KB
kmalloc-4k             16136KB      18144KB
kmalloc-2k             13016KB      13504KB
kmalloc-1k              9086KB      11264KB
kmalloc-512             7157KB       8416KB
kmalloc-256             5075KB       5176KB
kmalloc-128              884KB       1032KB
kmalloc-64              2911KB       3368KB
kmalloc-32              1371KB       1828KB
kmalloc-16               456KB        500KB
kmalloc-8                378KB        452KB
kmalloc-192             1302KB       1520KB
kmalloc-96              1103KB       1276KB
kmem_cache_node          221KB        224KB
kmem_cache               195KB        195KB
Out of memory and no killable processes...
Kernel panic - not syncing: System is deadlocked on memory
CPU: 3 UID: 0 PID: 1 Comm: init Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x3d/0x1f0 lib/dump_stack.c:120
 panic+0x71d/0x800 kernel/panic.c:354
 out_of_memory+0x16e6/0x1700 mm/oom_kill.c:1169
 __alloc_pages_may_oom mm/page_alloc.c:3644 [inline]
 __alloc_pages_slowpath mm/page_alloc.c:4431 [inline]
 __alloc_pages_noprof+0x1e11/0x25b0 mm/page_alloc.c:4766
 alloc_pages_mpol_noprof+0x2c9/0x610 mm/mempolicy.c:2269
 folio_alloc_mpol_noprof+0x36/0xd0 mm/mempolicy.c:2287
 __read_swap_cache_async+0x50a/0x660 mm/swap_state.c:477
 swap_cluster_readahead+0x4e2/0x740 mm/swap_state.c:703
 swapin_readahead+0x12c/0xd60 mm/swap_state.c:882
 do_swap_page+0x688/0x6420 mm/memory.c:4341
 handle_pte_fault mm/memory.c:5804 [inline]
 __handle_mm_fault+0x1055/0x2a40 mm/memory.c:5944
 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6112
 do_user_addr_fault+0x7a3/0x13f0 arch/x86/mm/fault.c:1389
 handle_page_fault arch/x86/mm/fault.c:1481 [inline]
 exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0010:__get_user_8+0x1a/0x30 arch/x86/lib/getuser.S:102
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 ba 00 f0 ff ff ff 7f 00 00 48 39 c2 48 19 d2 48 09 d0 0f 01 cb <48> 8b 10 31 c0 0f 01 ca c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00
RSP: 0000:ffffc90000137e38 EFLAGS: 00050202
RAX: 00007fccfa044ea8 RBX: ffff888040ea8000 RCX: ffffffff81764859
RDX: 0000000000000000 RSI: ffffffff81cdf2ba RDI: 0000000000000000
RBP: ffffc90000137f28 R08: 0000000000000000 R09: fffffbfff2039caa
R10: ffffffff901ce557 R11: 0000000000000000 R12: ffff888040ea8000
R13: ffffc90000137f58 R14: ffffc90000137ea0 R15: 0000000000000000
 rseq_get_rseq_cs kernel/rseq.c:161 [inline]
 rseq_ip_fixup kernel/rseq.c:281 [inline]
 __rseq_handle_notify_resume+0x181/0x10f0 kernel/rseq.c:329
 rseq_handle_notify_resume include/linux/rseq.h:38 [inline]
 resume_user_mode_work include/linux/resume_user_mode.h:62 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 irqentry_exit_to_user_mode+0x18e/0x280 kernel/entry/common.c:231
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fccfa0f92d0
Code: Unable to access opcode bytes at 0x7fccfa0f92a6.
RSP: 002b:00007fff21b6fc18 EFLAGS: 00010286
RAX: 00000000ffffff88 RBX: 00007fccfa23cea8 RCX: 0000000000000078
RDX: 0000000000000000 RSI: 00007fccfa23ce99 RDI: 00007fccfa23dbb8
RBP: 00007fccfa23ce99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001670
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	90                   	nop
   2:	90                   	nop
   3:	90                   	nop
   4:	90                   	nop
   5:	90                   	nop
   6:	90                   	nop
   7:	90                   	nop
   8:	90                   	nop
   9:	90                   	nop
   a:	90                   	nop
   b:	90                   	nop
   c:	90                   	nop
   d:	90                   	nop
   e:	90                   	nop
   f:	90                   	nop
  10:	f3 0f 1e fa          	endbr64
  14:	48 ba 00 f0 ff ff ff 	movabs $0x7ffffffff000,%rdx
  1b:	7f 00 00
  1e:	48 39 c2             	cmp    %rax,%rdx
  21:	48 19 d2             	sbb    %rdx,%rdx
  24:	48 09 d0             	or     %rdx,%rax
  27:	0f 01 cb             	stac
* 2a:	48 8b 10             	mov    (%rax),%rdx <-- trapping instruction
  2d:	31 c0                	xor    %eax,%eax
  2f:	0f 01 ca             	clac
  32:	c3                   	ret
  33:	cc                   	int3
  34:	cc                   	int3
  35:	cc                   	int3
  36:	cc                   	int3
  37:	66 0f 1f 84 00 00 00 	nopw   0x0(%rax,%rax,1)
  3e:	00 00

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/03 09:16 upstream 0bc21e701a6f d3ccff63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/12/15 03:53 upstream a0e3919a2df2 7cbfbb3a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/12/04 07:37 upstream ceb8bf2ceaa7 b50eb251 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/10/16 21:43 upstream c964ced77262 666f77ed .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/10/12 01:41 upstream 9e4c6c1ad9a1 084d8178 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/09/16 18:08 upstream 114143a59589 49cf0773 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/26 07:00 upstream 5be63fc19fca d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/26 06:39 upstream 5be63fc19fca d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/26 06:38 upstream 5be63fc19fca d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/25 13:05 upstream 780bdc1ba776 d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/25 12:58 upstream 780bdc1ba776 d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/24 23:38 upstream d2bafcf224f3 d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/23 08:47 upstream aa0743a22936 ce8a9099 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte kernel panic: System is deadlocked on memory
2024/08/21 10:49 upstream b311c1b497e5 db5852f9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/12 10:53 upstream 7c626ce4bae1 1fef415f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/08/03 16:17 upstream 17712b7ea075 1786a2a8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte kernel panic: System is deadlocked on memory
2024/07/29 00:20 upstream 5437f30d3458 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/07/19 05:11 upstream 720261cfc732 ee4e11c8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
2024/07/09 15:24 upstream 4376e966ecb7 39158d80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
* Struck through repros no longer work on HEAD.