=============================
WARNING: suspicious RCU usage
syzkaller #0 Tainted: G L
-----------------------------
kernel/sched/core.c:9226 Illegal context switch in RCU-sched read-side critical section!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
locks held by syz.3.1422/10104: 5, last CPU#0:
#0: ffff888028662800 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock include/linux/mmap_lock.h:600 [inline]
#0: ffff888028662800 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x124/0xa00 mm/mmap.c:1299
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x2f/0x310 mm/pgtable-generic.c:290
#2: ffff8880298bf258 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline]
#2: ffff8880298bf258 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: pte_offset_map_lock+0x10f/0x320 mm/pgtable-generic.c:404
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: rcu_read_lock_sched include/linux/rcupdate.h:947 [inline]
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: pfn_valid+0xbc/0x4b0 include/linux/mmzone.h:2276
#4: ffffc90000007c98 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0x11d/0x5f0 kernel/time/timer.c:1745
stack backtrace:
CPU: 0 UID: 0 PID: 10104 Comm: syz.3.1422 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
lockdep_rcu_suspicious.cold+0x4f/0xb2 kernel/locking/lockdep.c:6972
__might_resched+0x2d9/0x330 kernel/sched/core.c:9226
__cancel_work_sync kernel/workqueue.c:4561 [inline]
cancel_delayed_work_sync+0xb8/0xf0 kernel/workqueue.c:4642
mmc_free_host+0x19/0x40 drivers/mmc/core/host.c:700
vub300_delete drivers/mmc/host/vub300.c:379 [inline]
kref_put include/linux/kref.h:65 [inline]
vub300_inactivity_timer_expired drivers/mmc/host/vub300.c:747 [inline]
vub300_inactivity_timer_expired+0x42f/0x550 drivers/mmc/host/vub300.c:742
call_timer_fn+0x198/0x5f0 kernel/time/timer.c:1748
expire_timers kernel/time/timer.c:1799 [inline]
__run_timers+0x757/0xb00 kernel/time/timer.c:2374
__run_timer_base kernel/time/timer.c:2386 [inline]
__run_timer_base kernel/time/timer.c:2378 [inline]
run_timer_base+0x114/0x190 kernel/time/timer.c:2395
run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2405
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:206
Code: b6 2c 62 00 48 89 df 5b e9 cd 10 68 00 be 03 00 00 00 5b e9 a2 30 20 03 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 48 8b 05 ac 48 81 13 48 8b 34 24 65 48 8b 15 90 48
RSP: 0018:ffffc90006e5f430 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 00000000000400e7 RCX: 0000000000000002
RDX: ffff888062042580 RSI: ffffffff828ce958 RDI: ffff888062042580
RBP: ffff88806fe03100 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: ffff88817ffe3000 R14: dffffc0000000000 R15: ffffea00010039d8
valid_section include/linux/mmzone.h:2131 [inline]
pfn_valid+0x106/0x4b0 include/linux/mmzone.h:2277
page_table_check_clear+0x21/0x540 mm/page_table_check.c:70
__page_table_check_pte_clear+0x10f/0x120 mm/page_table_check.c:155
page_table_check_pte_clear include/linux/page_table_check.h:55 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1259 [inline]
get_and_clear_full_ptes include/linux/pgtable.h:879 [inline]
zap_present_folio_ptes mm/memory.c:1779 [inline]
zap_present_ptes mm/memory.c:1861 [inline]
do_zap_pte_range mm/memory.c:1963 [inline]
zap_pte_range mm/memory.c:2065 [inline]
zap_pmd_range mm/memory.c:2151 [inline]
zap_pud_range mm/memory.c:2179 [inline]
zap_p4d_range mm/memory.c:2200 [inline]
__zap_vma_range+0x2c43/0x48e0 mm/memory.c:2240
unmap_vmas+0x299/0x5f0 mm/memory.c:2309
exit_mmap+0x1ef/0xa00 mm/mmap.c:1315
__mmput+0x12a/0x410 kernel/fork.c:1193
mmput+0x67/0x80 kernel/fork.c:1216
exit_mm kernel/exit.c:592 [inline]
do_exit+0x83b/0x2a60 kernel/exit.c:974
do_group_exit+0xd5/0x2a0 kernel/exit.c:1129
get_signal+0x1ec7/0x21e0 kernel/signal.c:3112
arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6fefd9e559
Code: Unable to access opcode bytes at 0x7f6fefd9e52f.
RSP: 002b:00007f6ff0bf60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f6ff0025fa8 RCX: 00007f6fefd9e559
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6ff0025fa8
RBP: 00007f6ff0025fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6ff0026038 R14: 00007ffe5adbdbe0 R15: 00007ffe5adbdcc8
BUG: sleeping function called from invalid context at kernel/workqueue.c:4561
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 10104, name: syz.3.1422
preempt_count: 102, expected: 0
RCU nest depth: 1, expected: 0
locks held by syz.3.1422/10104: 5, last CPU#0:
#0: ffff888028662800 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock include/linux/mmap_lock.h:600 [inline]
#0: ffff888028662800 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x124/0xa00 mm/mmap.c:1299
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x2f/0x310 mm/pgtable-generic.c:290
#2: ffff8880298bf258 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline]
#2: ffff8880298bf258 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: pte_offset_map_lock+0x10f/0x320 mm/pgtable-generic.c:404
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: rcu_read_lock_sched include/linux/rcupdate.h:947 [inline]
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: pfn_valid+0xbc/0x4b0 include/linux/mmzone.h:2276
#4: ffffc90000007c98 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0x11d/0x5f0 kernel/time/timer.c:1745
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 UID: 0 PID: 10104 Comm: syz.3.1422 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
__might_resched.cold+0x1dc/0x222 kernel/sched/core.c:9264
__cancel_work_sync kernel/workqueue.c:4561 [inline]
cancel_delayed_work_sync+0xb8/0xf0 kernel/workqueue.c:4642
mmc_free_host+0x19/0x40 drivers/mmc/core/host.c:700
vub300_delete drivers/mmc/host/vub300.c:379 [inline]
kref_put include/linux/kref.h:65 [inline]
vub300_inactivity_timer_expired drivers/mmc/host/vub300.c:747 [inline]
vub300_inactivity_timer_expired+0x42f/0x550 drivers/mmc/host/vub300.c:742
call_timer_fn+0x198/0x5f0 kernel/time/timer.c:1748
expire_timers kernel/time/timer.c:1799 [inline]
__run_timers+0x757/0xb00 kernel/time/timer.c:2374
__run_timer_base kernel/time/timer.c:2386 [inline]
__run_timer_base kernel/time/timer.c:2378 [inline]
run_timer_base+0x114/0x190 kernel/time/timer.c:2395
run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2405
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:206
Code: b6 2c 62 00 48 89 df 5b e9 cd 10 68 00 be 03 00 00 00 5b e9 a2 30 20 03 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 48 8b 05 ac 48 81 13 48 8b 34 24 65 48 8b 15 90 48
RSP: 0018:ffffc90006e5f430 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 00000000000400e7 RCX: 0000000000000002
RDX: ffff888062042580 RSI: ffffffff828ce958 RDI: ffff888062042580
RBP: ffff88806fe03100 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: ffff88817ffe3000 R14: dffffc0000000000 R15: ffffea00010039d8
valid_section include/linux/mmzone.h:2131 [inline]
pfn_valid+0x106/0x4b0 include/linux/mmzone.h:2277
page_table_check_clear+0x21/0x540 mm/page_table_check.c:70
__page_table_check_pte_clear+0x10f/0x120 mm/page_table_check.c:155
page_table_check_pte_clear include/linux/page_table_check.h:55 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1259 [inline]
get_and_clear_full_ptes include/linux/pgtable.h:879 [inline]
zap_present_folio_ptes mm/memory.c:1779 [inline]
zap_present_ptes mm/memory.c:1861 [inline]
do_zap_pte_range mm/memory.c:1963 [inline]
zap_pte_range mm/memory.c:2065 [inline]
zap_pmd_range mm/memory.c:2151 [inline]
zap_pud_range mm/memory.c:2179 [inline]
zap_p4d_range mm/memory.c:2200 [inline]
__zap_vma_range+0x2c43/0x48e0 mm/memory.c:2240
unmap_vmas+0x299/0x5f0 mm/memory.c:2309
exit_mmap+0x1ef/0xa00 mm/mmap.c:1315
__mmput+0x12a/0x410 kernel/fork.c:1193
mmput+0x67/0x80 kernel/fork.c:1216
exit_mm kernel/exit.c:592 [inline]
do_exit+0x83b/0x2a60 kernel/exit.c:974
do_group_exit+0xd5/0x2a0 kernel/exit.c:1129
get_signal+0x1ec7/0x21e0 kernel/signal.c:3112
arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6fefd9e559
Code: Unable to access opcode bytes at 0x7f6fefd9e52f.
RSP: 002b:00007f6ff0bf60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f6ff0025fa8 RCX: 00007f6fefd9e559
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6ff0025fa8
RBP: 00007f6ff0025fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6ff0026038 R14: 00007ffe5adbdbe0 R15: 00007ffe5adbdcc8
================================
WARNING: inconsistent lock state
syzkaller #0 Tainted: G W L
--------------------------------
inconsistent {SOFTIRQ-ON-R} -> {IN-SOFTIRQ-W} usage.
syz.3.1422/10104 [HC0[0]:SC1[1]:HE1:SE0] takes:
ffffffff90e39518 (wakeup_srcu){.+-+}-{0:0}, at: srcu_lock_sync include/linux/srcu.h:210 [inline]
ffffffff90e39518 (wakeup_srcu){.+-+}-{0:0}, at: __synchronize_srcu+0x1c/0x300 kernel/rcu/srcutree.c:1462
{SOFTIRQ-ON-R} state was registered at:
lock_acquire kernel/locking/lockdep.c:5942 [inline]
lock_acquire+0x1d1/0x380 kernel/locking/lockdep.c:5899
srcu_lock_acquire include/linux/srcu.h:198 [inline]
srcu_read_lock include/linux/srcu.h:305 [inline]
pm_print_active_wakeup_sources+0x5e/0x350 drivers/base/power/wakeup.c:843
pm_get_wakeup_count+0x113/0x270 drivers/base/power/wakeup.c:975
wakeup_count_show+0x75/0xf0 kernel/power/main.c:868
kobj_attr_show+0x50/0x80 lib/kobject.c:828
sysfs_kf_seq_show+0x217/0x3f0 fs/sysfs/file.c:65
seq_read_iter+0x32f/0x1270 fs/seq_file.c:231
kernfs_fop_read_iter+0x46c/0x610 fs/kernfs/file.c:290
new_sync_read fs/read_write.c:493 [inline]
vfs_read+0x82e/0xb40 fs/read_write.c:574
ksys_read+0x12a/0x250 fs/read_write.c:716
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
irq event stamp: 10780
hardirqs last enabled at (10780): [] irqentry_exit_to_kernel_mode_after_preempt include/linux/irq-entry-common.h:507 [inline]
hardirqs last enabled at (10780): [] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:542 [inline]
hardirqs last enabled at (10780): [] irqentry_exit+0x24d/0xa10 kernel/entry/common.c:167
hardirqs last disabled at (10779): [] sysvec_call_function_single+0xe/0xc0 arch/x86/kernel/smp.c:267
softirqs last enabled at (10306): [] sctp_setsockopt+0x956/0xb370 net/sctp/socket.c:4803
softirqs last disabled at (10415): [] __do_softirq kernel/softirq.c:679 [inline]
softirqs last disabled at (10415): [] invoke_softirq kernel/softirq.c:519 [inline]
softirqs last disabled at (10415): [] __irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(wakeup_srcu);
lock(wakeup_srcu);
*** DEADLOCK ***
locks held by syz.3.1422/10104: 5, last CPU#0:
#0: ffff888028662800 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock include/linux/mmap_lock.h:600 [inline]
#0: ffff888028662800 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x124/0xa00 mm/mmap.c:1299
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff8fdec5e0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x2f/0x310 mm/pgtable-generic.c:290
#2: ffff8880298bf258 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline]
#2: ffff8880298bf258 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: pte_offset_map_lock+0x10f/0x320 mm/pgtable-generic.c:404
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: rcu_read_lock_sched include/linux/rcupdate.h:947 [inline]
#3: ffffffff8fdec520 (rcu_read_lock_sched){....}-{1:2}, at: pfn_valid+0xbc/0x4b0 include/linux/mmzone.h:2276
#4: ffffc90000007c98 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0x11d/0x5f0 kernel/time/timer.c:1745
stack backtrace:
CPU: 0 UID: 0 PID: 10104 Comm: syz.3.1422 Tainted: G W L syzkaller #0 PREEMPT(full)
Tainted: [W]=WARN, [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_usage_bug.part.0+0x258/0x340 kernel/locking/lockdep.c:4086
print_usage_bug kernel/locking/lockdep.c:4054 [inline]
valid_state kernel/locking/lockdep.c:4100 [inline]
mark_lock_irq kernel/locking/lockdep.c:4317 [inline]
mark_lock+0x8d5/0x1020 kernel/locking/lockdep.c:4797
mark_usage kernel/locking/lockdep.c:4686 [inline]
__lock_acquire+0x7f1/0x1f40 kernel/locking/lockdep.c:5242
lock_sync kernel/locking/lockdep.c:5991 [inline]
lock_sync+0xb5/0x120 kernel/locking/lockdep.c:5979
srcu_lock_sync include/linux/srcu.h:210 [inline]
__synchronize_srcu+0xa2/0x300 kernel/rcu/srcutree.c:1462
wakeup_source_remove drivers/base/power/wakeup.c:201 [inline]
wakeup_source_unregister.part.0+0x12c/0x540 drivers/base/power/wakeup.c:237
wakeup_source_unregister+0x1f/0x30 drivers/base/power/wakeup.c:236
mmc_host_classdev_release+0x42/0x120 drivers/mmc/core/host.c:69
device_release+0xd2/0x270 drivers/base/core.c:2640
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1f7/0x640 lib/kobject.c:737
put_device+0x1f/0x30 drivers/base/core.c:3884
vub300_delete drivers/mmc/host/vub300.c:379 [inline]
kref_put include/linux/kref.h:65 [inline]
vub300_inactivity_timer_expired drivers/mmc/host/vub300.c:747 [inline]
vub300_inactivity_timer_expired+0x42f/0x550 drivers/mmc/host/vub300.c:742
call_timer_fn+0x198/0x5f0 kernel/time/timer.c:1748
expire_timers kernel/time/timer.c:1799 [inline]
__run_timers+0x757/0xb00 kernel/time/timer.c:2374
__run_timer_base kernel/time/timer.c:2386 [inline]
__run_timer_base kernel/time/timer.c:2378 [inline]
run_timer_base+0x114/0x190 kernel/time/timer.c:2395
run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2405
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:206
Code: b6 2c 62 00 48 89 df 5b e9 cd 10 68 00 be 03 00 00 00 5b e9 a2 30 20 03 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 48 8b 05 ac 48 81 13 48 8b 34 24 65 48 8b 15 90 48
RSP: 0018:ffffc90006e5f430 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 00000000000400e7 RCX: 0000000000000002
RDX: ffff888062042580 RSI: ffffffff828ce958 RDI: ffff888062042580
RBP: ffff88806fe03100 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: ffff88817ffe3000 R14: dffffc0000000000 R15: ffffea00010039d8
valid_section include/linux/mmzone.h:2131 [inline]
pfn_valid+0x106/0x4b0 include/linux/mmzone.h:2277
page_table_check_clear+0x21/0x540 mm/page_table_check.c:70
__page_table_check_pte_clear+0x10f/0x120 mm/page_table_check.c:155
page_table_check_pte_clear include/linux/page_table_check.h:55 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1259 [inline]
get_and_clear_full_ptes include/linux/pgtable.h:879 [inline]
zap_present_folio_ptes mm/memory.c:1779 [inline]
zap_present_ptes mm/memory.c:1861 [inline]
do_zap_pte_range mm/memory.c:1963 [inline]
zap_pte_range mm/memory.c:2065 [inline]
zap_pmd_range mm/memory.c:2151 [inline]
zap_pud_range mm/memory.c:2179 [inline]
zap_p4d_range mm/memory.c:2200 [inline]
__zap_vma_range+0x2c43/0x48e0 mm/memory.c:2240
unmap_vmas+0x299/0x5f0 mm/memory.c:2309
exit_mmap+0x1ef/0xa00 mm/mmap.c:1315
__mmput+0x12a/0x410 kernel/fork.c:1193
mmput+0x67/0x80 kernel/fork.c:1216
exit_mm kernel/exit.c:592 [inline]
do_exit+0x83b/0x2a60 kernel/exit.c:974
do_group_exit+0xd5/0x2a0 kernel/exit.c:1129
get_signal+0x1ec7/0x21e0 kernel/signal.c:3112
arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6fefd9e559
Code: Unable to access opcode bytes at 0x7f6fefd9e52f.
RSP: 002b:00007f6ff0bf60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f6ff0025fa8 RCX: 00007f6fefd9e559
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6ff0025fa8
RBP: 00007f6ff0025fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6ff0026038 R14: 00007ffe5adbdbe0 R15: 00007ffe5adbdcc8
ODEBUG: object ffffc90000007a60 is NOT on stack ffffc90006e58000, but annotated.
------------[ cut here ]------------
1
WARNING: lib/debugobjects.c:672 at debug_object_is_on_stack lib/debugobjects.c:672 [inline], CPU#0: syz.3.1422/10104
WARNING: lib/debugobjects.c:672 at lookup_object_or_alloc.part.0.cold+0x19/0x40 lib/debugobjects.c:705, CPU#0: syz.3.1422/10104
Modules linked in:
CPU: 0 UID: 0 PID: 10104 Comm: syz.3.1422 Tainted: G W L syzkaller #0 PREEMPT(full)
Tainted: [W]=WARN, [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_object_is_on_stack lib/debugobjects.c:672 [inline]
RIP: 0010:lookup_object_or_alloc.part.0.cold+0x19/0x40 lib/debugobjects.c:705
Code: c4 60 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 83 c5 01 89 2d 30 25 7e 1b 4c 89 e6 48 c7 c7 c0 61 62 8c e8 31 aa eb ff 90 <0f> 0b 90 e9 32 18 00 04 83 c5 01 89 2d 0f 25 7e 1b 49 39 c4 73 da
RSP: 0018:ffffc900000078f0 EFLAGS: 00010082
RAX: 0000000000000050 RBX: ffff88803de23bd0 RCX: 0000000000000000
RDX: 0000000000000050 RSI: ffffffff81ea45b9 RDI: fffff52000000f0f
RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000103 R11: 6637303030302052 R12: ffffc90000007a60
R13: ffff888062042580 R14: 0000000000000001 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880d4946000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2cb6dd CR3: 000000000fb96000 CR4: 0000000000352ef0
Call Trace:
lookup_object_or_alloc lib/debugobjects.c:682 [inline]
__debug_object_init+0x2a9/0x3d0 lib/debugobjects.c:798
__synchronize_srcu+0x1c3/0x300 kernel/rcu/srcutree.c:1475
wakeup_source_remove drivers/base/power/wakeup.c:201 [inline]
wakeup_source_unregister.part.0+0x12c/0x540 drivers/base/power/wakeup.c:237
wakeup_source_unregister+0x1f/0x30 drivers/base/power/wakeup.c:236
mmc_host_classdev_release+0x42/0x120 drivers/mmc/core/host.c:69
device_release+0xd2/0x270 drivers/base/core.c:2640
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1f7/0x640 lib/kobject.c:737
put_device+0x1f/0x30 drivers/base/core.c:3884
vub300_delete drivers/mmc/host/vub300.c:379 [inline]
kref_put include/linux/kref.h:65 [inline]
vub300_inactivity_timer_expired drivers/mmc/host/vub300.c:747 [inline]
vub300_inactivity_timer_expired+0x42f/0x550 drivers/mmc/host/vub300.c:742
call_timer_fn+0x198/0x5f0 kernel/time/timer.c:1748
expire_timers kernel/time/timer.c:1799 [inline]
__run_timers+0x757/0xb00 kernel/time/timer.c:2374
__run_timer_base kernel/time/timer.c:2386 [inline]
__run_timer_base kernel/time/timer.c:2378 [inline]
run_timer_base+0x114/0x190 kernel/time/timer.c:2395
run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2405
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:206
Code: b6 2c 62 00 48 89 df 5b e9 cd 10 68 00 be 03 00 00 00 5b e9 a2 30 20 03 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 48 8b 05 ac 48 81 13 48 8b 34 24 65 48 8b 15 90 48
RSP: 0018:ffffc90006e5f430 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 00000000000400e7 RCX: 0000000000000002
RDX: ffff888062042580 RSI: ffffffff828ce958 RDI: ffff888062042580
RBP: ffff88806fe03100 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: ffff88817ffe3000 R14: dffffc0000000000 R15: ffffea00010039d8
valid_section include/linux/mmzone.h:2131 [inline]
pfn_valid+0x106/0x4b0 include/linux/mmzone.h:2277
page_table_check_clear+0x21/0x540 mm/page_table_check.c:70
__page_table_check_pte_clear+0x10f/0x120 mm/page_table_check.c:155
page_table_check_pte_clear include/linux/page_table_check.h:55 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1259 [inline]
get_and_clear_full_ptes include/linux/pgtable.h:879 [inline]
zap_present_folio_ptes mm/memory.c:1779 [inline]
zap_present_ptes mm/memory.c:1861 [inline]
do_zap_pte_range mm/memory.c:1963 [inline]
zap_pte_range mm/memory.c:2065 [inline]
zap_pmd_range mm/memory.c:2151 [inline]
zap_pud_range mm/memory.c:2179 [inline]
zap_p4d_range mm/memory.c:2200 [inline]
__zap_vma_range+0x2c43/0x48e0 mm/memory.c:2240
unmap_vmas+0x299/0x5f0 mm/memory.c:2309
exit_mmap+0x1ef/0xa00 mm/mmap.c:1315
__mmput+0x12a/0x410 kernel/fork.c:1193
mmput+0x67/0x80 kernel/fork.c:1216
exit_mm kernel/exit.c:592 [inline]
do_exit+0x83b/0x2a60 kernel/exit.c:974
do_group_exit+0xd5/0x2a0 kernel/exit.c:1129
get_signal+0x1ec7/0x21e0 kernel/signal.c:3112
arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6fefd9e559
Code: Unable to access opcode bytes at 0x7f6fefd9e52f.
RSP: 002b:00007f6ff0bf60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f6ff0025fa8 RCX: 00007f6fefd9e559
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6ff0025fa8
RBP: 00007f6ff0025fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6ff0026038 R14: 00007ffe5adbdbe0 R15: 00007ffe5adbdcc8
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 2c 62 sub $0x62,%al
2: 00 48 89 add %cl,-0x77(%rax)
5: df 5b e9 fistps -0x17(%rbx)
8: cd 10 int $0x10
a: 68 00 be 03 00 push $0x3be00
f: 00 00 add %al,(%rax)
11: 5b pop %rbx
12: e9 a2 30 20 03 jmp 0x32030b9
17: 66 90 xchg %ax,%ax
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: 90 nop
24: 90 nop
25: 90 nop
26: 90 nop
27: 90 nop
28: 90 nop
* 29: f3 0f 1e fa endbr64 <-- trapping instruction
2d: 65 48 8b 05 ac 48 81 mov %gs:0x138148ac(%rip),%rax # 0x138148e1
34: 13
35: 48 8b 34 24 mov (%rsp),%rsi
39: 65 gs
3a: 48 rex.W
3b: 8b .byte 0x8b
3c: 15 .byte 0x15
3d: 90 nop
3e: 48 rex.W