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: 210d, last: 3d15h
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 1668d 1666d 15/28 fixed on 2020/11/16 12:12

Sample crash report:
cred                     157KB        344KB
anon_vma_chain           153KB        204KB
anon_vma                 157KB        294KB
pid                      188KB        425KB
Acpi-Operand             279KB        392KB
Acpi-ParseExt             63KB         86KB
Acpi-Parse                71KB        110KB
Acpi-State                43KB         78KB
Acpi-Namespace            52KB         52KB
shared_policy_node          8KB          8KB
numa_policy               11KB         11KB
perf_event                30KB         30KB
trace_event_file         536KB        536KB
ftrace_event_field        988KB        988KB
pool_workqueue          2041KB       2160KB
maple_node               449KB       1072KB
task_group                61KB         61KB
mm_struct                382KB        480KB
vmap_area                295KB        784KB
debug_objects_cache       2037KB       2746KB
page->ptl                 70KB        110KB
kmalloc-cg-8k           3952KB       4368KB
kmalloc-cg-4k          13328KB      15160KB
kmalloc-cg-2k           9324KB      10976KB
kmalloc-cg-1k           1930KB       2528KB
kmalloc-cg-512          1086KB       1472KB
kmalloc-cg-256           320KB        368KB
kmalloc-cg-128           256KB        280KB
kmalloc-cg-64             80KB         80KB
kmalloc-cg-32             60KB         80KB
kmalloc-cg-16             52KB        116KB
kmalloc-cg-8              32KB         32KB
kmalloc-cg-192           177KB        196KB
kmalloc-cg-96             32KB         32KB
kmalloc-8k              5104KB       5664KB
kmalloc-4k             44512KB      44624KB
kmalloc-2k             11768KB      13728KB
kmalloc-1k             11914KB      12388KB
kmalloc-512             8928KB       9904KB
kmalloc-256             8686KB       8688KB
kmalloc-128             1004KB       1156KB
kmalloc-64              3034KB       3472KB
kmalloc-32              1618KB       2108KB
kmalloc-16               508KB        544KB
kmalloc-8                986KB       1132KB
kmalloc-192             1493KB       1796KB
kmalloc-96              1182KB       1264KB
kmem_cache_node          222KB        224KB
kmem_cache               195KB        195KB
Out of memory and no killable processes...
Kernel panic - not syncing: System is deadlocked on memory
CPU: 0 UID: 0 PID: 1 Comm: init Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #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:1175
 __alloc_pages_may_oom mm/page_alloc.c:3644 [inline]
 __alloc_pages_slowpath mm/page_alloc.c:4431 [inline]
 __alloc_frozen_pages_noprof+0x1d66/0x2470 mm/page_alloc.c:4752
 alloc_pages_mpol+0x1fc/0x540 mm/mempolicy.c:2270
 folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2289
 __read_swap_cache_async+0x50a/0x660 mm/swap_state.c:476
 swap_cluster_readahead+0x4e2/0x740 mm/swap_state.c:702
 swapin_readahead+0x12c/0xd60 mm/swap_state.c:881
 do_swap_page+0x680/0x59c0 mm/memory.c:4411
 handle_pte_fault mm/memory.c:5892 [inline]
 __handle_mm_fault+0x117f/0x2c60 mm/memory.c:6032
 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6201
 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+0x18/0x30 arch/x86/lib/getuser.S:101
Code: 00 90 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 d0 48 0f 47 c2 0f 01 cb <48> 8b 10 31 c0 0f 01 ca c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00
RSP: 0000:ffffc90000137e38 EFLAGS: 00050283
RAX: 00007f15db4b5ea8 RBX: ffff88801cac0000 RCX: ffffc90000137da0
RDX: 00007ffffffff000 RSI: ffffffff81edc67a RDI: ffffffff8bd2c380
RBP: ffffc90000137f28 R08: 0000000000000000 R09: fffffbfff20bf8a2
R10: ffffffff905fc517 R11: 0000000000000000 R12: ffff88801cac0000
R13: ffffc90000137f58 R14: ffffc90000137ea0 R15: 0000000000000000
 rseq_get_rseq_cs kernel/rseq.c:248 [inline]
 rseq_ip_fixup kernel/rseq.c:368 [inline]
 __rseq_handle_notify_resume+0x181/0x10f0 kernel/rseq.c:416
 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:0x7f15db579af2
Code: Unable to access opcode bytes at 0x7f15db579ac8.
RSP: 002b:00007fff588f23e0 EFLAGS: 00010202
RAX: 00007fff588f2558 RBX: 0000000000000000 RCX: 00007f15db5ef597
RDX: 00007fff588f24c0 RSI: 00007fff588f2558 RDI: 000000000000000e
RBP: 0000000000000000 R08: 00007fff588f24c0 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007fff588f24c0 R14: 0000000000000002 R15: 000000000000173c
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..
----------------
Code disassembly (best guess):
   0:	00 90 90 90 90 90    	add    %dl,-0x6f6f6f70(%rax)
   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:	90                   	nop
  11:	90                   	nop
  12:	f3 0f 1e fa          	endbr64
  16:	48 ba 00 f0 ff ff ff 	movabs $0x7ffffffff000,%rdx
  1d:	7f 00 00
  20:	48 39 d0             	cmp    %rdx,%rax
  23:	48 0f 47 c2          	cmova  %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                   	data16
  38:	66                   	data16
  39:	2e                   	cs
  3a:	0f                   	.byte 0xf
  3b:	1f                   	(bad)
  3c:	84 00                	test   %al,(%rax)

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/01 21:22 upstream 69e858e0b8b2 0dff8567 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel panic: System is deadlocked on memory
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.