syzbot


INFO: rcu detected stall in drm_release (2)

Status: auto-obsoleted due to no activity on 2025/10/06 04:27
Subsystems: mm
[Documentation on labels]
First crash: 93d, last: 93d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in drm_release mm 1 1 189d 189d 0/29 auto-obsoleted due to no activity on 2025/07/02 13:18

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P8321/1:b..l
rcu: 	(detected by 0, t=10503 jiffies, g=29637, q=358560 ncpus=2)
task:syz.2.665       state:R  running task     stack:25384 pid:8321  tgid:8320  ppid:5845   task_flags:0x40054c flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5318 [inline]
 __schedule+0x16f5/0x4d00 kernel/sched/core.c:6701
 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7024
 irqentry_exit+0x6f/0x90 kernel/entry/common.c:196
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_release+0x20/0x3e0 kernel/locking/lockdep.c:5879
Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 30 49 89 f5 49 89 fe 65 48 8b 05 80 08 49 11 <48> 89 44 24 28 0f 1f 44 00 00 65 8b 05 83 08 49 11 83 f8 08 0f 83
RSP: 0018:ffffc9000542f240 EFLAGS: 00000282
RAX: e464910e49f05d00 RBX: 0000000000000001 RCX: ffff888027578000
RDX: 0000000000000000 RSI: ffffffff822de67e RDI: ffffffff8e53bf60
RBP: ffff88801edeb2b4 R08: ffff88801edeb277 R09: 1ffff11003dbd64e
R10: dffffc0000000000 R11: ffffed1003dbd64f R12: 0000000000086239
R13: ffffffff822de67e R14: ffffffff8e53bf60 R15: ffff88801edeb2c0
 rcu_lock_release include/linux/rcupdate.h:341 [inline]
 rcu_read_unlock include/linux/rcupdate.h:871 [inline]
 __update_page_owner_free_handle+0x452/0x470 mm/page_owner.c:283
 __reset_page_owner+0x85/0x1f0 mm/page_owner.c:309
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1392 [inline]
 __free_frozen_pages+0xb80/0xd80 mm/page_alloc.c:2892
 discard_slab mm/slub.c:2753 [inline]
 __put_partials+0x156/0x1a0 mm/slub.c:3218
 put_cpu_partial+0x17c/0x250 mm/slub.c:3293
 __slab_free+0x2d5/0x3c0 mm/slub.c:4550
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
 __kasan_kmalloc+0x22/0xb0 mm/kasan/common.c:385
 kasan_kmalloc include/linux/kasan.h:260 [inline]
 __do_kmalloc_node mm/slub.c:4365 [inline]
 __kmalloc_noprof+0x27a/0x4f0 mm/slub.c:4377
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kmalloc_array_noprof include/linux/slab.h:948 [inline]
 drm_atomic_state_init+0x9c/0x310 drivers/gpu/drm/drm_atomic.c:133
 drm_atomic_state_alloc+0xbc/0x100 drivers/gpu/drm/drm_atomic.c:176
 drm_client_modeset_commit_atomic+0xe2/0x760 drivers/gpu/drm/drm_client_modeset.c:1044
 drm_client_modeset_commit_locked+0xcb/0x4d0 drivers/gpu/drm/drm_client_modeset.c:1206
 drm_client_modeset_commit+0x4a/0x70 drivers/gpu/drm/drm_client_modeset.c:1232
 __drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:238 [inline]
 drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:268 [inline]
 drm_fb_helper_lastclose+0xa4/0x1c0 drivers/gpu/drm/drm_fb_helper.c:1986
 drm_fbdev_client_restore+0x34/0x40 drivers/gpu/drm/clients/drm_fbdev_client.c:31
 drm_client_dev_restore+0x139/0x270 drivers/gpu/drm/drm_client_event.c:117
 drm_lastclose drivers/gpu/drm/drm_file.c:397 [inline]
 drm_release+0x318/0x3f0 drivers/gpu/drm/drm_file.c:430
 __fput+0x44c/0xa70 fs/file_table.c:468
 task_work_run+0x1d1/0x260 kernel/task_work.c:227
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0x6b5/0x2300 kernel/exit.c:959
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1100
 get_signal+0x1286/0x1340 kernel/signal.c:3034
 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:40
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:208 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
 do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f237a78e52b
RSP: 002b:00007f237b597f60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000008 RCX: 00007f237a78e52b
RDX: 00007f237b597fe0 RSI: 0000000040085503 RDI: 0000000000000008
RBP: 00007f237b597fe0 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000008 R11: 0000000000000246 R12: 00007f237b597fe8
R13: 0000000000000000 R14: 00007f237a9b5fa0 R15: 00007fffd660c488
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/08 04:21 linux-next 26ffb3d6f02c 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: rcu detected stall in drm_release
* Struck through repros no longer work on HEAD.