FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 ====================================================== WARNING: possible circular locking dependency detected syzkaller #0 Not tainted ------------------------------------------------------ syz.1.183/5417 is trying to acquire lock: ffffffff8c91f2e0 (console_owner){-...}-{0:0}, at: console_lock_spinning_enable kernel/printk/printk.c:1818 [inline] ffffffff8c91f2e0 (console_owner){-...}-{0:0}, at: console_emit_next_record+0x82d/0xc90 kernel/printk/printk.c:2774 but task is already holding lock: ffff8880b8e3aad8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:545 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&rq->__lock){-.-.}-{2:2}: _raw_spin_lock_nested+0x2e/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] task_fork_fair+0x5c/0x350 kernel/sched/fair.c:11901 sched_cgroup_fork+0x32c/0x3c0 kernel/sched/core.c:4685 copy_process+0x24b8/0x4020 kernel/fork.c:2459 kernel_clone+0x225/0x8b0 kernel/fork.c:2757 user_mode_thread+0xda/0x130 kernel/fork.c:2833 rest_init+0x23/0x300 init/main.c:710 start_kernel+0x0/0x539 init/main.c:905 start_kernel+0x490/0x539 init/main.c:1152 secondary_startup_64_no_verify+0xcf/0xdb -> #3 (&p->pi_lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 try_to_wake_up+0x5c/0x1080 kernel/sched/core.c:4111 __wake_up_common+0x2a4/0x4e0 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x10e/0x190 kernel/sched/wait.c:160 tty_port_default_wakeup+0x9e/0xf0 drivers/tty/tty_port.c:71 serial8250_tx_chars+0x629/0x830 drivers/tty/serial/8250/8250_port.c:1854 serial8250_handle_irq+0x516/0x6d0 drivers/tty/serial/8250/8250_port.c:1961 serial8250_default_handle_irq+0xb4/0x1a0 drivers/tty/serial/8250/8250_port.c:1981 serial8250_interrupt+0x9b/0x1c0 drivers/tty/serial/8250/8250_core.c:126 __handle_irq_event_percpu+0x298/0xa30 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x87/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x243/0xb20 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:233 [inline] __common_interrupt+0xd7/0x1e0 arch/x86/kernel/irq.c:252 common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:682 lock_is_held_type+0x13a/0x190 kernel/locking/lockdep.c:5710 lock_is_held include/linux/lockdep.h:283 [inline] mt_locked lib/maple_tree.c:-1 [inline] mt_slot lib/maple_tree.c:816 [inline] mtree_range_walk+0x4dc/0x7b0 lib/maple_tree.c:2988 mas_state_walk lib/maple_tree.c:3903 [inline] mas_walk+0x7e/0x180 lib/maple_tree.c:5139 mas_find+0x1db/0x230 lib/maple_tree.c:6109 validate_mm+0xdb/0x2b0 mm/mmap.c:334 __vma_adjust+0x17e0/0x1c60 mm/mmap.c:879 vma_adjust include/linux/mm.h:2810 [inline] shift_arg_pages fs/exec.c:705 [inline] setup_arg_pages+0x778/0xab0 fs/exec.c:835 load_elf_binary+0xb97/0x26d0 fs/binfmt_elf.c:1046 search_binary_handler fs/exec.c:1764 [inline] exec_binprm fs/exec.c:1805 [inline] bprm_execve+0xb10/0x18a0 fs/exec.c:1874 do_execveat_common+0x51b/0x6c0 fs/exec.c:1979 do_execve fs/exec.c:2053 [inline] __do_sys_execve fs/exec.c:2129 [inline] __se_sys_execve fs/exec.c:2124 [inline] __x64_sys_execve+0x8e/0xa0 fs/exec.c:2124 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 -> #2 (&tty->write_wait){-...}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xf4/0x190 kernel/sched/wait.c:160 tty_port_default_wakeup+0x9e/0xf0 drivers/tty/tty_port.c:71 serial8250_tx_chars+0x629/0x830 drivers/tty/serial/8250/8250_port.c:1854 serial8250_handle_irq+0x516/0x6d0 drivers/tty/serial/8250/8250_port.c:1961 serial8250_default_handle_irq+0xb4/0x1a0 drivers/tty/serial/8250/8250_port.c:1981 serial8250_interrupt+0x9b/0x1c0 drivers/tty/serial/8250/8250_core.c:126 __handle_irq_event_percpu+0x298/0xa30 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x87/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x243/0xb20 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:233 [inline] __common_interrupt+0xd7/0x1e0 arch/x86/kernel/irq.c:252 common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:682 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] uart_write+0x68a/0x910 drivers/tty/serial/serial_core.c:602 process_output_block drivers/tty/n_tty.c:586 [inline] n_tty_write+0xd1a/0x11c0 drivers/tty/n_tty.c:2377 do_tty_write drivers/tty/tty_io.c:1018 [inline] file_tty_write+0x4dd/0x860 drivers/tty/tty_io.c:1089 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x44c/0x960 fs/read_write.c:584 ksys_write+0x143/0x240 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 -> #1 (&port_lock_key){-...}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 serial8250_console_write+0x169/0x17a0 drivers/tty/serial/8250/8250_port.c:3432 call_console_driver kernel/printk/printk.c:1977 [inline] console_emit_next_record+0x947/0xc90 kernel/printk/printk.c:2777 console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x223/0x630 kernel/printk/printk.c:2906 vprintk_emit+0x489/0x680 kernel/printk/printk.c:2303 _printk+0xcc/0x110 kernel/printk/printk.c:2328 register_console+0x6c6/0x9c0 kernel/printk/printk.c:3269 univ8250_console_init+0x41/0x43 drivers/tty/serial/8250/8250_core.c:687 console_init+0x1bc/0x78e kernel/printk/printk.c:3359 start_kernel+0x303/0x539 init/main.c:1088 secondary_startup_64_no_verify+0xcf/0xdb -> #0 (console_owner){-...}-{0:0}: check_prev_add kernel/locking/lockdep.c:3090 [inline] check_prevs_add kernel/locking/lockdep.c:3209 [inline] validate_chain kernel/locking/lockdep.c:3825 [inline] __lock_acquire+0x2cf8/0x7c50 kernel/locking/lockdep.c:5049 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662 console_lock_spinning_enable kernel/printk/printk.c:1818 [inline] console_emit_next_record+0x84c/0xc90 kernel/printk/printk.c:2774 console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x223/0x630 kernel/printk/printk.c:2906 vprintk_emit+0x489/0x680 kernel/printk/printk.c:2303 _printk+0xcc/0x110 kernel/printk/printk.c:2328 fail_dump lib/fault-inject.c:45 [inline] should_fail_ex+0x37a/0x4d0 lib/fault-inject.c:147 strncpy_from_user+0x32/0x350 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x6d/0x140 mm/maccess.c:186 bpf_trace_copy_string kernel/bpf/helpers.c:746 [inline] bpf_bprintf_prepare+0xba0/0x13d0 kernel/bpf/helpers.c:971 ____bpf_trace_printk kernel/trace/bpf_trace.c:384 [inline] bpf_trace_printk+0xd8/0x190 kernel/trace/bpf_trace.c:374 bpf_prog_7c77c7e0f6645ad8+0x35/0x37 bpf_dispatcher_nop_func include/linux/bpf.h:1012 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2285 [inline] bpf_trace_run2+0x1cd/0x3b0 kernel/trace/bpf_trace.c:2324 trace_contention_begin+0x142/0x190 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xdc/0x9c0 kernel/locking/qspinlock.c:405 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x217/0x280 kernel/locking/spinlock_debug.c:115 raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:545 raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] __schedule+0x2ed/0x40b0 kernel/sched/core.c:6477 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873 irqentry_exit+0x63/0x70 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:696 lock_acquire+0x20f/0x490 kernel/locking/lockdep.c:5666 fs_reclaim_acquire+0x94/0x100 mm/page_alloc.c:4736 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook+0x2a/0x310 mm/slab.h:710 slab_alloc_node mm/slub.c:3279 [inline] __kmem_cache_alloc_node+0x4f/0x260 mm/slub.c:3398 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc+0xa0/0x240 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x27e/0x540 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x58e/0x5d0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x1e3/0x600 security/tomoyo/file.c:723 security_file_ioctl+0x6c/0xa0 security/security.c:1568 __do_sys_ioctl fs/ioctl.c:864 [inline] __se_sys_ioctl+0x48/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 other info that might help us debug this: Chain exists of: console_owner --> &p->pi_lock --> &rq->__lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&rq->__lock); lock(&p->pi_lock); lock(&rq->__lock); lock(console_owner); *** DEADLOCK *** 5 locks held by syz.1.183/5417: #0: ffffffff8cf34bc8 (tomoyo_ss){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8cf34bc8 (tomoyo_ss){....}-{0:0}, at: srcu_read_lock include/linux/srcu.h:165 [inline] #0: ffffffff8cf34bc8 (tomoyo_ss){....}-{0:0}, at: tomoyo_read_lock security/tomoyo/common.h:1110 [inline] #0: ffffffff8cf34bc8 (tomoyo_ss){....}-{0:0}, at: tomoyo_path_number_perm+0x1b6/0x600 security/tomoyo/file.c:722 #1: ffffffff8ca16460 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: fs_reclaim_acquire+0x78/0x100 mm/page_alloc.c:4736 #2: ffff8880b8e3aad8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:545 #3: ffffffff8c92b120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #3: ffffffff8c92b120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #3: ffffffff8c92b120 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2284 [inline] #3: ffffffff8c92b120 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0xda/0x3b0 kernel/trace/bpf_trace.c:2324 #4: ffffffff8c91f3c0 (console_lock){+.+.}-{0:0}, at: _printk+0xcc/0x110 kernel/printk/printk.c:2328 stack backtrace: CPU: 1 PID: 5417 Comm: syz.1.183 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 check_noncircular+0x274/0x310 kernel/locking/lockdep.c:2170 check_prev_add kernel/locking/lockdep.c:3090 [inline] check_prevs_add kernel/locking/lockdep.c:3209 [inline] validate_chain kernel/locking/lockdep.c:3825 [inline] __lock_acquire+0x2cf8/0x7c50 kernel/locking/lockdep.c:5049 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662 console_lock_spinning_enable kernel/printk/printk.c:1818 [inline] console_emit_next_record+0x84c/0xc90 kernel/printk/printk.c:2774 console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x223/0x630 kernel/printk/printk.c:2906 vprintk_emit+0x489/0x680 kernel/printk/printk.c:2303 _printk+0xcc/0x110 kernel/printk/printk.c:2328 fail_dump lib/fault-inject.c:45 [inline] should_fail_ex+0x37a/0x4d0 lib/fault-inject.c:147 strncpy_from_user+0x32/0x350 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x6d/0x140 mm/maccess.c:186 bpf_trace_copy_string kernel/bpf/helpers.c:746 [inline] bpf_bprintf_prepare+0xba0/0x13d0 kernel/bpf/helpers.c:971 ____bpf_trace_printk kernel/trace/bpf_trace.c:384 [inline] bpf_trace_printk+0xd8/0x190 kernel/trace/bpf_trace.c:374 bpf_prog_7c77c7e0f6645ad8+0x35/0x37 bpf_dispatcher_nop_func include/linux/bpf.h:1012 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2285 [inline] bpf_trace_run2+0x1cd/0x3b0 kernel/trace/bpf_trace.c:2324 trace_contention_begin+0x142/0x190 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xdc/0x9c0 kernel/locking/qspinlock.c:405 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x217/0x280 kernel/locking/spinlock_debug.c:115 raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:545 raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] __schedule+0x2ed/0x40b0 kernel/sched/core.c:6477 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873 irqentry_exit+0x63/0x70 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:696 RIP: 0010:lock_acquire+0x20f/0x490 kernel/locking/lockdep.c:5666 Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b RSP: 0018:ffffc900032ff900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 5ae606976a2d6100 RDX: 0000000000000000 RSI: ffffffff8a6c1780 RDI: ffffffff8abef920 RBP: ffffc900032ffa10 R08: dffffc0000000000 R09: fffffbfff211904b R10: fffffbfff211904b R11: 1ffffffff211904a R12: 0000000000000001 R13: 1ffff9200065ff2c R14: 0000000000000246 R15: dffffc0000000000 fs_reclaim_acquire+0x94/0x100 mm/page_alloc.c:4736 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook+0x2a/0x310 mm/slab.h:710 slab_alloc_node mm/slub.c:3279 [inline] __kmem_cache_alloc_node+0x4f/0x260 mm/slub.c:3398 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc+0xa0/0x240 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x27e/0x540 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x58e/0x5d0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x1e3/0x600 security/tomoyo/file.c:723 security_file_ioctl+0x6c/0xa0 security/security.c:1568 __do_sys_ioctl fs/ioctl.c:864 [inline] __se_sys_ioctl+0x48/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0d01d8f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0d02bb7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0d01fe5fa0 RCX: 00007f0d01d8f749 RDX: 00002000000001c0 RSI: 00000000c0306201 RDI: 0000000000000003 RBP: 00007f0d02bb7090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f0d01fe6038 R14: 00007f0d01fe5fa0 R15: 00007fff69fc2498 CPU: 1 PID: 5417 Comm: syz.1.183 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 fail_dump lib/fault-inject.c:52 [inline] should_fail_ex+0x399/0x4d0 lib/fault-inject.c:147 strncpy_from_user+0x32/0x350 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x6d/0x140 mm/maccess.c:186 bpf_trace_copy_string kernel/bpf/helpers.c:746 [inline] bpf_bprintf_prepare+0xba0/0x13d0 kernel/bpf/helpers.c:971 ____bpf_trace_printk kernel/trace/bpf_trace.c:384 [inline] bpf_trace_printk+0xd8/0x190 kernel/trace/bpf_trace.c:374 bpf_prog_7c77c7e0f6645ad8+0x35/0x37 bpf_dispatcher_nop_func include/linux/bpf.h:1012 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2285 [inline] bpf_trace_run2+0x1cd/0x3b0 kernel/trace/bpf_trace.c:2324 trace_contention_begin+0x142/0x190 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xdc/0x9c0 kernel/locking/qspinlock.c:405 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x217/0x280 kernel/locking/spinlock_debug.c:115 raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:545 raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] __schedule+0x2ed/0x40b0 kernel/sched/core.c:6477 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873 irqentry_exit+0x63/0x70 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:696 RIP: 0010:lock_acquire+0x20f/0x490 kernel/locking/lockdep.c:5666 Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b RSP: 0018:ffffc900032ff900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 5ae606976a2d6100 RDX: 0000000000000000 RSI: ffffffff8a6c1780 RDI: ffffffff8abef920 RBP: ffffc900032ffa10 R08: dffffc0000000000 R09: fffffbfff211904b R10: fffffbfff211904b R11: 1ffffffff211904a R12: 0000000000000001 R13: 1ffff9200065ff2c R14: 0000000000000246 R15: dffffc0000000000 fs_reclaim_acquire+0x94/0x100 mm/page_alloc.c:4736 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook+0x2a/0x310 mm/slab.h:710 slab_alloc_node mm/slub.c:3279 [inline] __kmem_cache_alloc_node+0x4f/0x260 mm/slub.c:3398 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc+0xa0/0x240 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x27e/0x540 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x58e/0x5d0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x1e3/0x600 security/tomoyo/file.c:723 security_file_ioctl+0x6c/0xa0 security/security.c:1568 __do_sys_ioctl fs/ioctl.c:864 [inline] __se_sys_ioctl+0x48/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0d01d8f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0d02bb7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0d01fe5fa0 RCX: 00007f0d01d8f749 RDX: 00002000000001c0 RSI: 00000000c0306201 RDI: 0000000000000003 RBP: 00007f0d02bb7090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f0d01fe6038 R14: 00007f0d01fe5fa0 R15: 00007fff69fc2498 ---------------- Code disassembly (best guess): 0: 00 9c 8f 84 24 80 00 add %bl,0x802484(%rdi,%rcx,4) 7: 00 00 add %al,(%rax) 9: f6 84 24 81 00 00 00 testb $0x2,0x81(%rsp) 10: 02 11: 0f 85 f5 00 00 00 jne 0x10c 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 44 3d 00 00 00 movq $0x0,0x0(%r13,%r15,1) <-- trapping instruction 31: 00 00 33: 66 43 c7 44 3d 09 00 movw $0x0,0x9(%r13,%r15,1) 3a: 00 3b: 43 rex.XB 3c: c6 .byte 0xc6 3d: 44 rex.R 3e: 3d .byte 0x3d 3f: 0b .byte 0xb