[Kernel Bug] INFO: rcu detected stall in disk_check_events

0 views
Skip to first unread message

Longxing Li

unread,
Jun 9, 2026, 7:52:49 AM (yesterday) Jun 9
to syzk...@googlegroups.com, ax...@kernel.dk, linux...@vger.kernel.org, linux-...@vger.kernel.org
Dear Linux kernel developers and maintainers,

We would like to report a new kernel bug found by our tool. INFO: rcu
detected stall in disk_check_events. Details are as follows.

Kernel commit: v7.0.6
Kernel config: see attachment
report: see attachment

We are currently analyzing the root cause and working on a
reproducible PoC. We will provide further updates in this thread as
soon as we have more information.

Best regards,
Longxing Li

==================================================================
https://drive.google.com/file/d/1Bx2unEf-QntjVi8g6Zw7QNO6OP4cjGO_/view?usp=drive_link

https://drive.google.com/file/d/1t8TOOI_sDqLxje1iolIJqeIxa-N6GUeI/view?usp=drive_link

Jens Axboe

unread,
Jun 9, 2026, 8:41:56 AM (23 hours ago) Jun 9
to Longxing Li, syzk...@googlegroups.com, linux...@vger.kernel.org, linux-...@vger.kernel.org
On 6/9/26 5:52 AM, Longxing Li wrote:
> Dear Linux kernel developers and maintainers,
>
> We would like to report a new kernel bug found by our tool. INFO: rcu
> detected stall in disk_check_events. Details are as follows.
>
> Kernel commit: v7.0.6
> Kernel config: see attachment
> report: see attachment
>
> We are currently analyzing the root cause and working on a
> reproducible PoC. We will provide further updates in this thread as
> soon as we have more information.

Please include pertinent information in the email rather than some
shared drive somewhere.

--
Jens Axboe

Longxing Li

unread,
3:05 AM (5 hours ago) 3:05 AM
to Jens Axboe, syzk...@googlegroups.com, linux...@vger.kernel.org, linux-...@vger.kernel.org
sorry for not containing the report text in last email. the report is
as follows:

