program: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000080)='./sys\x00', &(0x7f00000000c0)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./sys/power/pm_test\x00', 0x2, 0x0) write(r0, &(0x7f0000000140)='core\n\x00', 0x5) close(r0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./sys/power/state\x00', 0x2, 0x0) write(r1, &(0x7f0000000380)='disk\n\x00', 0x5) close(r1) [ 190.980146][ T5288] Bluetooth: hci0: command tx timeout [ 191.049828][ T5326] PM: hibernation: hibernation entry [ 191.877950][ T5326] Bluetooth: hci0: Opcode 0x0c1a failed: -4 [ 191.878219][ T5326] Bluetooth: hci0: Opcode 0x0406 failed: -4 [ 191.903564][ T5326] Bluetooth: hci0: Opcode 0x0406 failed: -4 [ 191.961697][ T109] Filesystems sync: 0.044 seconds [ 191.964521][ T5326] Freezing user space processes [ 191.974573][ T5326] Freezing user space processes completed (elapsed 0.010 seconds) [ 191.974724][ T5326] OOM killer disabled. [ 191.990892][ T5326] PM: hibernation: Preallocating image memory [ 193.125968][ T5288] Bluetooth: hci0: command 0x0c1a tx timeout [ 195.208771][ T5288] Bluetooth: hci0: command 0x0c1a tx timeout [ 197.292567][ T5288] Bluetooth: hci0: command 0x0c1a tx timeout [ 197.399996][ T5326] PM: hibernation: Image allocation is 125855 pages short [ 197.565996][ T869] kworker/0:3: page allocation failure: order:0, mode:0x40cc0(GFP_KERNEL|__GFP_COMP), nodemask=(null),cpuset=/,mems_allowed=0-1 [ 197.566131][ T869] CPU: 0 UID: 0 PID: 869 Comm: kworker/0:3 Not tainted syzkaller #0 PREEMPT(full) [ 197.566144][ T869] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 197.566152][ T869] Workqueue: events drm_fb_helper_damage_work [ 197.566364][ T869] Call Trace: [ 197.566370][ T869] [ 197.566377][ T869] dump_stack_lvl+0xe8/0x150 [ 197.566432][ T869] warn_alloc+0x24d/0x270 [ 197.566469][ T869] ? __pfx_warn_alloc+0x10/0x10 [ 197.566516][ T869] __alloc_pages_slowpath+0xe3b/0xec0 [ 197.566540][ T869] __alloc_frozen_pages_noprof+0x3f3/0x5a0 [ 197.566556][ T869] ? __pfx___alloc_frozen_pages_noprof+0x10/0x10 [ 197.566571][ T869] ? __pfx_policy_nodemask+0x10/0x10 [ 197.566589][ T869] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 197.566684][ T869] alloc_pages_mpol+0x21e/0x390 [ 197.566702][ T869] allocate_slab+0x135/0x620 [ 197.566717][ T869] ? kfree+0x1c5/0x650 [ 197.566734][ T869] ___slab_alloc+0x16a/0x960 [ 197.566753][ T869] __kmalloc_cache_noprof+0x132/0x600 [ 197.566765][ T869] ? __kmalloc_cache_noprof+0x14d/0x600 [ 197.566774][ T869] ? drm_atomic_helper_crtc_duplicate_state+0x72/0xb0 [ 197.566807][ T869] ? drm_atomic_helper_crtc_duplicate_state+0x72/0xb0 [ 197.566828][ T869] drm_atomic_helper_crtc_duplicate_state+0x72/0xb0 [ 197.566845][ T869] drm_atomic_get_crtc_state+0x1b3/0x570 [ 197.566879][ T869] drm_atomic_get_plane_state+0x4a2/0x720 [ 197.566898][ T869] drm_atomic_helper_dirtyfb+0xd99/0xfd0 [ 197.566919][ T869] ? __pfx_drm_atomic_helper_dirtyfb+0x10/0x10 [ 197.566942][ T869] ? do_raw_spin_lock+0x12b/0x2f0 [ 197.567007][ T869] drm_fbdev_shmem_helper_fb_dirty+0x160/0x310 [ 197.567025][ T869] drm_fb_helper_damage_work+0x84c/0xf20 [ 197.567047][ T869] ? __pfx_drm_fb_helper_damage_work+0x10/0x10 [ 197.567070][ T869] ? lock_acquire+0x115/0x350 [ 197.567089][ T869] ? rcu_is_watching+0x16/0xb0 [ 197.567104][ T869] ? process_scheduled_works+0x97a/0x1630 [ 197.567121][ T869] process_scheduled_works+0xc3d/0x1630 [ 197.567157][ T869] ? __pfx_process_scheduled_works+0x10/0x10 [ 197.567177][ T869] ? assign_work+0x3cf/0x5d0 [ 197.567194][ T869] worker_thread+0xa47/0xfb0 [ 197.567219][ T869] ? __kthread_parkme+0x71/0x1f0 [ 197.567241][ T869] kthread+0x38b/0x480 [ 197.567254][ T869] ? __pfx_worker_thread+0x10/0x10 [ 197.567268][ T869] ? __pfx_kthread+0x10/0x10 [ 197.567280][ T869] ret_from_fork+0x514/0xb70 [ 197.567294][ T869] ? __pfx_ret_from_fork+0x10/0x10 [ 197.567306][ T869] ? __switch_to+0xc89/0x1420 [ 197.567323][ T869] ? __pfx_kthread+0x10/0x10 [ 197.567335][ T869] ret_from_fork_asm+0x1a/0x30 [ 197.567359][ T869] [ 197.695524][ T869] Mem-Info: [ 197.695537][ T869] active_anon:0 inactive_anon:6 isolated_anon:0 [ 197.695537][ T869] active_file:66 inactive_file:17 isolated_file:0 [ 197.695537][ T869] unevictable:1000 dirty:0 writeback:0 [ 197.695537][ T869] slab_reclaimable:6827 slab_unreclaimable:29094 [ 197.695537][ T869] mapped:8196 shmem:1000 pagetables:678 [ 197.695537][ T869] sec_pagetables:290 bounce:0 [ 197.695537][ T869] kernel_misc_reclaimable:0 [ 197.695537][ T869] free:12369 free_pcp:11499 free_cma:0 [ 197.695566][ T869] Node 0 active_anon:0kB inactive_anon:0kB active_file:12kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:16kB dirty:0kB writeback:0kB shmem:0kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB kernel_stack:1920kB pagetables:1056kB sec_pagetables:1036kB all_unreclaimable? yes Balloon:0kB gpu_active:0kB gpu_reclaim:0kB [ 197.695592][ T869] Node 1 active_anon:0kB inactive_anon:24kB active_file:252kB inactive_file:68kB unevictable:4000kB isolated(anon):0kB isolated(file):0kB mapped:32768kB dirty:0kB writeback:0kB shmem:4000kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB kernel_stack:7776kB pagetables:1656kB sec_pagetables:124kB all_unreclaimable? yes Balloon:0kB gpu_active:0kB gpu_reclaim:0kB [ 197.695620][ T869] Node 0 DMA free:1124kB boost:2048kB min:2808kB low:2996kB high:3184kB reserved_highatomic:0kB free_highatomic:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB zspages:68kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:940kB local_pcp:940kB free_cma:0kB [ 197.695652][ T869] lowmem_reserve[]: 0 88 88 88 88 [ 197.695674][ T869] Node 0 DMA32 free:9728kB boost:6880kB min:9940kB low:10704kB high:11468kB reserved_highatomic:0kB free_highatomic:0kB active_anon:0kB inactive_anon:0kB active_file:12kB inactive_file:0kB unevictable:0kB writepending:0kB zspages:1956kB present:770052kB managed:90564kB mlocked:0kB bounce:0kB free_pcp:3520kB local_pcp:3520kB free_cma:0kB [ 197.760541][ T869] lowmem_reserve[]: 0 0 0 0 0 [ 197.760574][ T869] Node 1 DMA32 free:38624kB boost:8192kB min:42404kB low:50956kB high:59508kB reserved_highatomic:0kB free_highatomic:0kB active_anon:0kB inactive_anon:24kB active_file:252kB inactive_file:68kB unevictable:4000kB writepending:0kB zspages:1604kB present:786288kB managed:690816kB mlocked:0kB bounce:0kB free_pcp:41536kB local_pcp:41536kB free_cma:0kB [ 197.760668][ T869] lowmem_reserve[]: 0 0 0 0 0 [ 197.760690][ T869] Node 0 DMA: 3*4kB (U) 3*8kB (U) 2*16kB (U) 3*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 1*512kB (U) 0*1024kB 0*2048kB 0*4096kB = 1124kB [ 197.760770][ T869] Node 0 DMA32: 206*4kB (U) 133*8kB (U) 56*16kB (U) 75*32kB (U) 33*64kB (UE) 11*128kB (UE) 0*256kB 0*512kB 1*1024kB (U) 0*2048kB 0*4096kB = 9728kB [ 197.760846][ T869] Node 1 DMA32: 318*4kB (UM) 193*8kB (UM) 125*16kB (UME) 177*32kB (UME) 74*64kB (UME) 45*128kB (UM) 23*256kB (UM) 15*512kB (UM) 4*1024kB (M) 0*2048kB 0*4096kB = 38640kB [ 197.760942][ T869] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 197.818226][ T869] Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 197.818242][ T869] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 197.818250][ T869] Node 1 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 197.818258][ T869] 1086 total pagecache pages [ 197.818263][ T869] 3 pages in swap cache [ 197.818267][ T869] Free swap = 112612kB [ 197.818272][ T869] Total swap = 124996kB [ 197.818279][ T869] 393083 pages RAM [ 197.818283][ T869] 0 pages HighMem/MovableOnly [ 197.818288][ T869] 193898 pages reserved [ 197.818292][ T869] 0 pages cma reserved [ 197.818519][ T869] SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0xcc0(GFP_KERNEL) [ 197.818535][ T869] cache: kmalloc-512, object size: 512, buffer size: 1024, default order: 1, min order: 0 [ 197.818547][ T869] node 0: slabs: 144, objs: 1152, free: 1 [ 197.818556][ T869] node 1: slabs: 636, objs: 5084, free: 19 [ 197.818675][ T869] ------------[ cut here ]------------ [ 197.818681][ T869] virtio-pci 0000:00:01.0: [drm] Dirty helper failed: ret=-12 [ 197.818689][ T869] WARNING: drivers/gpu/drm/drm_fbdev_shmem.c:118 at drm_fbdev_shmem_helper_fb_dirty+0x1e1/0x310, CPU#0: kworker/0:3/869 [ 197.872079][ T869] Modules linked in: [ 197.873764][ T869] CPU: 0 UID: 0 PID: 869 Comm: kworker/0:3 Not tainted syzkaller #0 PREEMPT(full) [ 197.877802][ T869] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 197.882109][ T869] Workqueue: events drm_fb_helper_damage_work [ 197.884746][ T869] RIP: 0010:drm_fbdev_shmem_helper_fb_dirty+0x288/0x310 [ 197.887935][ T869] Code: 27 fc 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 4a 1a 9a fc 4d 8b 27 48 89 df 4c 89 f6 4c 89 e2 8b 5c 24 04 89 d9 <67> 48 0f b9 3a 89 d8 e9 f7 fe ff ff 89 d9 80 e1 07 fe c1 38 c1 0f [ 197.896356][ T869] RSP: 0018:ffffc900049a7898 EFLAGS: 00010246 [ 197.898929][ T869] RAX: 1ffff1100004881a RBX: 00000000fffffff4 RCX: 00000000fffffff4 [ 197.902370][ T869] RDX: ffff888000e65e40 RSI: ffffffff8c79f2a0 RDI: ffffffff91867590 [ 197.905817][ T869] RBP: ffff88803617a008 R08: ffffc900049a75e7 R09: 1ffff92000934ebc [ 197.909351][ T869] R10: dffffc0000000000 R11: fffff52000934ebd R12: ffff888000e65e40 [ 197.912870][ T869] R13: dffffc0000000000 R14: ffffffff8c79f2a0 R15: ffff8880002440d0 [ 197.916087][ T869] FS: 0000000000000000(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 [ 197.920027][ T869] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 197.923231][ T869] CR2: 000055e41e580df0 CR3: 000000000fb48000 CR4: 0000000000352ef0 [ 197.926624][ T869] Call Trace: [ 197.927982][ T869] [ 197.929117][ T869] drm_fb_helper_damage_work+0x84c/0xf20 [ 197.931798][ T869] ? __pfx_drm_fb_helper_damage_work+0x10/0x10 [ 197.934556][ T869] ? lock_acquire+0x115/0x350 [ 197.936888][ T869] ? rcu_is_watching+0x16/0xb0 [ 197.939093][ T869] ? process_scheduled_works+0x97a/0x1630 [ 197.941810][ T869] process_scheduled_works+0xc3d/0x1630 [ 197.944386][ T869] ? __pfx_process_scheduled_works+0x10/0x10 [ 197.947320][ T869] ? assign_work+0x3cf/0x5d0 [ 197.949419][ T869] worker_thread+0xa47/0xfb0 [ 197.951641][ T869] ? __kthread_parkme+0x71/0x1f0 [ 197.953628][ T869] kthread+0x38b/0x480 [ 197.955265][ T869] ? __pfx_worker_thread+0x10/0x10 [ 197.957502][ T869] ? __pfx_kthread+0x10/0x10 [ 197.959604][ T869] ret_from_fork+0x514/0xb70 [ 197.961713][ T869] ? __pfx_ret_from_fork+0x10/0x10 [ 197.964031][ T869] ? __switch_to+0xc89/0x1420