====================================== | xx__-> [ 16.768014][ T293] ================================================================== | [ 16.768300][ T293] BUG: KASAN: slab-use-after-free in emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) | [ 16.768562][ T293] Read of size 1 at addr ffff888001932720 by task modprobe/293 | [ 16.768811][ T293] [ 16.768906][ T293] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.768908][ T293] Call Trace: [ 16.768910][ T293] [ 16.768911][ T293] dump_stack_lvl (lib/dump_stack.c:123) [ 16.768918][ T293] print_address_description.constprop.0 (mm/kasan/report.c:409) [ 16.768926][ T293] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 16.768929][ T293] print_report (mm/kasan/report.c:522) [ 16.768933][ T293] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 16.768936][ T293] ? kasan_addr_to_slab (./include/linux/mm.h:1178 mm/kasan/../slab.h:211 mm/kasan/common.c:38) [ 16.768940][ T293] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 16.768942][ T293] kasan_report (mm/kasan/report.c:636) [ 16.768947][ T293] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 16.768952][ T293] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 16.768955][ T293] __kasan_check_byte (mm/kasan/common.c:561) [ 16.768959][ T293] krealloc_noprof (mm/slub.c:4858 mm/slub.c:4958) [ 16.768963][ T293] ? execmem_alloc (mm/execmem.c:299 mm/execmem.c:383) [ 16.768970][ T293] emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 16.768973][ T293] ? __x86_indirect_paranoid_thunk_rax (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 16.768980][ T293] ? __do_softirq (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 16.768984][ T293] apply_retpolines (arch/x86/kernel/alternative.c:994 (discriminator 3)) [ 16.768989][ T293] ? __pfx_apply_retpolines (arch/x86/kernel/alternative.c:946) [ 16.768993][ T293] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 16.769002][ T293] module_finalize (arch/x86/kernel/module.c:292) [ 16.769009][ T293] ? add_kallsyms (./include/linux/string.h:355 kernel/module/kallsyms.c:200) [ 16.769014][ T293] ? __pfx_module_finalize (arch/x86/kernel/module.c:241) [ 16.769019][ T293] ? __pfx_cmp_ex_sort (lib/extable.c:52) [ 16.769022][ T293] ? __pfx_swap_ex (lib/extable.c:28) [ 16.769027][ T293] load_module (kernel/module/main.c:2927 kernel/module/main.c:3422) [ 16.769033][ T293] ? __pfx_load_module (kernel/module/main.c:3327) [ 16.769036][ T293] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 16.769043][ T293] ? kernel_read_file (./arch/x86/include/asm/atomic.h:53 ./include/linux/atomic/atomic-arch-fallback.h:992 ./include/linux/atomic/atomic-instrumented.h:436 ./include/linux/fs.h:3192 fs/kernel_read_file.c:122) [ 16.769047][ T293] ? __pfx_kernel_read_file (fs/kernel_read_file.c:38) [ 16.769052][ T293] ? init_module_from_file (kernel/module/main.c:3673) [ 16.769055][ T293] init_module_from_file (kernel/module/main.c:3673) [ 16.769058][ T293] ? __pfx_init_module_from_file (kernel/module/main.c:3649) [ 16.769066][ T293] ? idempotent_init_module (kernel/module/main.c:3685) [ 16.769069][ T293] ? __lock_release (kernel/locking/lockdep.c:5539) [ 16.769074][ T293] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 16.769078][ T293] idempotent_init_module (kernel/module/main.c:3685) [ 16.769082][ T293] ? __pfx_idempotent_init_module (kernel/module/main.c:3677) [ 16.769089][ T293] ? cap_capable (security/commoncap.c:132) [ 16.769095][ T293] __x64_sys_finit_module (./include/linux/file.h:62 ./include/linux/file.h:83 kernel/module/main.c:3708 kernel/module/main.c:3695 kernel/module/main.c:3695) [ 16.769098][ T293] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 16.769102][ T293] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 16.769105][ T293] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 16.769109][ T293] RIP: 0033:0x7fe193fc7e5d [ 16.769113][ T293] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 73 9f 1b 00 f7 d8 64 89 01 48 All code ======== 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 9: 00 00 00 c: 90 nop d: f3 0f 1e fa endbr64 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall 2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 8b 0d 73 9f 1b 00 mov 0x1b9f73(%rip),%rcx # 0x1b9fad 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 6: 73 01 jae 0x9 8: c3 ret 9: 48 8b 0d 73 9f 1b 00 mov 0x1b9f73(%rip),%rcx # 0x1b9f83 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W [ 16.769115][ T293] RSP: 002b:00007ffc4867f3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.769119][ T293] RAX: ffffffffffffffda RBX: 000055fd9291ac80 RCX: 00007fe193fc7e5d [ 16.769121][ T293] RDX: 0000000000000000 RSI: 000055fd88b18a2a RDI: 0000000000000000 [ 16.769123][ T293] RBP: 0000000000040000 R08: 0000000000000000 R09: 00007ffc4867f4e0 [ 16.769125][ T293] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fd88b18a2a [ 16.769127][ T293] R13: 000055fd9291ad40 R14: 000055fd9291adc0 R15: 000055fd9291acec | [ 16.789280][ T293] ^ | [ 16.789452][ T293] ffff888001932780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc | [ 16.789699][ T293] ffff888001932800: fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00 fc | [ 16.789944][ T293] ================================================================== | [ 16.790670][ T293] Disabling lock debugging due to kernel taint [ 247.175902][ T44] INFO: task modprobe:293 blocked for more than 122 seconds. [ 247.176361][ T44] Tainted: G B 6.16.0-rc2-virtme #1 [ 247.176573][ T44] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 247.176884][ T44] task:modprobe state:D stack:25792 pid:293 tgid:293 ppid:36 task_flags:0x400100 flags:0x00004002 [ 247.177263][ T44] Call Trace: [ 247.177379][ T44] [ 247.177461][ T44] __schedule (kernel/sched/core.c:5396 kernel/sched/core.c:6785) [ 247.177621][ T44] ? __pfx___schedule (kernel/sched/core.c:6662) [ 247.177786][ T44] ? trace_irq_enable.constprop.0 (./include/trace/events/preemptirq.h:40) [ 247.178014][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 247.178162][ T44] ? schedule (kernel/sched/core.c:6844 kernel/sched/core.c:6877) [ 247.178276][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 247.178420][ T44] schedule (kernel/sched/core.c:6864 kernel/sched/core.c:6878) [ 247.178533][ T44] schedule_preempt_disabled (kernel/sched/core.c:6936) [ 247.178714][ T44] __mutex_lock (kernel/locking/mutex.c:183 kernel/locking/mutex.c:681 kernel/locking/mutex.c:747) [ 247.178861][ T44] ? text_poke_set (arch/x86/kernel/alternative.c:2671) [ 247.179009][ T44] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 247.179184][ T44] ? execmem_free (mm/execmem.c:330 mm/execmem.c:398) [ 247.179329][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 247.179477][ T44] ? trace_lock_release (./include/trace/events/lock.h:69 (discriminator 21)) [ 247.179627][ T44] ? text_poke_set (arch/x86/kernel/alternative.c:2671) [ 247.179777][ T44] text_poke_set (arch/x86/kernel/alternative.c:2671) [ 247.179922][ T44] ? __pfx_text_poke_set (arch/x86/kernel/alternative.c:2663) [ 247.180072][ T44] execmem_free (mm/execmem.c:332 mm/execmem.c:398) [ 247.180218][ T44] ? __pfx_execmem_free (mm/execmem.c:391) [ 247.180370][ T44] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 247.180517][ T44] ? __kasan_check_byte (mm/kasan/common.c:561) [ 247.180659][ T44] ? krealloc_noprof (mm/slub.c:4858 mm/slub.c:4958) [ 247.180834][ T44] ? execmem_alloc (mm/execmem.c:299 mm/execmem.c:383) [ 247.180987][ T44] emit_its_trampoline (arch/x86/kernel/alternative.c:266 arch/x86/kernel/alternative.c:808) [ 247.181134][ T44] ? __x86_indirect_paranoid_thunk_rax (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 247.181318][ T44] ? __do_softirq (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 247.181463][ T44] apply_retpolines (arch/x86/kernel/alternative.c:994 (discriminator 3)) [ 247.181615][ T44] ? __pfx_apply_retpolines (arch/x86/kernel/alternative.c:946) [ 247.181769][ T44] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 247.181937][ T44] module_finalize (arch/x86/kernel/module.c:292) [ 247.182105][ T44] ? add_kallsyms (./include/linux/string.h:355 kernel/module/kallsyms.c:200) [ 247.182253][ T44] ? __pfx_module_finalize (arch/x86/kernel/module.c:241) [ 247.182412][ T44] ? __pfx_cmp_ex_sort (lib/extable.c:52) [ 247.182557][ T44] ? __pfx_swap_ex (lib/extable.c:28) [ 247.182716][ T44] load_module (kernel/module/main.c:2927 kernel/module/main.c:3422) [ 247.182861][ T44] ? __pfx_load_module (kernel/module/main.c:3327) [ 247.183038][ T44] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 247.183208][ T44] ? kernel_read_file (./arch/x86/include/asm/atomic.h:53 ./include/linux/atomic/atomic-arch-fallback.h:992 ./include/linux/atomic/atomic-instrumented.h:436 ./include/linux/fs.h:3192 fs/kernel_read_file.c:122) [ 247.183357][ T44] ? __pfx_kernel_read_file (fs/kernel_read_file.c:38) [ 247.183521][ T44] ? init_module_from_file (kernel/module/main.c:3673) [ 247.183667][ T44] init_module_from_file (kernel/module/main.c:3673) [ 247.183831][ T44] ? __pfx_init_module_from_file (kernel/module/main.c:3649) [ 247.184029][ T44] ? idempotent_init_module (kernel/module/main.c:3685) [ 247.184180][ T44] ? __lock_release (kernel/locking/lockdep.c:5539) [ 247.184346][ T44] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 247.184500][ T44] idempotent_init_module (kernel/module/main.c:3685) [ 247.184650][ T44] ? __pfx_idempotent_init_module (kernel/module/main.c:3677) [ 247.184855][ T44] ? cap_capable (security/commoncap.c:132) [ 247.185010][ T44] __x64_sys_finit_module (./include/linux/file.h:62 ./include/linux/file.h:83 kernel/module/main.c:3708 kernel/module/main.c:3695 kernel/module/main.c:3695) [ 247.185170][ T44] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 247.185322][ T44] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 247.185472][ T44] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 247.185656][ T44] RIP: 0033:0x7fe193fc7e5d [ 247.185821][ T44] RSP: 002b:00007ffc4867f3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 247.186053][ T44] RAX: ffffffffffffffda RBX: 000055fd9291ac80 RCX: 00007fe193fc7e5d [ 247.186299][ T44] RDX: 0000000000000000 RSI: 000055fd88b18a2a RDI: 0000000000000000 [ 247.186525][ T44] RBP: 0000000000040000 R08: 0000000000000000 R09: 00007ffc4867f4e0 [ 247.186759][ T44] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fd88b18a2a [ 247.186987][ T44] R13: 000055fd9291ad40 R14: 000055fd9291adc0 R15: 000055fd9291acec | [ 247.197014][ T44] RBP: 0000000000040000 R08: 0000000000000000 R09: 00007ffc4867f4e0 | [ 247.197270][ T44] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fd88b18a2a | [ 247.197509][ T44] R13: 000055fd9291ad40 R14: 000055fd9291adc0 R15: 000055fd9291acec | [ 247.197763][ T44] | [ 247.197878][ T44] INFO: lockdep is turned off. [ 370.055889][ T44] INFO: task modprobe:293 blocked for more than 245 seconds. [ 370.056331][ T44] Tainted: G B 6.16.0-rc2-virtme #1 [ 370.056546][ T44] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 370.056825][ T44] task:modprobe state:D stack:25792 pid:293 tgid:293 ppid:36 task_flags:0x400100 flags:0x00004002 [ 370.057190][ T44] Call Trace: [ 370.057301][ T44] [ 370.057378][ T44] __schedule (kernel/sched/core.c:5396 kernel/sched/core.c:6785) [ 370.057532][ T44] ? __pfx___schedule (kernel/sched/core.c:6662) [ 370.057719][ T44] ? trace_irq_enable.constprop.0 (./include/trace/events/preemptirq.h:40) [ 370.057930][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 370.058078][ T44] ? schedule (kernel/sched/core.c:6844 kernel/sched/core.c:6877) [ 370.058190][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 370.058349][ T44] schedule (kernel/sched/core.c:6864 kernel/sched/core.c:6878) [ 370.058472][ T44] schedule_preempt_disabled (kernel/sched/core.c:6936) [ 370.058608][ T44] __mutex_lock (kernel/locking/mutex.c:183 kernel/locking/mutex.c:681 kernel/locking/mutex.c:747) [ 370.058770][ T44] ? text_poke_set (arch/x86/kernel/alternative.c:2671) [ 370.058942][ T44] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 370.059097][ T44] ? execmem_free (mm/execmem.c:330 mm/execmem.c:398) [ 370.059248][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 370.059405][ T44] ? trace_lock_release (./include/trace/events/lock.h:69 (discriminator 21)) [ 370.059562][ T44] ? text_poke_set (arch/x86/kernel/alternative.c:2671) [ 370.059712][ T44] text_poke_set (arch/x86/kernel/alternative.c:2671) [ 370.059850][ T44] ? __pfx_text_poke_set (arch/x86/kernel/alternative.c:2663) [ 370.060012][ T44] execmem_free (mm/execmem.c:332 mm/execmem.c:398) [ 370.060155][ T44] ? __pfx_execmem_free (mm/execmem.c:391) [ 370.060302][ T44] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 370.060451][ T44] ? __kasan_check_byte (mm/kasan/common.c:561) [ 370.060629][ T44] ? krealloc_noprof (mm/slub.c:4858 mm/slub.c:4958) [ 370.060789][ T44] ? execmem_alloc (mm/execmem.c:299 mm/execmem.c:383) [ 370.060955][ T44] emit_its_trampoline (arch/x86/kernel/alternative.c:266 arch/x86/kernel/alternative.c:808) [ 370.061101][ T44] ? __x86_indirect_paranoid_thunk_rax (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 370.061316][ T44] ? __do_softirq (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 370.061466][ T44] apply_retpolines (arch/x86/kernel/alternative.c:994 (discriminator 3)) [ 370.061613][ T44] ? __pfx_apply_retpolines (arch/x86/kernel/alternative.c:946) [ 370.061768][ T44] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 370.061924][ T44] module_finalize (arch/x86/kernel/module.c:292) [ 370.062087][ T44] ? add_kallsyms (./include/linux/string.h:355 kernel/module/kallsyms.c:200) [ 370.062249][ T44] ? __pfx_module_finalize (arch/x86/kernel/module.c:241) [ 370.062409][ T44] ? __pfx_cmp_ex_sort (lib/extable.c:52) [ 370.062559][ T44] ? __pfx_swap_ex (lib/extable.c:28) [ 370.062717][ T44] load_module (kernel/module/main.c:2927 kernel/module/main.c:3422) [ 370.062872][ T44] ? __pfx_load_module (kernel/module/main.c:3327) [ 370.063031][ T44] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 370.063176][ T44] ? kernel_read_file (./arch/x86/include/asm/atomic.h:53 ./include/linux/atomic/atomic-arch-fallback.h:992 ./include/linux/atomic/atomic-instrumented.h:436 ./include/linux/fs.h:3192 fs/kernel_read_file.c:122) [ 370.063327][ T44] ? __pfx_kernel_read_file (fs/kernel_read_file.c:38) [ 370.063498][ T44] ? init_module_from_file (kernel/module/main.c:3673) [ 370.063640][ T44] init_module_from_file (kernel/module/main.c:3673) [ 370.063796][ T44] ? __pfx_init_module_from_file (kernel/module/main.c:3649) [ 370.063983][ T44] ? idempotent_init_module (kernel/module/main.c:3685) [ 370.064140][ T44] ? __lock_release (kernel/locking/lockdep.c:5539) [ 370.064279][ T44] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 370.064435][ T44] idempotent_init_module (kernel/module/main.c:3685) [ 370.064598][ T44] ? __pfx_idempotent_init_module (kernel/module/main.c:3677) [ 370.064801][ T44] ? cap_capable (security/commoncap.c:132) [ 370.064970][ T44] __x64_sys_finit_module (./include/linux/file.h:62 ./include/linux/file.h:83 kernel/module/main.c:3708 kernel/module/main.c:3695 kernel/module/main.c:3695) [ 370.065117][ T44] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 370.065275][ T44] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 370.065447][ T44] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 370.065645][ T44] RIP: 0033:0x7fe193fc7e5d [ 370.065806][ T44] RSP: 002b:00007ffc4867f3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 370.066036][ T44] RAX: ffffffffffffffda RBX: 000055fd9291ac80 RCX: 00007fe193fc7e5d [ 370.066266][ T44] RDX: 0000000000000000 RSI: 000055fd88b18a2a RDI: 0000000000000000 [ 370.066473][ T44] RBP: 0000000000040000 R08: 0000000000000000 R09: 00007ffc4867f4e0 [ 370.066698][ T44] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fd88b18a2a [ 370.066926][ T44] R13: 000055fd9291ad40 R14: 000055fd9291adc0 R15: 000055fd9291acec | [ 370.076839][ T44] RBP: 0000000000040000 R08: 0000000000000000 R09: 00007ffc4867f4e0 | [ 370.077079][ T44] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fd88b18a2a | [ 370.077297][ T44] R13: 000055fd9291ad40 R14: 000055fd9291adc0 R15: 000055fd9291acec | [ 370.077518][ T44] | [ 370.077626][ T44] INFO: lockdep is turned off. [ 492.935778][ T44] INFO: task modprobe:293 blocked for more than 368 seconds. [ 492.936133][ T44] Tainted: G B 6.16.0-rc2-virtme #1 [ 492.936351][ T44] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 492.936585][ T44] task:modprobe state:D stack:25792 pid:293 tgid:293 ppid:36 task_flags:0x400100 flags:0x00004002 [ 492.936932][ T44] Call Trace: [ 492.937044][ T44] [ 492.937122][ T44] __schedule (kernel/sched/core.c:5396 kernel/sched/core.c:6785) [ 492.937283][ T44] ? __pfx___schedule (kernel/sched/core.c:6662) [ 492.937428][ T44] ? trace_irq_enable.constprop.0 (./include/trace/events/preemptirq.h:40) [ 492.937612][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 492.937769][ T44] ? schedule (kernel/sched/core.c:6844 kernel/sched/core.c:6877) [ 492.937879][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 492.938023][ T44] schedule (kernel/sched/core.c:6864 kernel/sched/core.c:6878) [ 492.938133][ T44] schedule_preempt_disabled (kernel/sched/core.c:6936) [ 492.938276][ T44] __mutex_lock (kernel/locking/mutex.c:183 kernel/locking/mutex.c:681 kernel/locking/mutex.c:747) [ 492.938430][ T44] ? text_poke_set (arch/x86/kernel/alternative.c:2671) [ 492.938576][ T44] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 492.938728][ T44] ? execmem_free (mm/execmem.c:330 mm/execmem.c:398) [ 492.938875][ T44] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 492.939018][ T44] ? trace_lock_release (./include/trace/events/lock.h:69 (discriminator 21)) [ 492.939167][ T44] ? text_poke_set (arch/x86/kernel/alternative.c:2671) [ 492.939309][ T44] text_poke_set (arch/x86/kernel/alternative.c:2671) [ 492.939451][ T44] ? __pfx_text_poke_set (arch/x86/kernel/alternative.c:2663) [ 492.939604][ T44] execmem_free (mm/execmem.c:332 mm/execmem.c:398) [ 492.939758][ T44] ? __pfx_execmem_free (mm/execmem.c:391) [ 492.939906][ T44] ? emit_its_trampoline (arch/x86/kernel/alternative.c:129 arch/x86/kernel/alternative.c:236 arch/x86/kernel/alternative.c:264 arch/x86/kernel/alternative.c:808) [ 492.940055][ T44] ? __kasan_check_byte (mm/kasan/common.c:561) [ 492.940201][ T44] ? krealloc_noprof (mm/slub.c:4858 mm/slub.c:4958) [ 492.940344][ T44] ? execmem_alloc (mm/execmem.c:299 mm/execmem.c:383) [ 492.940488][ T44] emit_its_trampoline (arch/x86/kernel/alternative.c:266 arch/x86/kernel/alternative.c:808) [ 492.940633][ T44] ? __x86_indirect_paranoid_thunk_rax (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 492.940834][ T44] ? __do_softirq (./arch/x86/include/asm/GEN-for-each-reg.h:6) [ 492.940982][ T44] apply_retpolines (arch/x86/kernel/alternative.c:994 (discriminator 3)) [ 492.941131][ T44] ? __pfx_apply_retpolines (arch/x86/kernel/alternative.c:946) [ 492.941276][ T44] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 492.941427][ T44] module_finalize (arch/x86/kernel/module.c:292) [ 492.941578][ T44] ? add_kallsyms (./include/linux/string.h:355 kernel/module/kallsyms.c:200) [ 492.941734][ T44] ? __pfx_module_finalize (arch/x86/kernel/module.c:241) [ 492.941886][ T44] ? __pfx_cmp_ex_sort (lib/extable.c:52) [ 492.942030][ T44] ? __pfx_swap_ex (lib/extable.c:28) [ 492.942177][ T44] load_module (kernel/module/main.c:2927 kernel/module/main.c:3422) [ 492.942324][ T44] ? __pfx_load_module (kernel/module/main.c:3327) [ 492.942467][ T44] ? kernel_read_file (fs/kernel_read_file.c:80 (discriminator 2)) [ 492.942614][ T44] ? kernel_read_file (./arch/x86/include/asm/atomic.h:53 ./include/linux/atomic/atomic-arch-fallback.h:992 ./include/linux/atomic/atomic-instrumented.h:436 ./include/linux/fs.h:3192 fs/kernel_read_file.c:122) [ 492.942766][ T44] ? __pfx_kernel_read_file (fs/kernel_read_file.c:38) [ 492.942922][ T44] ? init_module_from_file (kernel/module/main.c:3673) [ 492.943077][ T44] init_module_from_file (kernel/module/main.c:3673) [ 492.943225][ T44] ? __pfx_init_module_from_file (kernel/module/main.c:3649) [ 492.943409][ T44] ? idempotent_init_module (kernel/module/main.c:3685) [ 492.943554][ T44] ? __lock_release (kernel/locking/lockdep.c:5539) [ 492.943712][ T44] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 492.943860][ T44] idempotent_init_module (kernel/module/main.c:3685) [ 492.944014][ T44] ? __pfx_idempotent_init_module (kernel/module/main.c:3677) [ 492.944197][ T44] ? cap_capable (security/commoncap.c:132) [ 492.944346][ T44] __x64_sys_finit_module (./include/linux/file.h:62 ./include/linux/file.h:83 kernel/module/main.c:3708 kernel/module/main.c:3695 kernel/module/main.c:3695) [ 492.944496][ T44] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 492.944645][ T44] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 492.944806][ T44] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 492.944994][ T44] RIP: 0033:0x7fe193fc7e5d [ 492.945146][ T44] RSP: 002b:00007ffc4867f3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 492.945377][ T44] RAX: ffffffffffffffda RBX: 000055fd9291ac80 RCX: 00007fe193fc7e5d [ 492.945599][ T44] RDX: 0000000000000000 RSI: 000055fd88b18a2a RDI: 0000000000000000 [ 492.945823][ T44] RBP: 0000000000040000 R08: 0000000000000000 R09: 00007ffc4867f4e0 [ 492.946043][ T44] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fd88b18a2a Finger prints: print_report:kasan_report:__kasan_check_byte:krealloc_noprof:emit_its_trampoline __schedule:schedule:schedule_preempt_disabled:__mutex_lock:text_poke_set