hrtimer: interrupt took 4316899 ns
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-0): P10/1:b..l
rcu: (detected by 0, t=13059 jiffies, g=30961, q=723 ncpus=1)
task:kworker/0:1 state:R running task stack:21112 pid:10
tgid:10 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: events_freezable_pwr_efficient disk_events_workfn
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5298 [inline]
__schedule+0x1006/0x5f00 kernel/sched/core.c:6911
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7238
irqentry_exit+0x1e4/0x740 kernel/entry/common.c:239
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:sbitmap_get+0x0/0x370 lib/sbitmap.c:282
Code: fd eb a0 48 89 ef e8 6f 19 43 fd eb db 48 89 ef e8 75 18 43 fd
eb b1 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f
1e fa 41 57 41 56 41 55 41 54 55 53 48 89 fb 48 83 ec 18 e8
RSP: 0018:ffffc900001bf538 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff84924c1d
RDX: ffff88801da925c0 RSI: ffffffff86168ec8 RDI: ffff888024fea030
RBP: ffff888024fea000 R08: ffff88801dba68d8 R09: ffffed1004a0150a
R10: 0000000000000001 R11: 00000000000003f1 R12: ffff88802500a800
R13: ffff888020e95348 R14: ffff888024fea030 R15: ffff888024fea040
scsi_dev_queue_ready drivers/scsi/scsi_lib.c:1376 [inline]
scsi_mq_get_budget+0x74/0x4d0 drivers/scsi/scsi_lib.c:1787
blk_mq_get_dispatch_budget block/blk-mq.h:274 [inline]
blk_mq_prep_dispatch_rq block/blk-mq.c:2052 [inline]
blk_mq_dispatch_rq_list+0x1dc/0x1bc0 block/blk-mq.c:2139
__blk_mq_sched_dispatch_requests+0x215/0x1470 block/blk-mq-sched.c:299
blk_mq_sched_dispatch_requests+0xd7/0x1b0 block/blk-mq-sched.c:329
blk_mq_run_hw_queue+0x3da/0x650 block/blk-mq.c:2386
blk_execute_rq+0x194/0x410 block/blk-mq.c:1523
scsi_execute_cmd+0x42e/0xeb0 drivers/scsi/scsi_lib.c:332
sr_get_events drivers/scsi/sr.c:177 [inline]
sr_check_events+0x1b3/0xad0 drivers/scsi/sr.c:218
cdrom_update_events drivers/cdrom/cdrom.c:1464 [inline]
cdrom_check_events+0x68/0x110 drivers/cdrom/cdrom.c:1474
sr_block_check_events+0xc3/0x100 drivers/scsi/sr.c:573
disk_check_events+0xc7/0x420 block/disk-events.c:193
process_one_work+0x9de/0x1c60 kernel/workqueue.c:3288
process_scheduled_works kernel/workqueue.c:3371 [inline]
worker_thread+0x693/0xeb0 kernel/workqueue.c:3452
kthread+0x38d/0x4a0 kernel/kthread.c:436
ret_from_fork+0x942/0xe50 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
rcu: rcu_preempt kthread starved for 13059 jiffies! g30961 f0x0
RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now
expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt state:R running task stack:26712 pid:16
tgid:16 ppid:2 task_flags:0x208040 flags:0x00080000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5298 [inline]
__schedule+0x1006/0x5f00 kernel/sched/core.c:6911
__schedule_loop kernel/sched/core.c:6993 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:7008
schedule_timeout+0x113/0x280 kernel/time/sleep_timeout.c:99
rcu_gp_fqs_loop+0x18c/0x7e0 kernel/rcu/tree.c:2095
rcu_gp_kthread+0x1aa/0x260 kernel/rcu/tree.c:2297
kthread+0x38d/0x4a0 kernel/kthread.c:436
ret_from_fork+0x942/0xe50 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 UID: 0 PID: 9798 Comm: syz-executor.6 Not tainted 7.0.6 #1 PREEMPT(full)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:228 [inline]
RIP: 0010:unwind_next_frame+0x1f9/0x20c0 arch/x86/kernel/unwind_orc.c:510
Code: 41 89 c2 39 d0 0f 83 0d 16 00 00 48 ba 00 00 00 00 00 fc ff df
89 c1 48 8d 3c 8d 70 fb 0f 92 48 89 fe 48 c1 ee 03 0f b6 34 16 <48> 89
fa 83 e2 07 83 c2 03 40 38 f2 7c 31 40 84 f6 74 2c 48 89 4c
RSP: 0018:ffffc900000072d0 EFLAGS: 00000a06
RAX: 0000000000011bf6 RBX: 0000000000000002 RCX: 0000000000011bf6
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff92146b48
RBP: ffffc90000007388 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000011bf6 R11: 00000000000a7f57 R12: ffffc90000007390
R13: ffffc90000007340 R14: ffffc90000007375 R15: ffffffff821bf607
FS: 00000000281a7480(0000) GS:ffff888097781000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000031883988 CR3: 000000004ec61000 CR4: 0000000000752ef0
PKRU: 55555554
Call Trace:
<IRQ>
arch_stack_walk+0x86/0xf0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
save_stack+0x151/0x1e0 mm/page_owner.c:165
__set_page_owner+0x8f/0x570 mm/page_owner.c:341
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x134/0x160 mm/page_alloc.c:1897
prep_new_page mm/page_alloc.c:1905 [inline]
get_page_from_freelist+0xde8/0x2ae0 mm/page_alloc.c:3970
__alloc_pages_slowpath mm/page_alloc.c:4813 [inline]
__alloc_frozen_pages_noprof+0x653/0x27e0 mm/page_alloc.c:5271
alloc_slab_page mm/slub.c:3292 [inline]
allocate_slab mm/slub.c:3481 [inline]
new_slab+0xa6/0x6b0 mm/slub.c:3539
refill_objects+0x256/0x3f0 mm/slub.c:7179
refill_sheaf mm/slub.c:2812 [inline]
__pcs_replace_empty_main+0x1b1/0x690 mm/slub.c:4615
alloc_from_pcs mm/slub.c:4717 [inline]
slab_alloc_node mm/slub.c:4851 [inline]
kmem_cache_alloc_node_noprof+0x4d7/0x6e0 mm/slub.c:4918
__alloc_skb+0x14c/0x740 net/core/skbuff.c:702
alloc_skb include/linux/skbuff.h:1383 [inline]
ndisc_alloc_skb+0xd7/0x530 net/ipv6/ndisc.c:420
ndisc_send_rs+0x70/0x690 net/ipv6/ndisc.c:706
addrconf_rs_timer+0x3ee/0x860 net/ipv6/addrconf.c:4041
call_timer_fn+0x1a5/0x670 kernel/time/timer.c:1748
expire_timers kernel/time/timer.c:1799 [inline]
__run_timers+0x6d2/0xb20 kernel/time/timer.c:2373
__run_timer_base kernel/time/timer.c:2385 [inline]
__run_timer_base kernel/time/timer.c:2377 [inline]
run_timer_base+0xc5/0x120 kernel/time/timer.c:2394
run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2404
handle_softirqs+0x1d3/0x9b0 kernel/softirq.c:622
do_softirq kernel/softirq.c:523 [inline]
do_softirq+0xac/0xe0 kernel/softirq.c:510
</IRQ>
<TASK>
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:450
spin_unlock_bh include/linux/spinlock.h:395 [inline]
crypto_acomp_unlock_stream_bh include/crypto/internal/acompress.h:201 [inline]
scomp_acomp_comp_decomp+0x574/0xd50 crypto/scompress.c:257
crypto_acomp_compress+0x14c/0x540 crypto/acompress.c:287
zswap_compress mm/zswap.c:885 [inline]
zswap_store_page mm/zswap.c:1422 [inline]
zswap_store+0xa25/0x2710 mm/zswap.c:1533
swap_writeout+0x3d8/0xd80 mm/page_io.c:275
writeout mm/vmscan.c:652 [inline]
pageout mm/vmscan.c:699 [inline]
shrink_folio_list+0x3d4e/0x4b10 mm/vmscan.c:1425
evict_folios+0x79a/0x1b20 mm/vmscan.c:4718
try_to_shrink_lruvec+0x59a/0x9d0 mm/vmscan.c:4881
shrink_one+0x309/0x690 mm/vmscan.c:4926
shrink_many mm/vmscan.c:4989 [inline]
lru_gen_shrink_node mm/vmscan.c:5067 [inline]
shrink_node+0x24ee/0x3c90 mm/vmscan.c:6047
shrink_zones mm/vmscan.c:6300 [inline]
do_try_to_free_pages+0x373/0x1830 mm/vmscan.c:6362
try_to_free_pages+0x24e/0x6a0 mm/vmscan.c:6601
__perform_reclaim mm/page_alloc.c:4432 [inline]
__alloc_pages_direct_reclaim mm/page_alloc.c:4454 [inline]
__alloc_pages_slowpath mm/page_alloc.c:4854 [inline]
__alloc_frozen_pages_noprof+0x8e0/0x27e0 mm/page_alloc.c:5271
alloc_slab_page mm/slub.c:3292 [inline]
allocate_slab mm/slub.c:3489 [inline]
new_slab+0x264/0x6b0 mm/slub.c:3539
refill_objects+0x256/0x3f0 mm/slub.c:7179
refill_sheaf mm/slub.c:2812 [inline]
__pcs_replace_empty_main+0x1b1/0x690 mm/slub.c:4615
alloc_from_pcs mm/slub.c:4717 [inline]
slab_alloc_node mm/slub.c:4851 [inline]
__do_kmalloc_node mm/slub.c:5259 [inline]
__kmalloc_noprof+0x68b/0x850 mm/slub.c:5272
kmalloc_noprof include/linux/slab.h:954 [inline]
tomoyo_realpath_from_path+0xc3/0x600 security/tomoyo/realpath.c:251
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_check_open_permission+0x298/0x3a0 security/tomoyo/file.c:776
tomoyo_file_open+0x69/0x90 security/tomoyo/tomoyo.c:334
security_file_open+0x88/0x200 security/security.c:2739
do_dentry_open+0x576/0x1680 fs/open.c:926
vfs_open+0x82/0x3f0 fs/open.c:1081
do_open fs/namei.c:4677 [inline]
path_openat+0x1fc5/0x2cf0 fs/namei.c:4836
do_file_open+0x216/0x470 fs/namei.c:4865
do_sys_openat2+0xe6/0x250 fs/open.c:1366
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x11b/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x470aa4
Code: 24 20 eb 8f 66 90 44 89 54 24 0c e8 16 db 02 00 44 8b 54 24 0c
44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d
00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 58 db 02 00 8b 44
RSP: 002b:00007ffd1fccdce0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ffd1fccddd0 RCX: 0000000000470aa4
RDX: 0000000000000002 RSI: 00007ffd1fccde10 RDI: 00000000ffffff9c
RBP: 00007ffd1fccde10 R08: 0000000000000000 R09: 00007ffd1fccdbf0
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 000000000002c3ab R14: 000000000002c398 R15: 0000000000000005
</TASK>

Jens Axboe <ax...@kernel.dk> 于2026年6月9日周二 20:41写道:
Reply all
Reply to author
Forward
0 new messages